Visual Studio IIS HTTP 503 Service Unavailable

I searched every topic and it seems that all the problems have been resolved already, and I tried every possible solution that they provided, or I'm still missing something.

-FireWall is already off.

Ok, so I'm trying to access my IIS server application, which is currently running VS 2013. Update 2.

when I try to access http: // localhost: 29790 / <- this to http://192.168.1.3:29790 , which is my current IP address on my local computer. This gives me error 503.

I was looking for a solution and gave me a ton.

file applicationhost.config

<site name="SMApplication(4)" id="10"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="C:\Users\DanZe3\Documents\Visual Studio 2013\Projects\SMApplication\SMApplication" /> </application> <bindings> <binding protocol="http" bindingInformation="*:29790:localhost" /> </bindings> </site> 

I have tried this.

"asterisk: 29790: asterisk" <- it does not display an asterisk due to a text editor.

"*: 29790:"

": 29790:"

by snap bindings. But it still does not work. I also restart the PC or VS. But the problem is that when you try Re open VS. VS rewrite applicationhost.config file and add another binding.

As you can see on my site name = "SMApplication (4) <- it already has 4. This is automatic when I open the file and then the bindings will again be" *: 29790: localhost ".

Somehow editing these bindings. VS Studio will create another application binding. with another sitename = "SMApplication (5).

I tried to remove localhost on "*: 29790: localhost", but when I started the application that it gave me.

Unable to start IIS Express web server. The specified start URL is invalid. http: // localhost: 29270 /

+7
c # visual-studio-2013 asp.net-mvc iis
source share
3 answers

I had a similar problem with a similar solution:

Scenario: I had an application pool running under a user account and his password was changed because it expired. I never updated IIS, so the application pool stopped on its own every time I tried to start a website. Even if I launch AppPool manually, it stops at the website.

Solution: Update the credentials for the account in IIS or use a different account

+8
source

I ran into this problem recently after updating Windows 10 (Dev machine). I created a new IIS AppPool and assigned to a website, and this fixed the problem.

+1
source

You should try to delete the IIS Express folder in the% USERPROFILE% \ Documents folder.

The next important thing is to restart Visual Studio and open it as admin.

Then you can right-click your ASP.NET project and go to Properties. There you can configure web settings for the IIS host on the Web tab. Try changing your IIS settings here and then saving with Ctrl + S.

When there is a * next to a tab on the Internet because you tried to edit the settings, but could not save, you need to go to another tab, return to the "Web" tab, and then save using Ctrl + S. (View properties for ASP.NET applications in Visual Studio still not working ...)

I am currently using Visual Studio 2015 CE, so I don’t know if my solution is applicable to your problem. In any case, try deleting any folders that have been cached by the IIS Express host and have never been cleared after that.

0
source

All Articles