Getting MSChart controls working at Arvixe
Posted by on 12 June 2013 02:17 PM

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.**

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).