Reputation: 31
I am trying to deploy an ASP.NET application on Windows Server 2012 (with IIS 8) but I'm getting an http error 503 when using the ApplicationPoolIdentity or a custom account, but not with NetworkService.
In order to narrow down the problem I set up a simple one page html application under the Default Web Site. This exhibits the same behaviour. I've given the custom account and the application pool identity full permissions on the application folder(s).
I've also checked the Windows event log and get this error: the worker process failed to initialize correctly the data is the error. 05000780. The application pool is stopped each time I try to browse the site (using applicationpoolidentity).
Upvotes: 2
Views: 1158
Reputation: 31
I changed the custom account to "Logon as a batch job" and all is now working.
Upvotes: 0
Reputation: 17909
Have you made sure that the filesystem location has permissions for the user that you're trying to use?
NetworkService often has the correct permissions, but a new account most likely won't.
Upvotes: 2