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"