Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Turning on ASP.NET 2.0 in IIS

Reply
Thread Tools

Turning on ASP.NET 2.0 in IIS

 
 
pj
Guest
Posts: n/a
 
      08-22-2006
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?

 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      08-22-2006
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.





Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"pj" <> wrote in message
news: oups.com...
> 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?





 
Reply With Quote
 
 
 
 
pj
Guest
Posts: n/a
 
      08-23-2006

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.


Juan T. Llibre wrote:
> 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.
>
>
>
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaņol : http://asp.net.do/foros/
> ===================================
> "pj" <> wrote in message
> news: oups.com...
> > 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?


 
Reply With Quote
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      08-23-2006
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!
*************************************************
"pj" <> wrote in message
news: ups.com...

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.


Juan T. Llibre wrote:
> 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.
>
>
>
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaņol : http://asp.net.do/foros/
> ===================================
> "pj" <> wrote in message
> news: oups.com...
> > 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?



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS 6 vs IIS 5 ASP.NET Performance Issues JMaelstrom ASP .Net 2 04-30-2010 04:32 PM
IIS 6.0 win2003, IIS users moe_rodrigue MCSE 1 04-01-2004 07:37 AM
IIS 6.0 vs IIS 5.1 Hai Nguyen ASP .Net 1 03-02-2004 06:22 AM
ASP.NET application works in IIS PWS, but not in remote IIS. Matthew Louden ASP .Net 3 11-07-2003 09:58 PM
.NET IIS to IIS credentials problem... Grind Boy ASP .Net 4 08-14-2003 12:59 PM



Advertisments