I can debug my application fine but if I debug the Azure project, it loads the compute and storage emulators, loads the browser and goes to 127.0.0.1:81 and then I get the error:
Description: An error occurred during the processing of a
configuration file required to service this request. Please review the
specific error details below and modify your configuration file
appropriately.Parser Error Message: An error occurred loading a configuration file:
Access to the path ‘C:\Users\Projects\Web\views\web.config’ is denied.
I am using November 2011 Azure SDK and Visual Studio 2010 SP1 in admin mode with IIS7.
If I publish the website to Azure then everything works fine, it’s just a debugging issue.
EDIT
Ah, it needs to be running under C:\inetpub\wwwroot to debug the Azure project. How can I get it to work outside of that directory?
When debugging the web project I was using Cassini. When debugging Azure it uses IIS.
I had to add the user account of NETWORK SERVICE to my solution files.
To access the local database when debugging Azure locally, the database needs the user NETWORK SERVICE adding to it.