web.config not updated when deploying

Jun 25, 2009 at 9:49 AM

I deployed the chartpart to one web application without problems, but when i deployed it to another web application the web.config did not update and i received an error when configuring the webpart about not finding the folder to put the chart images in.

I looked at the other web.config and manually inderted this to get it working:

Under   <httpHandlers>
<add verb="*" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35" validate="false" />

and at the bottom of the web.config added:
<appSettings>
<add key="ChartImageHandler" value="storage=memory;timeout=20;" />
</appSettings>

Regards
Alexander

Coordinator
Jul 5, 2009 at 11:29 PM

Did you activate the MSChartControls at the Web Application?

/WW

Jul 6, 2009 at 7:00 AM

Well... no i forgot that.

Thanks again.

Regards
Alexander