How to fix IIS mapping after deleting and reinstalling IIS

xiaoxiao2021-03-06  53

How to fix IIS mapping after deleting and reinstalling IIS

Suitable

Overview Installs the Microsoft .NET Framework Software Development Kit (SDK) or Visual Studio .NET, the Internet Information Services (IIS) mapping is created to create associations for ASP.NET's new file extensions and settings. 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 IIS mappings for ASP.NET, follow these steps:

Run the ASPNET_REGIS.EXE utility:

Click Start, then click Run". In the Open box, type CMD and press Enter. Type the following command at the command prompt, then press ENTER: "% Windir% / Microsoft.Net / framework / version /ASPNET_REGIIS.EXE" -i "in this path, version represents the version of the .NET Framework installed on the server. number. When you type this command, this placeholder must be replaced with an actual version number. Register aspnet_isapi.dll:

Click Start, then click Run". In the "Open" text box, type the following, then press Enter: Regsvr32% WINDIR% / Microsoft.Net / Framework / version /ASPNET_ISAPI.DLREGSVR32 will return registration results.

Refer to more information about the ASPNET_REGIIS.exe utility, run this .exe file, and

-? As a parameter.

For instructions on symptoms related to the ASP.NET and IIS application mappings that are not properly configured, click the article number below to see the article in the Microsoft Knowledge Base:

325093 PRB: An unexpected situation in ASP.NET pages due to unsatisfactory server-side code

Http://support.microsoft.com/default.aspx?scid=kb;zh-cn;306005

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

New Post(0)