Please or Register to create posts and topics.

Error: Invalid temp directory in Chart Handler Configuration

After installation, in the home page you sometimes get this error:

Error: Invalid temp directory in Chart Handler Configuration [c:\TempImageFiles]

This can happen because of various reasons:

  1. The temporary chart folder is not accessible
  2. There are multiple installation of OfficeClip on the same machine and the chart folder is locked by one of them

To fix this try one of the following:

  • Make sure that the folder is accessible and has adequate permission for ASP.NET user (Network Service user in Windows Server 2003 and higher)
  • In the web.config (located at c:\program files\officeclip\8\officeclip for default installation), look for the ChartImageHandler key and try changing it to something like:
    <add key="ChartImageHandler" value="storage=file;timeout=20;dir=D:\TEMPDUMP\;"/> and make sure that you have the folder d:\tempdump and it has adequate permission for ASP.Net process to write to this folder.

Note: Always make backup copy of web.config before changing anything.

I have noticed in Windows 7 Professional whatever you do it shows the same error. In that case it is a good idea to create a folder on your C: drive called TempImageFiles at the root level and give full permission to ASP.Net account.

Vijay