2
votes

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).

2
Probably a file system level permission problem: support.microsoft.com/en-us/kb/942055 (second table row) - mshthn
Thanks Laszlo, but that appears to be a different error. - Nick B

2 Answers

2
votes

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.

0
votes

I changed the custom account to "Logon as a batch job" and all is now working.