开发者

What reason would Visual Studio ASP.NET Development Server start returning HTTP 503 errors?

开发者 https://www.devze.com 2023-03-18 04:30 出处:网络
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

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 serv开发者_运维技巧er 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.


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


did u tried enabling debugging in your web application?

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号