Installing ASP.NET on Windows XP Pro

T

Teemu Keiski

Hi,

IIS should be installed before the .NET Framework. However, you don't have
to start over because of this. Run "aspnet_regiis -i" from Framework's
folder location, it will do the necessary steps to configure IIS for
ASP.NET. After that things should work.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist


[first of all, sorry for my bad english - I'm not a native speaker]

I have some troubles with Win XP Pro: I can get ASP.NET to work! Here are
the steps I have followed:

1) install Win XP Pro, without IIS
2) install .NET framework and Visual Studio.NET, without web development
tools
3) install IIS
4) update Visual Studio to install web development tools

I expected this to work, but it doesn't: I tried to create a new ASP.NET
application with Visual Studio but .aspx pages are not interpreted! In
particular, I tried a simple test page that looked like this:

....
<body>
<asp:Label id="test" runat="server">Test page</asp:Label>
</body>
....

I open the test page with IE and select "View Source" I see exactly the
original page: the <asp:Label> tag hasn't been interpreted!

So I decided to examine IIS configuration: I noticed that the "ASP.NET ISAPI
filter" is not configured and there are not interpreters bound to .aspx &
co. extensions.

I tried to reinstall Visual Studio (using the "repair" option from the setup
tool) but it changed nothing.

How can I get things to work? Is there a simpler method than reinstalling
everything?

thanks in advance
Anto
 
A

Antonio Cuni

[first of all, sorry for my bad english - I'm not a native speaker]

I have some troubles with Win XP Pro: I can get ASP.NET to work! Here are
the steps I have followed:

1) install Win XP Pro, without IIS
2) install .NET framework and Visual Studio.NET, without web development
tools
3) install IIS
4) update Visual Studio to install web development tools

I expected this to work, but it doesn't: I tried to create a new ASP.NET
application with Visual Studio but .aspx pages are not interpreted! In
particular, I tried a simple test page that looked like this:

....
<body>
<asp:Label id="test" runat="server">Test page</asp:Label>
</body>
....

I open the test page with IE and select "View Source" I see exactly the
original page: the <asp:Label> tag hasn't been interpreted!

So I decided to examine IIS configuration: I noticed that the "ASP.NET ISAPI
filter" is not configured and there are not interpreters bound to .aspx &
co. extensions.

I tried to reinstall Visual Studio (using the "repair" option from the setup
tool) but it changed nothing.

How can I get things to work? Is there a simpler method than reinstalling
everything?

thanks in advance
Anto
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,743
Latest member
WoodrowMea

Latest Threads

Top