Loading...

Knowledge Base
Categories:

Getting MSChart Controls Working at Arvixe

Share

Getting MSChart controls working with your Arvixe Windows hosting account.
 

1) Ensure your website's application pool is set to 4.0 (Intergrated)
2) Get all the correct code into web.config

.... {OTHER Web.config code here}

<system.web>
<httpHandlers>

<add path="ChartImg.axd" verb="GET,HEAD,POST"
type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler,
System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" validate="false" />

</httpHandlers>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</controls>
</pages>

.... {OTHER Web.config code}

<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<handlers>
<remove name="ChartImageHandler" />

<add name="ChartImageHandler" preCondition="integratedMode"verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

</handlers>

<validation validateIntegratedModeConfiguration="false" />
<directoryBrowse enabled="false" />
</system.webServer>
</configuration>

3) Use the correct path for your MCC temp folder. An example of this would look like this --

<appSettings>
<add key="ChartImageHandler" value="storage=file,timeout=100;dir=E:\HostingSpaces\Chaz99RKP\swampdog.com\wwwroot\TempChartFold\" />
</appSettings

3.) Ensure your application has write permissions on the domain.
Login to your Arvixe control panel, click on websites, then the domain you are working on. On the home tab ensure write permissions are checked.

Any problems/questions, please don't hesitate to contact Arvixe support.

**A special thanks to Dan Swanson for working through this for us.**

Did you find this article helpful?

 
* Your feedback is too short

Loading...