Getting ASP.NET Applications to Function Properly on Visual Studio .NET Systems

We recently installed Microsoft IIS on our Visual Studio .NET development system, but ASP.NET applications won't function on this system. IIS simply delivers the source code of the .aspx pages. What are we missing?

Windows 2000 Server systems install IIS by default, so IIS is usually present when Visual Studio .NET is installed. When IIS is present, the Visual Studio .NET installation creates several application mappings in IIS that help ASP.NET function properly. The problem you describe occurs when you install IIS after Visual Studio .NET or if you uninstall and reinstall IIS on a server that has ASP.NET enabled. You can remedy this problem by running the program aspnet__regiis.exe from a command line:

\%systemroot%\microsoft.net
\framework\v1.0.370\aspnet_regiis.exe ­I

Afterward, you should regis-ter the ASP.NET Internet Server API (ISAPI) extensions as follows:

Regsrvr32 \%systemroot%
\microsoft.net\framework
\v1.0.370\aspnet_isapi.dll

Note that in most cases, systemroot is winnt.

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.