Hi, folks

I running IIS 6 on W2k3 and just can't figure out why my aspx pages don't work. I have installed the .NET framework and registered it with IIS. The aspnet_client folder was successfully placed in all of the web site directories (as associated with their host headers). I also assigned the Network Service user to the parent directory of all of the websites and set inheritance for subdirectories and all child objects (using both check-boxes in the advanced security settings). The perms are Read & Execute, List Folder Contents and Read. Anonymous browsing is checked

The error that I'm getting is a 404 error. I read in another column that this should be resolved by adding the Network Service perms. Any clues would be greatly appreciated

TIA

Bob

Re: ASPX doesn't work (But ASP does) by Steven

Steven
Sat May 22 10:47:37 CDT 2004

Should not try giving web server's a perm........ they tend to get a little
cranky ;o)

http://www.iisfaq.com/

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!


"WebGuyBob" <anonymous@discussions.microsoft.com> wrote in message
news:518063F4-6457-4B90-9A57-114840C1F455@microsoft.com...
> Hi, folks.
>
> I running IIS 6 on W2k3 and just can't figure out why my aspx pages don't
work. I have installed the .NET framework and registered it with IIS. The
aspnet_client folder was successfully placed in all of the web site
directories (as associated with their host headers). I also assigned the
Network Service user to the parent directory of all of the websites and set
inheritance for subdirectories and all child objects (using both check-boxes
in the advanced security settings). The perms are Read & Execute, List
Folder Contents and Read. Anonymous browsing is checked.
>
> The error that I'm getting is a 404 error. I read in another column that
this should be resolved by adding the Network Service perms. Any clues
would be greatly appreciated.
>
> TIA,
>
> Bob



RE: ASPX doesn't work (But ASP does) by webguybob

webguybob
Sat May 22 10:56:06 CDT 2004

I should also add that aspx does indeed show up in the application extensions, mapped to

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dl

....and execute perms are set to Scripts only

TIA...Bob

Re: ASPX doesn't work (But ASP does) by anonymous

anonymous
Sat May 22 11:06:01 CDT 2004

Steven

Ill check out the FAQ site. I appreciate the link. Although I'm just getting started with W2K3/IIS/.NET, I have previously administered NT4/IIS4, so this isn't my first rodeo. I do know how touchy servers can get. ;-

Kind regards

Bob

Re: ASPX doesn't work (But ASP does) by Steven

Steven
Sat May 22 11:16:46 CDT 2004

hehe, I always was cr_p with the jokes ;o)

There's a few more IIS site's that I'd reccomend you bookmark but, at the
moment I'm still ¾ asleep, so can't remember their URL's......

Think one of them is, yep, it is (just checked).......

http://www.iisanswers.com/

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!


"WebGuyBob" <anonymous@discussions.microsoft.com> wrote in message
news:826E2CA7-B219-4AA5-A31D-D562F0663AFA@microsoft.com...
> Steven,
>
> Ill check out the FAQ site. I appreciate the link. Although I'm just
getting started with W2K3/IIS/.NET, I have previously administered NT4/IIS4,
so this isn't my first rodeo. I do know how touchy servers can get. ;-)
>
> Kind regards,
>
> Bob



Re: ASPX doesn't work (But ASP does) by Kristofer

Kristofer
Sat May 22 11:59:44 CDT 2004

Have you allowed ASP.NET in the Web Service Extension list?

--
Regards,
Kristofer Gafvert - IIS MVP
http://www.ilopia.com - When you need help!


"WebGuyBob" <anonymous@discussions.microsoft.com> wrote in message
news:518063F4-6457-4B90-9A57-114840C1F455@microsoft.com...
> Hi, folks.
>
> I running IIS 6 on W2k3 and just can't figure out why my aspx pages don't
work. I have installed the .NET framework and registered it with IIS. The
aspnet_client folder was successfully placed in all of the web site
directories (as associated with their host headers). I also assigned the
Network Service user to the parent directory of all of the websites and set
inheritance for subdirectories and all child objects (using both check-boxes
in the advanced security settings). The perms are Read & Execute, List
Folder Contents and Read. Anonymous browsing is checked.
>
> The error that I'm getting is a 404 error. I read in another column that
this should be resolved by adding the Network Service perms. Any clues
would be greatly appreciated.
>
> TIA,
>
> Bob



Re: ASPX doesn't work (But ASP does) by anonymous

anonymous
Sat May 22 12:06:03 CDT 2004

Steven

I'll bookmark that one too. Thanks

I'm on my fourth cup of coffee. Tired is not an option at this point. LO

Rgds

Bob

Re: ASPX doesn't work (But ASP does) by Steven

Steven
Sat May 22 12:20:12 CDT 2004

roflmao...... only your fourth?. since waking up yesterday morning I've had
4 ¼ jars (love my coffee, hehe..... and didn't get any sleep, so been
drinking even more the past few hours).

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!


"WebGuyBob" <anonymous@discussions.microsoft.com> wrote in message
news:0CF5BB3C-0DA6-44B5-8DD8-DB0911499CAD@microsoft.com...
> Steven,
>
> I'll bookmark that one too. Thanks.
>
> I'm on my fourth cup of coffee. Tired is not an option at this point.
LOL
>
> Rgds,
>
> Bob



Re: ASPX doesn't work (But ASP does) by anonymous

anonymous
Sat May 22 12:36:02 CDT 2004

Dude...now you're going to need many pints to be able to sleep tonight. ;-) Have a couple for me too!

ANSWER: ASPX doesn't work (But ASP does) by anonymous

anonymous
Sat May 22 12:41:04 CDT 2004

Hi, folks. Here's the answer..

After googling many phrases and bouncing around from site-to-site, I finally landed on a MS Knowledge Base article that solved my problem. In short, although I registered .NET with IIS, IIS had defaulted to "prohibit" ASP.NET in the Web Service Externsions section in IIS. Here's the link to the KB article

http://support.microsoft.com/default.aspx?scid=kb;en-us;31512

Look in the section titled: "Enable a Pre-existing Web Service Extension in IIS 6.0

Now what I'd like to know is (assuming that that setting controls all sites managed by IIS) how to turn that off as a default for all sites and somehow manage .aspx functionality on a per-site basis. Any takers on that

Thanks

Bob

Re: ASPX doesn't work (But ASP does) by anonymous

anonymous
Sat May 22 12:46:03 CDT 2004

Kristofer

I found the answer just moments before you posted. I appreciate the reply. Actually I feel quite an idiot by not even looking in that section of IIS. I just figured that if it was listed in the individual Web site's configuration, that it would work. Now I'd like to know how to turn that default off and instead manage ASPX capability on a per-site basis

Cheers

Bob

Re: ASPX doesn't work (But ASP does) by Steven

Steven
Sat May 22 12:57:14 CDT 2004

rofl, don't have time for sleep..... too much work to do ;o)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!


"WebGuyBob" <anonymous@discussions.microsoft.com> wrote in message
news:0068792F-7785-4A8E-A0DE-0C769ECF7277@microsoft.com...
> Dude...now you're going to need many pints to be able to sleep tonight.
;-) Have a couple for me too!



Re: ANSWER: ASPX doesn't work (But ASP does) by David

David
Sun May 23 01:13:57 CDT 2004

There is no straight-forward way to "manage .aspx functionality on a
per-site basis" because that is not a feature.

Web Service Extension is a global setting in IIS6. It does not have the
granularity to support managing .ASPX functionality on a per-site basis.

What you CAN do is enable Web Service Extension (so ASPX pages can run
everywhere), and then on a per website (or per-vdir/app) level, remove the
.ASPX mapping to aspnet_isapi.dll. This will cause those .aspx pages to
not be executed as ASP.Net pages but treated as static files... and since
.aspx extension is not in the MIME Type, IIS6 will not allow them to be
downloaded and instead return a 404. You need to be careful with this
approach to never add .aspx as a MIME Type anywhere because that immediately
allows IIS to serve the file as-is -- which means you've just made an
information-disclosure security breach on your web server.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"WebGuyBob" <anonymous@discussions.microsoft.com> wrote in message
news:90F184D8-5529-4D73-BC14-5E96EE8072B1@microsoft.com...
Hi, folks. Here's the answer...

After googling many phrases and bouncing around from site-to-site, I finally
landed on a MS Knowledge Base article that solved my problem. In short,
although I registered .NET with IIS, IIS had defaulted to "prohibit" ASP.NET
in the Web Service Externsions section in IIS. Here's the link to the KB
article:

http://support.microsoft.com/default.aspx?scid=kb;en-us;315122

Look in the section titled: "Enable a Pre-existing Web Service Extension in
IIS 6.0"

Now what I'd like to know is (assuming that that setting controls all sites
managed by IIS) how to turn that off as a default for all sites and somehow
manage .aspx functionality on a per-site basis. Any takers on that?

Thanks,

Bob



Re: ANSWER: ASPX doesn't work (But ASP does) by anonymous

anonymous
Sun May 23 13:16:02 CDT 2004

David

Thank you so much for taking the time to answer the per-site aspx inquiry. I will indeed apply that approach to the subdomain sites not requiring aspx functionality, yet still need to use asp. I really appreciate you Msft guys monitoring these forums. :-

Thx

Bob

Re: ANSWER: ASPX doesn't work (But ASP does) by David

David
Tue May 25 05:04:43 CDT 2004

My pleasure.

I appreciate the thanks once in a while... since many people are usually
mad/angry to some degree by the time they're asking questions here, it's
nice to hear when things are resolved positively.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"WebGuyBob" <anonymous@discussions.microsoft.com> wrote in message
news:B731BE11-1B89-4A44-964F-ACA22C713929@microsoft.com...
David,

Thank you so much for taking the time to answer the per-site aspx inquiry.
I will indeed apply that approach to the subdomain sites not requiring aspx
functionality, yet still need to use asp. I really appreciate you Msft guys
monitoring these forums. :-)

Thx,

Bob