Monday, 9 November 2009

How do you get rid of "Failed to execute request because the App-Domain could not be created. Error: 0x80131902" event log error?

Failed to execute request because the App-Domain could not be created. Error: 0x80131902

Once I had got rid of the 403 forbidden error in the previous post I thought it was all systems go again, alas no! : ( lol.

No, I started to get a 'system was unable to deliver your page' or something similar which unfortunately I had not taken a note of, but the error message in the browser stated to look at the event log for complete details. The message I found was listed above - so what the heck do you need to do to get rid of this?

I should have realised but the problem probably stemmed form the fact I had only just installed IIS, and the .net framework was installed sometime before it. You need to re register the .net framework under IIS using:

Stop your IIS, either control panel or "net stop w3svc" via command prompt
(Use the Visual Studio command prompt to get the necessary paths setup to run the aspnet_regiis tool)
Use aspnet_regiis -ua - which will uninstall all the instances of .NET against your IIS
Then use aspnet_regiis -i to install the services again.
Start your IIS again, control panel or "net start w3svc"

Hopefully you are now away again....

No comments:

Post a Comment