Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
WebGauge crashing
posted

We have a website with 6 gauges that refreshes every 5 mins. After running for a few hours we get these errors. Tried playing with the deployment options with no luck. Can anybody help?

Server Error in '/ePerf2' Application.

  _____  

 

 

The process cannot access the file 'C:\inetpub\wwwroot\web1\RT2\GaugeImages\UltraGauge4_ewbeqv1e1m55r5grb1lknux0_0.png' because it is being used by another process.

 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.IO.IOException: The process cannot access the file 'C:\inetpub\wwwroot\ePerf2\RT2\GaugeImages\UltraGauge4_ewbeqv1e1m55r5grb1lknux0_0.png' because it is being used by another process.

clsGauge.DeploymentScenario.ImageType = Infragistics.UltraGauge.Resources.GaugeImageType.Png

        clsGauge.DeploymentScenario.DeleteOldImages = False

        clsGauge.DeploymentScenario.Mode = Infragistics.UltraGauge.Resources.ImageDeploymentMode.FileSystem

        clsGauge.DeploymentScenario.ImageURL = "GaugeImages/#CLIENT_#SESSION_#SEQNUM(1000).#EXT"

Parents
No Data
Reply
  • 49378
    posted

    Hi hadihadi,

    Thank you for posting in the community and apologies for the delayed response.

    As the message you have provided suggests, the issue is probably caused by more than one process attempting to access the same file simultaneously. For the sake of testing I suggest that you try setting DeleteOldImages deployment property to true. Is the issue occuring always for the same gauge (i.e. UltraGauge 4). Any information or samples illustrating the scenario would be extremely appreciated and will help to replicate and isolate the matter.

    Please feel free to contact me if you have any questions.

Children