Accessing the ASP.NET Web Configuration Tool in Visual Studio 2013

Accessing the ASP.NET Web Configuration Tool in Visual Studio 2013

Rate This
  • Comments 42

As many of you have noticed, the option to select “ASP.Net Web Configuration Manager” is no longer in Visual Studio 2013 Preview. This is due to the removal of the Visual Studio Development Server (or Cassini) from the product. However, we understand that many people have gotten used to using the Tool, and so here are the steps by which you can still run the manager. Note that these instructions only work for sites running on the .NET Framework 4.0 and above.

  1. Open the Command Prompt (not as administrator)
  2. Navigate to the folder where IIS Express is installed on your machine.
  3. In the command line spin up a IISExpress site with the following prompt: “iisexpress.exe /path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles /vpath:”/ASP.NETWebAdminFiles” /port:[port] /clr: 4.0 /ntlm” using the following values for the [param]:
    1. [port] – any port you have free in IISExpress (I use 8082 in the example below)
  4. This should launch an IISExpress instance of the Configuration Manager Site<br/>clip_image002
  5. Open your browser
  6. In the URL enter the following “http://localhost:8082/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=[appPath]&applicationUrl=/” substituting the [appPath] with the absolute path to the Visual Studio Project folder with the solution file in it.

Congratulations, you now have your ASP.net Web Site Adminstration Tool running as before.

Leave a Comment
  • Please add 7 and 4 and type the answer here:
  • Post
  • Great news! thanks!

  • but if it is removed by default then there must be an alternative right?

  • I get "Invalid application path"

  • Needed to remove excess spaces on Copy/paste

  • @Bill_G

    Please make sure command prompt is not running as administrator, otherwise, you will get "Invalid application path".

  • >>I get "Invalid application path"

    Make sure you are in the folder where IIS Express is installed on the machine, if the problem persists, please message me and I can work through your issue with you.

    Joost

  • Is there any news on server side includes aspnet.uservoice.com/.../2879691-server-side-includes-ssi-in-page-inspector-and-a ?

  • Why remove it from 2013?

  • It is good to be part of this wonderful develop.

  • I get "the following switch requires a value: 'path'"...

  • Why did you remove the menu item?  Why didn't you keep it there and make it work with IISExpress instead of Cassini instead of going backwards and making us use a command line?  Or is there some better replacement than ASP.NET Web Configuration that we're not supposed to want to use it anymore?

  • This is ridiculous.. tried every possible combination of IIS Express (x64, x86) and Framework/Framework64 and I keep getting Invalid application path.

    p.s Yes, I removed the silly empty spaces..

  • @Ek, Please make sure command prompt is not running as administrator, otherwise, you will get "Invalid application path".  Also make sure you are in the folder where IIS Express is installed on the machine.

  • Awesome work-around, too bad it's not implemented anymore in VS2013

  • I get the error "Invalid application path"

    I am NOT running the Command Prompt as administrator

    I have removed all spaces

    I have wasted a couple of hours on this going in circles. Help!!!

    Please bring the GUI menu back in VS 2013

Page 1 of 3 (42 items) 123