c# - asp.net : Invalid temp images directory in chart handler configuration [C:\Users\user1\Documents\Visual Studio 2010\WebSites\Website1\] -
i getting error invalid temp directory in chart handler configuration [c:\users\user1\documents\visual studio 2010\websites\website1].
intially getting no http handler found request type ‘get’ error solved.
but getting above error.
here web.config,
<?xml version="1.0"?> <!-- more info on how configure asp.net application, please visit http://go.microsoft.com/fwlink/?linkid=169433 --> <configuration> <appsettings> <add key="chartimagehandler" value="storage=file;timeout=20;" /> </appsettings> <system.webserver> <handlers> <add name="chartimg" verb="*" path="chartimg.axd" type="system.web.ui.datavisualization.charting.charthttphandler, system.web.datavisualization, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35" /> </handlers> </system.webserver> <system.web> <compilation debug="true" targetframework="4.0"> <assemblies> <add assembly="system.web.datavisualization, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> </assemblies> </compilation> <authentication mode="none" /> <authorization> <allow users="*" /> </authorization> </system.web> </configuration>
let me know doing wrong.
thanks.
i had same problem , tried , nil worked. till found out can utilize memory it
so need change:
<appsettings> <add key="chartimagehandler" value="storage=file;timeout=20;"/> </appsettings>
to
<appsettings> <add key="chartimagehandler" value="storage=memory;timeout=20;"/> </appsettings>
then store image in memory.
c# asp.net mschart
No comments:
Post a Comment