VS2013 Unable to start IIS Express Web Solution

Source: Internet
Author: User
Tags windows support visual studio 2010

do not tick "Overwrite application root URL (u)", or "Overwrite application root URL (u)" below the input box and the address of the input box above!

The use of VS2013 for a period of time, because the pre-written C/s program, no use to B/S debugger. A few days ago, the creation of an MVC project, suddenly found that VS2013 can not debug, reported such a mistake.

A little bit of a sudden, why?

Modify the project properties for the Web item, as follows.

F5 operation, still error.

That's when I learned that the Web debugger didn't start, but I didn't understand why. So check the installation of IIS8.5, some may need to install the installed.

F5 run, the problem remains.

The focus of the issue is clear: IIS Express failed to start. Then think about viewing events to see if there are more specific logs logged.

There are three related events, the same as the first two, respectively.

What's the matter with Iisnode, we know that Iisnode is a module that is integrated in IIS to host a node. JS application to replace the self-hosted node.exe process.

"C:\Program Files (x86) \iisnode-dev\release\x86\iisnode.dll" does not exist at all, this is more dizzy. It is unclear why IIS Express will fail to start.

I decided to get a thorough understanding of what IIS Express really is.

=============================== Ornate Split Line ==============================

Currently, programmers can only develop and test ASP. NET Web site programs through one of the following two Web servers:

1. Visual studio comes with an ASP. NET Development Server (Webdev.exe).

2. Windows comes with an IIS Web server.

Each of the two scenarios has pros and cons, and many ASP. NET programmers tell us: "I want a server that is as easy to use as an ASP. NET development server, but with the same powerful functionality as IIS." Today I am pleased to announce that we will offer another new, free, choice-iis Express, which combines the advantages of the top two programs, which makes it easier to develop and run ASP.

IIS Express supports vs 2010 and visual Web Develop Express, which can run on Windows XP and later, it does not require administrator privileges to run, and does not require any changes to the code. You can use it to develop all types of ASP. NET programs, and it also supports the full set of IIS 7.x features.

Existing programmes

Before we go into details about IIS Express, let's take a look at how ASP. NET Development Server and IIS work.

Asp. NET Development Server

The advantage of the Visual studio's own ASP. NET Development Server (the development Code "Cassini") is simplicity and ease of quick start-up. It does not need to listen for remote connection requests (so it can be used in a secure network environment in most enterprises) and you do not even have to use an administrator account to start it, and it does not require additional installation steps.

It is because of the great advantage of starting convenience that it becomes the default server for the ASP. When you press F5 in Visual Studio, it starts.

However, the drawback of the ASP. NET development server is that it does not provide full Web server functionality. For example, it does not support Ssl,url rewrite rules, custom security settings, and other features that are supported in IIS 7.

IIS Web Server

There is a second choice of-iis to run and test the program with Visual Studio. You can configure the Web project to use IIS by right-clicking the Web Project in Visual Studio, opening its properties (click the Web tab in the Properties window).

Using IIS as your development server allows you to test the functionality of the full Web server (Ssl,url rewrite rules, etc.). IIS is a real-world Web server-This means deploying a similar development environment on the job server.

However, the disadvantage of using IIS is that some companies do not allow the installation of a full Web server on a development machine. IIS also requires an administrator account to install and debug the Web site. Different versions of Windows support different versions of IIS. For example, on Windows XP, you can only use the self-brought IIS 5.1-all new features of IIS 7.x that it does not support. In addition, configuring the Web site project to use IIS in VS also has some additional installation and configuration steps.

IIS express-"Fish" and "Bear paws" both

IIS Express combines the benefits of the ease-of-use of the ASP and the powerful features of IIS. To be exact:

It is concise and easy to install (the file size is less than 10 megabytes and the installation speed is quite fast).

You can start and debug programs without Administrator privileges in Visual Studio.

Provides complete Web server functionality-including SSL, URL rewriting, multimedia support, and all other IIS 7.x modules.

Its extensible model and the Web. config configuration structure are the same as IIS 7.x.

It can run on the same machine as the IIS Web server and the ASP. NET Development Server (they do not conflict with each other).

It supports Windows XP and later operating systems-a complete set of IIS 7.x features is available on all operating system platforms.

IIS Express, like the ASP. NET development server, can quickly start a Web site program from a folder on your hard disk. It does not require any registration or configuration steps. This feature makes it very convenient to start and run the site during web site development.

Integration with VS

The SP1 of Visual Studio 2010 introduces IIS Express support. You will be able to configure VS 2010 to use it instead of the ASP. NET Development server as the default Web server for the ASP. As with the current ASP. NET development server, you do not need to register a site or virtual directory in IIS Express. It supports the same use of the ASP. NET development Server-just adds more functionality.

When you press F5 to run an ASP. NET project, Visual studio automatically launches IIS Express and uses it to run and debug the Web site program (no additional configuration is required). Like the ASP. NET development Server, when IIS Express runs, a small icon appears in the notification area of the taskbar:

You can quickly turn off IIS Express by right-clicking the icon above and selecting Exit. You can also right-click to list the sites that are running, as well as the folder path of the site and the used. NET version:

[Note: IIS Express is English]

Please note that the two cool places are:

1. The running site "Test site", as well as the IIS express itself, is saved in the C:\users\[User name folder of the hard disk. This allows non-administrator users to use IIS Express and Web sites, and it also supports scenarios where the current IIS server is not implemented (for example, you can run IIS Express on a restricted corporate network environment or a restricted school public computer).

2. The site "Test site" that is running above supports both HTTP and HTTPS access. IIS Express supports URL access control lists (URL ACLs) and SSL authentication by automatically installing self-signed certificates so that programmers (who log on to a computer as a non-administrator user) can use SSL without the need to elevate user rights or perform additional settings. This feature allows you to set up the pages you need to protect for SSL in your program (such as the login page) and run and test them as you do in the real Web server during development.

IIS 7.x Feature Set

IIS Express is as easy to start and use as the ASP. NET development services that you are already familiar with. But because IIS Express is based on the same code as IIS 7x, you can use a collection of features for the full Web server. This also means that you can create and run your program as you would on a real job Web server. In addition to SSL, you can also use IIS 7.x URL rewrite modules, multimedia plugins, dynamic content compression, advanced logging, custom security policies, and other colorful modules.

In addition to supporting ASP., IIS Express also supports legacy ASP and other file types supported by IIS-making it an ideal platform for consolidating multiple technology sites.

Summarize

IIS Express makes it easier to develop, run, and test web programs. It supports all versions of ASP. And all application types (including ASP. NET Web Forms programs and ASP. NET MVC programs). Best of all-you don't need to change any code to use it. You will be able to select it in all existing projects.

For VS2010 release of the SP1 patch, this patch will replace the original built-in ASP. NET Development server with IIS Express. Subsequent versions of Visual Studio have built-in IIS Express.

====================================== Ornate Split Line ====================================

Since VS2013 has built-in IIS Express8.0, why does it start to fail?

The download page for the IIS Express seems to find the answer,

See WebMatrix not, previously used its version 2.0, its taskbar icon and iisexpress is the same, it is not to install it.

After installing WebMatrix3.0, open the project, F5 start, solve the problem!

VS2012 Unable to start the IIS Express Web server solution

Open VS2012 Solution Explorer, click Web Project Selection, properties, Web, select Automatically assign ports using Visual Studio development server.

Run the Web project again and you are done!

Related reading

VS2013 cannot start IIS Express Web workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.