Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
i have done asp.net charts 4.0. i am upload the website all the pages ixwebhosting. i am getting error like this

"Invalid temp directory in chart handler configuration [c:\TempImageFiles\]."


can u tell me what is the error.
Posted
Updated 6-Dec-11 0:40am
v2

1 solution

Have a look here

http://stackoverflow.com/questions/2660606/asp-netinvalid-temp-directory-in-chart-handler-configuration-c-tempimagefiles[^]

c:\TempImageFiles doesn't exist, or you don't have access to it (you wouldn't in a shared hosting environment). You need to specify a directory that is valid within the hierarchy of your directory structure for

Read through the steps in the answer I linked to
 
Share this answer
 
Comments
kumar2233 6-Dec-11 7:03am    
in my local system chart program is working properly but i upload this program in "IXWebHosting" . error is came. i dont put any tempimgfiles but program is working
Dylan Morley 6-Dec-11 7:36am    
Right, so when you upload to IXWebHosting, you don't have access to c:\TempImageFiles\, it's forbidden.

When you run locally, you *do* have access - so it works OK.

Steps 1-4 in the link explain
kumar2233 7-Dec-11 1:09am    
hi Morley,
in my solution explorer , i have add new folder "TempImages". in "TempImages" folder i add temp.txt file is create. i upload IXWEBHosting in a site.I am getting error like this "invalid folder in tempimages". in temp.txt what content i put the file temp.txt.
Dylan Morley 7-Dec-11 4:00am    
Have you added the app settings key? that's the most important bit,

[add key="ChartImageHandler" value="Storage=file;Timeout=20;Url=~/tempImages/;"/]

If you're still unsure, refer to this article

http://www.4guysfromrolla.com/articles/081909-1.aspx
kumar2233 7-Dec-11 4:46am    
yes i added appsettings. in solution explorer i add new folder "TempImages" and folder contains temp.txt is a empty file. i upload this file in ixwebhosting. after I am getting error like this "invalid folder in tempimages". in temp.txt what content i put the file temp.txt.

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