I am getting this error
Invalid temp directory in chart handler configuration [c:\\TempImageFiles\\].
While running my code.
Intially I was getting
Do the followings
1) Add or Edit the following key in web.config.
2) Give writing privilages to IIS_User to this directory, for that do the followings:
a) Go to Windows Explorer.
b) Right click on c:\TempImageFiles Folder.
c) click Properties.
d) Select security tab , click Edit, click Add , Click Advanced, search for IIS_User.
e) Add this IIS_User , give write permission to this user.
f) Save and Close.
Now you have set the directory and given write permission to IIS to write temporary image files to this folder.
It should work now.