First error message: Invalid temp directory in chart handler configuration c:\TempImageFiles\
Solution: Changed dir in ChartImageHandler app settings in web.config
1
2
3
|
< appSettings > < add key = "ChartImageHandler" value = "storage=file;timeout=20;dir=c:\TempImageFiles\;" /> </ appSettings > |
Then this error message: The temp directory in chart handler configuration is not accessible c:\xxx\images\
Followed error message suggestion and added access rights to directory (Properties – Security tab) for user NETWORK SERVICE
[Update: Other error message that can appear:
a) “Access to the path ‘C:\xxx\images\charts\chart.png’ is denied.” – this is the same as above, add rights for NETWORK SERVICE
b) “Could not find a part of the path ‘C:\xxx\images\charts\chart.png’.” – make sure directory exists or create it]
ConseQuently,make sure directory exists or create it.