Invalid temp directory in chart handler configuration

Sep 15, 2009 at 2:24 PM

I've installed the chartpart webpart and when i want to add it to my page i get this error:

Invalid temp directory in chart handler configuration

The temp directory is the default one: c:\tempImageFiles and i gave "Everyone" full control.

What went wrong here? Can anyone help me figure this out?


Thx in advance!





Sep 15, 2009 at 3:09 PM


have you installed the MSChartControls.wsp and activated it on your web app?


Sep 29, 2009 at 12:44 PM

or better you can remove the dir attribute altogether.

You can replace you existing ChartImageHandler with the following entry :

<add key="ChartImageHandler" value="storage=file;timeout=20;" />

That should resolve the problem.

Sep 30, 2009 at 10:33 PM

Where is this value being held?  I've deployed both features and I'm getting the error about the invalid temp directory as well.

Oct 12, 2009 at 12:41 PM

Thanks, sandyiit! This solved the problem