Turning on ASP.NET 2.0 in IIS

P

pj

Within IIS, I've gone to my website properties, and have changed the
ASP.NET version to 2.0.

But not, even the simplest of ASPX page will not show in my browser
(IE). What else do I need to change?
 
J

Juan T. Llibre

Two things to look out for...

1. Is the .Net Framework registered with IIS ?

Try running aspnet_regiis -u
from a command window in the .Net Framework directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
or
Drive:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

That will first unregister ASP.NET with IIS

Then, run aspnet_regiis -i
to re-register it, and see if it works after that.

2. Are you using Windows 2003 Server ?

If you are, you need to explicitly allow ASP.NET to run.

Open the IIS Manager and browse on the left to "Web Service Extensions".
Then, go to the right-hand pane, select ASP.NET and click the "Allow"button.
 
P

pj

Thanks, now things work. I been having problems when I publish from
Visual Studio 2005, the website errs, and does not like my web config
file, create by VS 2005. Will this fix that as well? The err is
debugging should be off, even though the web.config file shows it to be
off.
 
C

Cowboy \(Gregory A. Beamer\)

Possibly, but it might also be bad bits int he web.config.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think Outside the Box!
*************************************************

Thanks, now things work. I been having problems when I publish from
Visual Studio 2005, the website errs, and does not like my web config
file, create by VS 2005. Will this fix that as well? The err is
debugging should be off, even though the web.config file shows it to be
off.
 

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,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top