Hi,
I have a an ASP.Net website (not web application) which I had deployed to Azure using the Azure 1.4 SDK using cspack and uploading using the Azure Management portal which it works fine. Once I try to use the 1.6 SDK however the role fails to start saying
"unhandled exception" but it will run fine in the 1.6 compute emulator.
Checking the windows logs using Remote Desktop I can see a problem with WAS from the warning message
"The application '/' belonging to site '1' has an invalid AppPoolId 'DefaultAppPool' set. Therefore, the application will be ignored."
followed by
"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."
later similar warnings look like this
The application '/' belonging to site '32210681' has an invalid AppPoolId 'c7153dc3-5149-4678-85f7-fcd1006e5310' set. Therefore, the application will be ignored.
I looked at IIS too at the site doesn't seem to be created there at all but it does exist in the file system.
This is my config
<?xml version="1.0" encoding="utf-8"?>
<ServiceDefinition name="[XXX]" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition">
<WebRole name="[XXX]" vmsize="ExtraSmall">
<Sites>
<Site name="[XXX]" physicalDirectory=".\[XXX]">
<Bindings>
<Binding name="Endpoint1" endpointName="Endpoint1" />
</Bindings>
</Site>
</Sites>
<Endpoints>
<InputEndpoint name="Endpoint1" protocol="http" port="80" />
</Endpoints>
<Imports>
<Import moduleName="Diagnostics" />
<Import moduleName="RemoteAccess" />
<Import moduleName="RemoteForwarder" />
</Imports>
<Certificates>
</Certificates>
</WebRole>
</ServiceDefinition>
I have also tried creating a default website and the same configuration using Visual Studio with the same results.
Thanks for any help.
John.