locked
Reg: Visual Studio 2013 without IIS Express RRS feed

  • Question

  • User-1552174317 posted

    Hi Everyone,

    I need to run Visual studio 2013 without IIS Express, so I uninstalled IIS Express. Then on creating project I am getting an error :

    "Configuring IIS Express failed with the following error:

    Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine."

    Is there any possibility to run VS2013 without IIS Express.

    Thanks in advance,

    Monday, May 19, 2014 6:07 AM

Answers

  • User-1454326058 posted

    Hi,

    In my opinion, the Visual Studio Development Server has been removed in the VS2013.

    For the VS2012, it will use the Visual Studio Development Server if uninstall the IIS Express or uncheck Use Express for new file-based web site and projects.

    However, for the VS2013, it can’t use the Visual Studio Development Server, it use the IIS Express. So, if the IIS Express has been removed, then it will throw the error.

    Based on my test to use the local IIS when create a web site, I found that it can’t create a web site in the IIS, it just can create a virtual directory or application. (File=>New=>Web Site=>Browser=>Local IIS=>IIS Sites, then the create new site button is disabled, if select IIS Express Sites, then the button is enabled)

    To conclude, the Visual Studio 2013 should have the IIS Express as the default server.

    If you want the website use the local IIS, please follow up these steps below:

    For new website project:

    1. File=>New=>Web Site
    2. Click Browser in the New Web Site wizard.
    3. Select Local IIS
    4. Select IIS Site
    5. Select a website, then create a new application

    For existed website project:

    1. Right click website project in the VS=>Property Pages
    2. Select Start Options
    3. Select Use custom server (You should have a website with this website project)

    Thanks

    Best Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, May 20, 2014 4:36 AM

All replies

  • User1508394307 posted

    Run VS.NET, go to Tools-Options, Open Project and Solutions, Web Projects. Uncheck Use IIS Express for new file-based web sites and projects. 

    Monday, May 19, 2014 6:54 AM
  • User-1552174317 posted

    Thanks Smirnov, But I dont have that option under Web Projects, Only 2 options are there 

    1. Use the 64 bit version of IIS Express for web sites and Projects (Disabled by default)

    2. Warn before running web application when there are errors in the errors list

    I am using VS2013 Professional edition

    Monday, May 19, 2014 7:08 AM
  • User1508394307 posted

    That option exist in VS.NET 2012 and older. http://msdn.microsoft.com/en-us/library/vstudio/ms178108(v=vs.100).aspx

    Where do you get that error on creating a new project or on running it from within VS.NET (not clear from the original post)? If project exists, you can modify web server under properties (Project - Properties). Also if it is an old project imported from old VS.NET you can manually edit its csproj/vbproj-file

    Monday, May 19, 2014 10:13 AM
  • User-1454326058 posted

    Hi,

    In my opinion, the Visual Studio Development Server has been removed in the VS2013.

    For the VS2012, it will use the Visual Studio Development Server if uninstall the IIS Express or uncheck Use Express for new file-based web site and projects.

    However, for the VS2013, it can’t use the Visual Studio Development Server, it use the IIS Express. So, if the IIS Express has been removed, then it will throw the error.

    Based on my test to use the local IIS when create a web site, I found that it can’t create a web site in the IIS, it just can create a virtual directory or application. (File=>New=>Web Site=>Browser=>Local IIS=>IIS Sites, then the create new site button is disabled, if select IIS Express Sites, then the button is enabled)

    To conclude, the Visual Studio 2013 should have the IIS Express as the default server.

    If you want the website use the local IIS, please follow up these steps below:

    For new website project:

    1. File=>New=>Web Site
    2. Click Browser in the New Web Site wizard.
    3. Select Local IIS
    4. Select IIS Site
    5. Select a website, then create a new application

    For existed website project:

    1. Right click website project in the VS=>Property Pages
    2. Select Start Options
    3. Select Use custom server (You should have a website with this website project)

    Thanks

    Best Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, May 20, 2014 4:36 AM