How to fix IIS mapping after deleting and reinstalling IIS
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.