Wednesday, January 23, 2013

(Solved) Error: Invalid temp directory in chart handler configuration [c:\TempImageFiles\]

Solution for this error is,
  • Go the the Web.config file in your ASP.NET application
  • Navigate to the below line
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;">
</add>
  • Just remove the dir element from the add attribute like below
<add key="ChartImageHandler" value="storage=file;timeout=20;">
</add>
  • Publish your app.

2 comments:

  1. Another error occurred---> The temp directory in chart handler configuration is not accessible [C:\inetpub\wwwroot\SSTS\].

    ReplyDelete
  2. Thanks for the solution after removing dir=c:\TempImageFiles\;">, it work for me.

    ReplyDelete