glutz
glutz

Reputation: 1959

Service available in Visual Studio but not via IIS

I seem to occasionally see issues in my development environment where a SOAP service is available and working fine when started via Visual Studio (2012). But in IIS 7 it is not accessible at all. It returns a 503 error which seems useless. i cant really even debug in this state. i cant even do a directory browse from IIS when browsing is enable.

I'm looking to understand what could cause this inconsistent behavior. What might i try to further analyze the problem?

Upvotes: 1

Views: 105

Answers (1)

Dai
Dai

Reputation: 155015

IIS Error 503 is often caused by an Application Pool misconfiguration, such as an incorrect User Identity. When you run your service from VS it will run in VS's own hosting process or maybe IIS Express, but when you use the full IIS server it will run in a different Application Pool process, so this is where the problem lies - it also explains why nothing else seems to be working in that website for you.

Upvotes: 1

Related Questions