Your Web browser does not display controls or your Web browser displays a blank .aspx form in ASP.NET (841558)



The information in this article applies to:

  • Microsoft ASP.NET (included with the .NET Framework 1.1)
  • Microsoft ASP.NET (included with the .NET Framework) 1.0

SYMPTOMS

When you use controls in a Microsoft ASP.NET application, the controls do not appear in your Web browser or a blank .aspx form is displayed.

CAUSE

This problem occurs because one of the following conditions is true:
  • When you ran the Microsoft .NET Framework software development kit (SDK) Setup program or the Microsoft Visual Studio .NET Setup program, Microsoft Internet Information Services (IIS) was not installed.
  • After you ran the .NET Framework SDK Setup program or the Visual Studio .NET Setup program, you removed and then reinstalled IIS.

RESOLUTION

To resolve this problem, make sure that IIS is correctly configured to use the .NET extensions. Run the Aspnet_regiis.exe administration utility to configure the required application mappings. To do this, follow these steps:
  1. Click Start, click Run, type cmd, and then click OK.
  2. At the command prompt, type C:\Windows folder\Microsoft.NET\Framework\version\aspnet_regiis.exe -i (where version is the version of the .NET Framework that is installed on your computer), and then press ENTER.
Register the Aspnet_isapi.dll file, and then restart IIS. To do this, follow these steps:
  1. Click Start, click Run, type regsvr32 C:\Windows folder\Microsoft.NET\Framework\version\aspnet_isapi.dll, and then click OK.

    Note Regsvr32 returns the results of the registration.
  2. Click Start, click Run, type iisreset, and then click OK.

REFERENCES

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

306005 How to repair IIS mapping after you remove and reinstall IIS


Modification Type:MajorLast Reviewed:7/12/2004
Keywords:kbprb KB841558 kbAudDeveloper