I know this is probably one of the most common Windows Azure deployment questions, but it's been troubling me for three to four days now and I can't seem to find the root of the cause. The cloud service deployment constantly restarts and recycles itself.
When I remote into the VM, I only see two Warnings (with Source "Microsoft-Windows-WAS") in the IIS Manager:
[ID: 5048] The application '/' belonging to site '1' has an invalid AppPoolId 'DefaultAppPool' set. Therefore, the application will be ignored.
This is followed by:
[ID: 5056] Site 1 was disabled because the root application defined for the site is invalid. See the previous event log message for information about why the root application is invalid.
I've tried IntelliTrace but nothing helpful nor conclusive can be obtained in the short time that the web role is alive; under the Sites folder in IIS Manager there is nothing to be found. This is baffling me; I thought it was an SDK dependency mismatch so I went ahead to uninstall everything save for Windows Azure SDK 2.1, but the problem persists.
Debugging in the full compute emulator seems to return no issue, however.
Hope someone around here can help me out here... I'm desperate!!