Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've set up an ASP.NET MVC website in my local IIS 7 server.

It was working fine for a while, but suddenly it seems to be returning 503 errors at random intervals, for random requests.

If I browse to it in my web-browser, I'll sometimes get a 503, but times, the page will load, but resources referenced by the page, such as various images, stylesheets and scripts, will fail to load.

Which particular files load or don't load seems to be 100% random and arbitrary. I'm unable to detect any pattern at all.

It literally seems to reject requests whenever it feels like it.

I realize the information here is a bit scant, but can anyone give me an indication of what might be wrong?

(The only unusual thing which I did after setting up the website was to swap the port number on the binding of my website with the port number on the binding of the 'Default' website.)

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

Turns out that somehow my 'Connection Limit' setting had been set to 1.

Fixed this by opening IIS Manager, selecting the website, clicking 'Advanced Settings' (in the sidebar), expanding 'Connection Limits' and changing 'Maximum Concurrent Connections' to 10.

share|improve this answer
    
Excellent! I have been dealing with a problem with this for months now and finally found an answer. Thanks! –  Shawn Steward Mar 21 '12 at 21:10
add comment

To get a better understanding of why some requests fail with HTTP 503, you could set up Failed Request Tracing.

Add a rule matching status code: 503, and add all available providers.

If you don't use the Default Website for anything, just go ahead and remove it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.