4

I've been putting together a website for a few weeks, most of the routine has just been creating new web forms with master pages. I've been using the ASP.NET Development Server to view my additions to the project as I've gone along, but today (seemingly out of nowhere) the server has been returning HTTP 503 errors. I tried restarting VS, then restarting workstation, then making sure that "bypass proxy for local addresses" was enabled on my workstation, but to no avail. Has anyone encountered this behavior before or does anyone have suggestions on logs I can review to investigate? Thanks in advance.

Update: When using telnet, the server returns the markup for what looks to be an ASP.NET server page, listing an HTTP Error 400 - Bad Request. Still getting a 503 in Google Chrome and blank pages in Firefox and Internet Explorer.

Christopher Garcia
  • 2,536
  • 7
  • 30
  • 40

3 Answers3

7

1) Maybe there is errors in web.config, so cassini can't understand it. Try to publish website and run it with normal IIS

2) Remove file app_offline.htm from root of your project. It's really generate 503 error with cassini

Vladimir Furso
  • 338
  • 1
  • 10
  • I published the website to a development server running IIS and it works fine, so I think the web.config may be okay. I even removed the existing web.config and added a new one to no avail. – Christopher Garcia Jul 12 '11 at 15:45
  • 2
    I removed the app_offline.htm file from the project and it now works! Amazing, I've been running into several file issues with various HTML and JPEG files, where I've had to remove them from the project, and restore them with different names in order to get them working. Thanks. – Christopher Garcia Jul 12 '11 at 15:47
  • What do you mean by "It's really generate 503 error with cassini"? – Kenny Evitt Jul 18 '12 at 14:29
  • Removal of app_offline.htm also solved this problem for me / I have no idea why this file suddenly appeared in my project but it blocked everything – Muleskinner Nov 16 '15 at 12:30
0

did u tried enabling debugging in your web application?

http://msdn.microsoft.com/en-us/library/e8z01xdh%28v=vs.80%29.aspx

Nitin Sawant
  • 7,278
  • 9
  • 52
  • 98
0

One possibility is that some other application is now configured, say, in IIS, to listen on the same port/vdir combination. It might be a port conflict between two site/servers/applications. I would get Fiddler tool to look at response headers and see whether you are getting the response from the server you expect.

Vlad H
  • 71
  • 1
  • 1