Dundas Data Visualization Support Site
Dundas Support Site Home  |  Contact Us  |  Dundas Data Visualization  
Contact Us via Email
Home

Registering the HTTP handler manually

 

When using Dundas Chart or OLAP Services for ASP.NET (VS2005) or Dundas controls for SharePoint, we intend for temporary data to be managed by the HTTP handler. This helps avoid "Access to the path … is denied" exceptions, and also enables Dundas Chart's rich AJAX capabilities. If the HTTP handler has not been registered automatically, follow these steps.

If you are running IIS version 7 or newer (on Windows Vista, or newer versions of Windows), please refer to additional details in this article after registering the HTTP handler as described below.

Dundas Chart for ASP.NET

To register the HTTP handler:

  1. Open your application's web.config file (or create one).
  2. Between the <configuration> … </configuration> and <appSettings></appSettings> tags, add:
    <add key="ChartHttpHandler" value="Storage=memory;Timeout=180;Url=~/temp/;"/>
  3. Between the <configuration></configuration>, <system.web></system.web> and <httpHandlers></httpHandlers> tags, add:
    <add path="ChartAxd.axd" verb="*" type="Dundas.Charting.WebControl.ChartHttpHandler"
        validate="false" />

To see what this looks like and for more information, see "Image File Management" in our documentation. If you are using a web garden in IIS 6 or newer or a web farm, note that additional special considerations need to be made.

Dundas Chart - OLAP Services Extension for ASP.NET

To register the HTTP handler:

  1. Open your application's web.config file (or create one).
  2. Between the <configuration> … </configuration> and <appSettings></appSettings> tags, add:
    <add key="ChartHttpHandler" value="Storage=memory;Timeout=180;Url=~/temp/;"/>
  3. Between the <configuration></configuration>, <system.web></system.web> and <httpHandlers></httpHandlers> tags, add:
    <add path="OlapChartAxd.axd" verb="*" type="Dundas.Olap.WebUIControls.ChartHttpHandler"
        validate="false" />

Dundas Chart and Dundas Gauge for SharePoint

Important Information Making changes to your web.config file can affect the entire SharePoint site, so make changes carefully and be sure to back up the file before modifying it.

Each SharePoint application running with its own port number has its own web.config file. Please find the appropriate ones on your server in C:\inetpub\wwwroot\wss\VirtualDirectories\Port #. For each web.config file:

  1. Back up the file, then open it in a text editor.
  2. Between the <configuration></configuration> and <appSettings></appSettings> tags, add one or both of the following, corresponding to Chart or Gauge:
  3. <add key="ChartHttpHandler" 
        value="Storage=memory;Timeout=180;Url=~/temp/;"/>
    
    <add key="GaugeHttpHandler"
    	value="Storage=memory;Timeout=180;Url=~/temp/;"/>
  4. Between <configuration></configuration>, <system.web></system.web> and <httpHandlers></httpHandlers> add one or both of:
    <add  verb="*" path="SharePointChartAxd.axd"
        type="Dundas.Charting.WebControl.ChartHttpHandler, Dundas.SharePoint.Charting.WebParts, Version=1.0.0.0, Culture=Neutral, PublicKeyToken=fab2f7696049aaca"
    	validate="false" /> 
    <add verb="*" path="SharePointGaugeAxd.axd"
        type="Dundas.Gauges.WebControl.GaugeHttpHandler, Dundas.SharePoint.Gauge.WebParts, Version=1.0.0.0, Culture=Neutral,PublicKeyToken=e03b34b7d086c04c"
        validate="false" />
PoorExcellent