Dundas Charts on IIS7

Unfortunately deploying your Dundas Charts solution to an IIS7 environment is slightly different than IIS6, mainly due to the new Integrated Mode which is turned on by default in IIS7. To use your chart handler in IIS7 you’ll need to either switch your IIS mode to Classic or use the following web.config setting:

  1. <add name="ChartAxd.axd" path="ChartAxd.axd" verb="*" preCondition="integratedMode" type="Dundas.Charting.WebControl.ChartHttpHandler" resourceType="Unspecified" />

This goes inside your handlers node which is in  System.WebServer. The system.webserver node is a new configuration section specifically for IIS7. For more details on what the web.config should look like and some background…check out this link:

Getting Dundas Charts to Work in IIS 7

3 Comments

  1. Bala says:

    Thank you so much for the post, it helped us a lot.

  2. Richard says:

    One thing – you need to add the new IIS7 syntax to system.webserver, while still leaving the old IIS6 syntax in place in system.web. For some reason they both need to be there. Took me hours to stumble across that solution.

  3. Richard says:

    Forgot to say – thanks for this blog entry, it set me on the right path.