Symptoms Symptoms Exhibited at Run Time When you view an .aspx page in a Microsoft ASP.NET Web application, you may encounter the following symptoms:
• A blank page may appear in your browser.
• You may receive instructions to download an .aspx page.
A typical phenomenon is that the server-side code of the .aspx page is processed, and then the code is not sent to the Web browser in its original form.
Symptoms when debugging ASP.NET using Visual Studio .NET When you debug an ASP.NET application in Microsoft Visual Studio .NET, you may receive the following error message in the IDE:
Error while trying to run project:Unable to start debugging on the Web server.The server does not support debugging of ASP.NET or ATL Server applications.Run setup to install the Visual Studio .NET server components.If setup has been run, verify that a valid URL has been specified.
You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation. Would you like to disable future attempts to debug ASP.NET pages for this project?
The reason is installing Microsoft After the .NET Framework Software Development Kit (SDK) or Microsoft Visual Studio .NET, a Microsoft Internet Information Services (IIS) map is created to associate the new file extensions and new settings for ASP.NET.
If any of the following statements apply to your situation, a new setting does not exist.
• IIS is not installed when running the .NET Framework SDK or Visual Studio .NET installer.
• After running the .NET Framework SDK installer or the Visual Studio .NET installer, you removed and then reinstalled IIS.
Solution To resolve this issue, fix the IIS mapping so that the ASP.NET file extensions are associated correctly. There are two ways to fix IIS mapping for ASP.NET.
To repair the IIS mapping for ASP.NET, run the Aspnet_regiis.exe utility. To do this, follow these steps:
1. Click Start, then click Run.
2. Type cmd and click OK.
3. Run the following command at the command prompt and click OK:
"<Windows folder>Microsoft.NETFramework<version number>aspnet_regiis.exe" -i
Note: Replace <Windows folder> with the name of the directory where your operating system is installed, and <version number> with the version of .NET Framework installed on your computer.
To fix the IIS mapping for ASP.NET, Aspnet_isapi.dll must be registered. To do this, follow these steps:
1. Click Start, then click Run.
2. Type regsvr32 <Windows folder>Microsoft.NETFramework<version number>aspnet_isapi.dll, and then click OK. Regsvr32 will return the registration results.