Thursday, April 7, 2011

Azure dev fabric "Invalid directory in handler configuration" on 32bit machine

Cause:
This type of error can be for any invalid directory due to an empty folder in your web role project.  When your cloud project is your start up project it makes a “lets say…copy” of you web role project to the bin directory of the cloud project.

In our case the asp.net charting temp folder is empty, so it does not create the temp folder in the bin when ran, thus resulting in this error.

This has something to do with the mixture of the following:
·         32bit machine
·         Read only access when ran
·         The empty folder
·         And a handler in your web.config with a specified folder location

Solution:
Create the folder manually.