Subscribe to Windows IT Pro
February 25, 2003 12:00 AM

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

Windows IT Pro
InstantDoc ID #37942
Rating: (0)

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.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.