My C # learning process installed on the first day

xiaoxiao2021-03-06  17

Because this machine is not installed, I first install VS.NET, then I installed IIS, and when I created a new ASP.NET web application, I received the following error message:

Visual Studio .Net Has Detected That The Specified Web Server IS Not Running ASP.NET VERSION 1.1.You Will Be Unable to Run ASP.NET Web Applications Or Services.

After the query is solved

summary

After installing the Microsoft .NET Framework Software Development Kit (SDK) or Visual Studio .NET, an Internet Information Service (IIS) map is created to create an association for the new file extension and settings for ASP.NET. These settings will be incorrect if you do not install IIS when running an SDK or Visual Studio installer or after running an SDK or a Visual Studio installer. Accidents are encountered when trying to view the ASP.NET page.

When you try to create a new ASP.NET web application in Visual Studio .NET 2003, you receive the following error message:

Visual Studio .Net Has Detected That The Specified Web Server IS Not Running ASP.NET VERSION 1.1.You Will Be Unable to Run ASP.NET Web Applications Or Services.

More information

To fix the IIS mapping for ASP.NET, follow these steps:

1. Run the ASPNET_REGIS.EXE utility:

a. Click Start, and then click Run. b. In the Open box, type CMD and press Enter. c. Type the following command at the command prompt, then press ENTER:

"% windir% / microsoft.net / framework / version /ASPNET_REGIIS.EXE" -i

In this path, the version represents the version number of the .NET Framework installed on the server. When you type this command, this placeholder must be replaced with an actual version number. 2. Register an ASPNET_ISAPI.dll:

a. Click Start, and then click Run. b. In the "Open" text box, type the following, then press ENTER:

Regsvr32% WINDIR% / Microsoft.Net / framework / version /ASPNET_ISAPI.DLL

Regsvr32 will return the registration result.

reference

For more information on the ASPNET_REGIIS.exe utility, run this .exe file, and

-? As a parameter

转载请注明原文地址:https://www.9cbs.com/read-47103.html

New Post(0)