Home:  Support:  Search:

When running ASP.NET WebPage, browser displays ASPX source code or attempts to download file.

Problem(s):

When running an ASP.NET web page, the browser will display .aspx source code or will attempt to download the .aspx file.

Solution(s):

After installing the Microsoft .NET Framework Software Development Kit (SDK) or Visual Studio .NET, Microsoft Internet Information Service (IIS) mappings are created to associate the new file extensions and settings for ASP.NET. If IIS is not installed when the SDK or Visual Studio Setup is run, or uninstalling and reinstalling IIS after the SDK or Visual Studio Setup was run, those settings will not be in place. Unexpected behavior can be experienced when trying to view ASP.NET pages because IIS does not have the correct mapping for the ASPX file extension.

To repair IIS mappings for ASP.NET, run the Aspnet_regiis.exe utility and the register the Aspnet_isapi.dll.

For more information, see: Q306005

Related Documents and Keywords:

See also:

 

To sign up for monthly updates about new products or upgrades, please click here.Copyright © 2000-2006 IDAutomation.com, Inc. IDAutomation and BizFonts are registered trademarks of IDAutomation.com, Inc. All other trademarks mentioned are the property of their respective owners. 

Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.