How to ensure that your web server is configured to serve
ASP.NET pages?
For this, open IIS, select "Quick Start Samples" virtual
directory. Right click the mouse, and select "Browse". If
you can see the documentation properly, your web server is
configured and ready to server ". aspx" pages.
If however, you cannot see the page completely, go back to
IIS, select the root directory of the web site, right-
click it, and select "Properties". Go to "Home Directory"
tab, and click on "Configuration" button. In the "App
Mappings" tab, try to locate ".aspx" extension. If you
cannot, then the web server is behaving in a predictable
manner, and can be fixed. If however, they are visible,
and yet ".aspx" pages cannot be served, more research
needs to be done as to what can be possibly wrong with the
configuration.
If ".aspx" extension was not visible, open .NET command
prompt. Go to "%FrameworkDir%" directory. Go
to "v1.0.3705" directory. Type the following commands in
the specified order.
aspnet_regiis -I
regsvr32 aspnet_isapi.dll
Please wait till you get the final prompt saying that the
DLL has been successfully registered. Now, go back and
check whether you can see ".aspx" extension in "App
Mappings" tab of "Properties" dialog, as described above.
Also, please confirm that "Quick Start Samples" can be
viewed completely on the machine. If not, then more
research needs to be done as to what can be possibly wrong
with the configuration.
>-----Original Message-----
>I've installed a .net application on a 2000 pro machine
>and installed the .net 1.1 framework but when I try to
>access any .aspx pages the code shows up as text.
>.
>
|