Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

today i have created a chart on webpages for first time just for learning purpose.

when i execute the program on my local system it was working fine. and when i host the webpage on to the server it give me an error.

i am not able to figure out the cause of the problem.

kindly check the below link to understand the error.

www.gnblower.somee.com

please help me in rectifying this error so that i could use these types of charts in my projects going forward.
Posted
Comments
[no name] 8-Aug-13 6:56am    
I guess there is a physical path problem. Is your application based on classic asp or ASP.NET? There might be some issue with the application pool too.
Dholakiya Ankit 8-Aug-13 7:03am    
i think first of all do custom errors off so you can get where you stuck
jonlink01 8-Aug-13 9:07am    
Hi Patro, this application is based on asp.net with c#
jonlink01 8-Aug-13 9:15am    
Hi Ankit, i had off the custom error. please advice what shall i do next

I found solution to my problem myself.

in the web config

I changed below line:
XML
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />

to
XML
<add key="ChartImageHandler" value="storage=file;timeout=20;" />
and my problem get resolved.
Any ways Thank you everyone for help me and showing interest in solving my problem.
 
Share this answer
 
v3
Comments
[no name] 8-Aug-13 9:32am    
Its great u got the solution of your own. (clap)(Y)
try to add this section in your web.config

XML
<system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
</system.webServer>
 
Share this answer
 
Comments
jonlink01 8-Aug-13 9:08am    
Hi Trushnak,

i tried your solution but its not resolving my problem.
Or change application pool to classic (from integrated).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900