re:
!IIS says that dot.net version 2 is installed even though I installed version 3.5.
The 3.5 version targets the same CLR as the 2.0 version.
re:
!every time I try to access the ASPX pages locally (using
http://localhost/main.aspx
!in the browser address bar), the browsers don't display the pages. Instead, a popup box
!asks if I want to open or save, and opening with the browser just shows me the code.
Sounds like ASP.NET isn't registered with IIS.
Open a command window to the .net Framework 2.0 directory
( drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 )
i.e., click the "start" button, then click "run", write "cmd" and hit "Enter".
Then, issue this directory change :
cd\
and then, this one :
cd WINDOWS\Microsoft.NET\Framework\v2.0.50727
Once you're there, write this command :
aspnet_regiis -i
....and hit Enter.
Let us know whether that works...
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
======================================
"Arch Stanton" <sa**@hill.orgwrote in message news:aJ******************************@comcast.com. ..
>
I have a set of ASPX pages that work fine on my home computer (Vista), and on a server at work (XP). I just got a new
laptop at work (XP) and these same files don't work on it. I installed IIS and dot.net on my new computer, but every
time I try to access the ASPX pages locally (using http://localhost/main.aspx in the browser address bar), the
browsers don't display the pages. Instead, a popup box asks if I want to open or save, and opening with the browser
just shows me the code.
This has the feel of an IIS problem, I'm thinking. IIS says that dot.net version 2 is installed even though I
installed version 3.5. I have no idea why it says that (I tried updating dot.net from the MSDN page, but it tells me
that everything is installed properly). That may be a clue for someone more knowledgeable than I am, but it has this
humble noob stumped.
As always, thanks so much for any help.