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
Create the folder manually.