Saroj
Saroj

Reputation: 526

Unable to launch IIS Express Web Server in VS 2013

I have an application in MVC 4 using VS 2013.

This is very strange,everything was working fine till last night but today morning when I started working and tried to run my application I found the following error:

Unable to launch IIS express web server.
Failed to register URL"http://localhost:62707" for site...
Access denied(0x80070005)

I searched regarding this since morning and I got solutions for this which I tried as:

But nothing seems to be working for me and even after trying almost all of the possibilities for hours I kind of got stuck at this point.

Upvotes: 8

Views: 12967

Answers (1)

Vishal
Vishal

Reputation: 2017

You can try this:

  • Open "Command Line Interface (CLI)" called "Command shell" with "Win+R" write "cmd" put this command for removing the urlacl.

    netsh http delete urlacl url=http://{ip_address}:{port}/
    
  • Then add the url for everyone

    netsh http add urlacl url=http://{ip_address}:{port}/ user=everyone
    
  • Then close the VS and delete the IISExpress folder from Documents path as:

    %userprofile%\Documents, e.g. C:\Users\[you]\Documents\IISExpress
    
  • Re-run your application.

Upvotes: 14

Related Questions