Home > Windows Azure > Windows Azure migration – The application ‘/’ belonging to site has an invalid AppPoolId

Windows Azure migration – The application ‘/’ belonging to site has an invalid AppPoolId

We are working on a migration project an asp.net web site to be migrated to Windows Azure. In the process, we added a cloud project in the solution and added ASP.Net Web Site as a web role. After setting the other Azure related stuff when we tried running the solution (Cloud Project) got a weird error as below :

After spending a good amount of time in validation web.config, assemblies and even restarting the Azure Emulator we couldn’t fix this, still the same error.

In the event viewer saw following warnings:

A process serving application pool ‘249f00d5-fd0c-4d07-848b-3dd39e5a824b’ terminated unexpectedly. The process id was ‘7860’. The process exit code was ‘0xfffffffe’.

 

Site 1273337584 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.

 

The application ‘/’ belonging to site ‘1273337584’ has an invalid AppPoolId ‘249f00d5-fd0c-4d07-848b-3dd39e5a824b’ set.  Therefore, the application will be ignored

Seemed like something wrong with AppPool or at least in Deployment.

After disabling the Web Deployment Package Settings for the Web Site project we could resolve this problem.

Right click on the ASP.Net Web Site project go to properties and from Package/Publish Web tab disable check box  Create deployment package as a zip file  as indicated below.

After disabling the Web Deployment Package Setting, the project worked like a charm.

It took us couple of hours to resolve this, hope to save some of your time.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s