Azure webrole does not start, receiving 500 errors, cannot read configuration file: applicationHost.config

I just share this if someone else is facing the same problem. When updating links to Azure in response to forced guestOS updates 09/12/2013 (which turned off our production cloud)

If you diagnose why the web role did not start to emulate the azure cloud locally, you can check the event viewer, and in Windows Logs β†’ Application look for the IIS Express error ... I was getting this:

Workflow for application pool "5665782e-ae77-4547-8cc2-3a7b3357602d" encountered an error "Cannot read configuration file 'trying to read global module configuration data from file' \? \ C: \ Users \ Mark \ AppData \ Local \ dftmp \ Resources \ 633952fb-10b8-4b96-b732-ad19eb835438 \ temp \ temp \ RoleTemp \ applicationHost.config ', line number' 0 '. The workflow was aborted.

It turned out that after updating the azure links using the NuGet package manager, the entries for the membership provider, role provider and session state were duplicated. We do not use default values ​​for these attributes, so this may be the cause of the problem ...

Nevertheless, check your web.config for duplicate attributes. This is one of the potential reasons for your non-claiming web role.

+7
azure localhost
source share

No one has answered this question yet.

See related questions:

10
Random Azure php webrole 500 error during deployment
8
Exception when using Windows Azure caching: this host is not known
5
Diagnostic configuration for Azure Deployment causes an error
5
Azure - Crash on startup with multiple web role projects
3
Creating a virtual machine in Azure also creates a cloud service
2
Errors when packing an Azure project if Content SourceDirectory contains similar files
2
Java non-web deployment in Azure
2
Can Microsoft Private Cloud provide Web / Worker roles?
one
Read / write temporary files as azure worker
0
Azure Wordpress PHP Worker Role Quits immediately after launch, following the azure sdk for php wordpress scaffold

All Articles