Friday, January 23, 2009

Event ID: 1088 ASP.NET 2 Failed to execute request because the App-Domain could not be created.Error: 0x80070005 Access is denied.

Hi,

Today there was a Dotnet Issue on one of our servers

The System: Windows 2003 SP2, iis6, Dotnet 1.1, 2.0 sp1, 3.0 sp1, 3.5

Application was Dotnet framework 2.0 based

The Error: 

Event ID:1088 Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied.  


IE 7 Displayed Error

Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable.
Please hit the "Refresh" button in your web browser to retry your request

tried following:

1) Reinstalling Dotnet 2.0

2) Reinstall IIS

3) Gave read permissions to the folder for following accounts, ASP.NET, Network Service, IIS_WPG, 

4) run the following command to re register aspnet settings 

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis /i

restarting IIS every after every change i made and five minutes to see if anything did any miracle... 

but nothing solved the issue, 

I also fiddled around with machine.config and web.config... good i had taken backup of both the files... as my R&D distroyed the sites functioning...;) Always backup first you will thank yourself for this...

again looking at everything from scratch, and scratching my head it clicked me......

I created new Application Pool and a new User Dotnet gave full permission to the Folder to this DOTNET user and gave credentials into the Application Pool's identy, restarted IIS and the site was UP and running again.

hope this helps someone...

 

No comments:

Post a Comment

Recent Posts

Upgrade Azure ADsync 1.6 to 2.3

 After a very long break, posting in new blog on upgrading ADsync to latest version. I was having version 1.6.4 running and doing its job we...