Gauge image missing seemingly randomly

Not Answered This post has 0 verified answers | 48 Replies | 8 Followers Thread's RSS feed.

Points 195
Replied On: Tue, Nov 11 2008 6:50 PM Reply


 I am using a number of gauges in a dashboard set up ( 2.0, IGv8.1) and occasionally a gauge will not show up when the page loads.  If I refresh the page the gauge then shows.   My deployment scenario is as follows:

        UltraGauge1.DeploymentScenario.ImageType = GaugeImageType.Png;
        UltraGauge1.DeploymentScenario.DeleteOldImages = true;
        UltraGauge1.DeploymentScenario.Mode = ImageDeploymentMode.FileSystem;
        UltraGauge1.DeploymentScenario.ImageURL = "~/images/SalesForce/Gauges/TargetKpi/Gauge_#CLIENT_#SESSION.#EXT";
        UltraGauge1.DeploymentScenario.FilePath = "~/images/SalesForce/Gauges/TargetKpi";

 The image url on the initial page load is:


And then when I refresh the page it is:


You can see how the timestamp (I'm guessing that's what "t" is) has changed slightly.  This behaviour happens both locally, and when my site is deployed on a server.  I'd say about 95% of the time the gauge image appears correctly, and the other 5% I need to refresh the page.  I don't think an image has ever failed to load for me on refreshing.

Any help on this would be greatly appreciated.





  • Post Points: 65

All Replies

Points 45
Replied On: Fri, Feb 19 2010 7:49 PM Reply

I am using v9.1 and still have the same problem with the red x or missing image file.  If I get the image file name and look in the GaugeImages folder I can see the file does not exist?  Where did it go?  Is it not being created for some reason?


  • Post Points: 5
Replied On: Tue, Mar 2 2010 12:34 PM Reply

first of all, to the OP, i'm sorry that your message was somehow overlooked, and I hope you got an answer to your question back in 2008.

now, as to why the images are not getting generated - do you see anything in the Event Log on your web server?  do you notice that the ASP.NET worker process gets restarted at the same time that this happens?  Does it still happen if you set DeploymentScenario.DeleteOldImages = False?  And are you using single web servers, or a web farm?

There isn't a single known cause for this problem, but the above questions could provide us with some clues to diagnose what is happening.

  • Post Points: 20
Points 45
Replied On: Tue, Mar 2 2010 1:30 PM Reply

We are NOT currently setting DeleteOldImages to False or True.  Does it have a default?  Perhaps it is set to True by default?

I notice this DeleteOldImages is only on the Gauge and not the Chart.  We never seem to have this image probelm on the Charts.

We index our file names with 0 to 999 and then rollover.  We never delete any files.  We are just overwritting the files. 

We are running on a single web server.  I do not see any errors in the Windows Event logs.  I am also not sure if the ASP.NET worker process is restarting or not.  What would cause this to restart and how can I tell?

Thanks for your help.


  • Post Points: 20
Replied On: Thu, Mar 11 2010 4:46 PM Reply

DeleteOldImages is set to True by default.  Based on your other answers, I suspect that setting it to False will resolve the problem.

As for the ASP.NET worker process, it sometimes restarts itself if the memory usage gets too high, or crashes unexpectedly.  In XP, this happens under the aspnet_wp.exe process.  In Windows Server, Vista, and Win7, this happens under the W3WP.exe process.  you can monitor the number of ASP.NET application restarts using the system performance monitor (Start > Run > perfmon).


  • Post Points: 20
Replied On: Thu, Mar 11 2010 5:39 PM Reply

Worker process can also shutdown after an amount of idle time has passed. All of these values are configurable in the IIS settings. In general, don't count on the process remaining alive between requests.

  • Post Points: 20
Points 20
Replied On: Tue, Oct 11 2011 2:13 PM Reply

We have this same issue with UltraWebGauge.v10.3 with ASP.NET 4.0. We have a aspx page with many usercontrols. Each contains either a chart, grid, gauge, chart with a grid, or gauge with a grid. We allow for several different types of charts or gauges per usercontrol. The gauges are built with presets. On this aspx page each usercontrol is wrapped with an updatepanel.

We use the default DeploymentScenario for filesystem. We only supply a path, type, and URL.

We use viewstate on the page and usercontrols. 

One thing to mention is that the image for the gauge that follows the failed gauge is showing in the failed ones place along with where it should.

The charts seem to display consistantly.

As this can happen on back to back postbacks within seconds apart on my local development machine, I would not suspect the cycling of ASP.NET.

While stepping through with a debugger, no exceptions were thrown.

NOTE: We had also attempted without the updatepanel wrapping of each usercontrol with a gauge, but with the same results

  • Post Points: 20
Replied On: Wed, Oct 19 2011 1:04 PM Reply

We have this same issue with UltraWebGauge.v10.3 with ASP.NET 4.0

are you using the latest service release?  a fix was applied in February which might be related to this problem.

  • Post Points: 20
Points 210
Replied On: Tue, Apr 17 2012 5:07 AM Reply


I am aslo getting the same issue images are comming intermittently, is there any fix available?




  • Post Points: 20
Replied On: Tue, Apr 17 2012 10:43 AM Reply

If you are using a build after February 2011, you should have the latest available fix related to this area.  Are you using file system or session based image deployment?

  • Post Points: 20
Points 210
Replied On: Wed, Apr 18 2012 12:18 AM Reply


I am using the file system based image deployment,
is there any thing i can change into the code which will resolve the issue?,
below are the assemblies  i am using,


And i am creating the gauge control dynamically


UltraGauge ultraGauge1 =
new Infragistics.WebUI.UltraWebGauge.UltraGauge();
ultraGauge1.ID = id;


Anurag Sharma





  • Post Points: 20
Replied On: Wed, Apr 18 2012 10:49 AM Reply

You should be fine with those assemblies.  Are you getting missing images or duplicate ones?  What happens when you directly browse to the url which shows up as a broken image link?  Are the images being copied to your file system at all?

  • Post Points: 20
Points 210
Replied On: Thu, Apr 19 2012 12:07 AM Reply

I am getting missing images, these are copied into the filesystem when browse form direct URL then these images displays,

Below is the grid where dymanically createg gauge control displays

  • Post Points: 5
Points 210
Replied On: Thu, Apr 19 2012 12:46 AM Reply

The name of gauge is too long can it be the reason for this, Can i remove the below red highlighted text from the image name

  • Post Points: 5
Points 210
Replied On: Thu, Apr 19 2012 1:22 AM Reply

red highlighted is my session id so that can be removed please suggest on previous post

  • Post Points: 20
Replied On: Thu, Apr 19 2012 9:47 AM Reply

Yes, you could safely remove the Session ID from the filename.

  • Post Points: 20
Page 3 of 4 (49 items) < Previous 1 2 3 4 Next > | RSS