Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What might cause a 503 Service Unavailable for reports area of an asp.net mvc3 application?

We're switching our MVC3 application from IIS 6 to 7.5. I'm working on setting up my local development environment on Windows 7. The app works fine for the most part, but I just discovered that ONE out of the many different MVC Areas I have doesn't work.

When I try hit an action under this area, I get a 503 Service Unavailable error back. This does not happen anywhere else in my application.

  • There is only one application pool for the whole website.
  • MVC 3
  • .Net 4.0
  • 64 bit
  • Failed request tracing doesn't see these requests.
  • There is nothing relevant in the Windows application or system logs.
  • The area works fine under visual studio 2010 cassini, problem happens when I run it under local iis 7.5 (not express)
  • App pool isn't crashing or otherwise stopped
  • There's nothing in my ELMAH log
  • Everyone full control on entire tree in the filesystem security
  • The url is http://localhost/reports

I'm totally stumped. I can't find any evidence that IIS is even getting the request at all. Is there some other log file beside the ones I listed?

[Update] Is there any way to view the http.sys URL reservations? I have found some talk about SQL Reporting services calling dibs on /Reports url.

like image 974
Craig Quillen Avatar asked Nov 15 '11 16:11

Craig Quillen


People also ask

What causes 503 service temporarily unavailable?

A 503 Service Unavailable error means that the page or resource is unavailable. There are many reasons why a server might return a 503 error, but some common reasons are maintenance, a bug in the server's code, or a sudden spike in traffic that causes the server to become overwhelmed.

How do I fix 503 service unavailable?

Restart Your Server and Networking Equipment The 503 service unavailable error can happen due to connectivity issues between the server chain hosting your application. Thus, if you have root access to your website, one of the easiest ways to fix the 503 service temporarily unavailable error is to reboot your server.

How do I fix stackoverflow 503 service unavailable?

Reason 1: The HTTP Error 503. The service is unavailable occurs if the Application Pool of the corresponding Wep Application is Stopped or Disabled or Paused. or The given user Identity of Application Pool may be invalid due to expired password or locked.


1 Answers

I figured it out. It was due to SQL Reporting services having reserved the http://+:80/Reports url in http.sys.

I didn't actually have reporting services installed, but it apparently still reserved the url.

I fixed it with the following command:

netsh http delete urlacl url=http://+:80/Reports
like image 171
Craig Quillen Avatar answered Sep 21 '22 19:09

Craig Quillen