Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

ASPX doesn't work (But ASP does)

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Not web pages shown in iis5  
Author Message
anonymous1826

External


Since: May 06, 2004
Posts: 13



(Msg. 1) Posted: Sat May 22, 2004 11:31 am
Post subject: ASPX doesn't work (But ASP does)
Archived from groups: microsoft>public>inetserver>iis (more info?)

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

 >> Stay informed about: ASPX doesn't work (But ASP does) 
Back to top
Login to vote
webguybob

External


Since: May 22, 2004
Posts: 3



(Msg. 2) Posted: Sat May 22, 2004 11:56 am
Post subject: RE: ASPX doesn't work (But ASP does) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.dll

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

TIA...Bob

 >> Stay informed about: ASPX doesn't work (But ASP does) 
Back to top
Login to vote
anonymous1826

External


Since: May 06, 2004
Posts: 13



(Msg. 3) Posted: Sat May 22, 2004 1:41 pm
Post subject: ANSWER: ASPX doesn't work (But ASP does) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
 >> Stay informed about: ASPX doesn't work (But ASP does) 
Back to top
Login to vote
pvt

External


Since: Apr 30, 2004
Posts: 31



(Msg. 4) Posted: Sat May 22, 2004 7:47 pm
Post subject: Re: ASPX doesn't work (But ASP does) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

<a style='text-decoration: underline;' href="http://www.iisfaq.com/" target="_blank">http://www.iisfaq.com/</a>

--

Regards

Steven Burn
Ur I.T. Mate Group
<a style='text-decoration: underline;' href="http://www.it-mate.co.uk" target="_blank">www.it-mate.co.uk</a>

Keeping it FREE!


"WebGuyBob" <anonymous.TakeThisOut@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<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASPX doesn't work (But ASP does) 
Back to top
Login to vote
anonymous1826

External


Since: May 06, 2004
Posts: 13



(Msg. 5) Posted: Sat May 22, 2004 7:47 pm
Post subject: Re: ASPX doesn't work (But ASP does) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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. Wink

Kind regards,

Bob
 >> Stay informed about: ASPX doesn't work (But ASP does) 
Back to top
Login to vote
pvt

External


Since: Apr 30, 2004
Posts: 31



(Msg. 6) Posted: Sat May 22, 2004 8:16 pm
Post subject: Re: ASPX doesn't work (But ASP does) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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).......

<a style='text-decoration: underline;' href="http://www.iisanswers.com/" target="_blank">http://www.iisanswers.com/</a>

--

Regards

Steven Burn
Ur I.T. Mate Group
<a style='text-decoration: underline;' href="http://www.it-mate.co.uk" target="_blank">www.it-mate.co.uk</a>

Keeping it FREE!


"WebGuyBob" <anonymous DeleteThis @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. Wink
 >
 > Kind regards,
 >
 > Bob<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASPX doesn't work (But ASP does) 
Back to top
Login to vote
anonymous1826

External


Since: May 06, 2004
Posts: 13



(Msg. 7) Posted: Sat May 22, 2004 8:16 pm
Post subject: Re: ASPX doesn't work (But ASP does) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
 >> Stay informed about: ASPX doesn't work (But ASP does) 
Back to top
Login to vote
pvt

External


Since: Apr 30, 2004
Posts: 31



(Msg. 8) Posted: Sat May 22, 2004 9:20 pm
Post subject: Re: ASPX doesn't work (But ASP does) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
<a style='text-decoration: underline;' href="http://www.it-mate.co.uk" target="_blank">www.it-mate.co.uk</a>

Keeping it FREE!


"WebGuyBob" <anonymous.RemoveThis@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<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASPX doesn't work (But ASP does) 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 2972



(Msg. 9) Posted: Sat May 22, 2004 9:59 pm
Post subject: Re: ASPX doesn't work (But ASP does) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

--
Regards,
Kristofer Gafvert - IIS MVP
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">http://www.ilopia.com</a> - When you need help!


"WebGuyBob" <anonymous DeleteThis @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<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASPX doesn't work (But ASP does) 
Back to top
Login to vote
anonymous1826

External


Since: May 06, 2004
Posts: 13



(Msg. 10) Posted: Sat May 22, 2004 9:59 pm
Post subject: Re: ASPX doesn't work (But ASP does) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
 >> Stay informed about: ASPX doesn't work (But ASP does) 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 11) Posted: Sun May 23, 2004 2:13 am
Post subject: Re: ANSWER: ASPX doesn't work (But ASP does) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 DeleteThis @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
 >> Stay informed about: ASPX doesn't work (But ASP does) 
Back to top
Login to vote
anonymous1826

External


Since: May 06, 2004
Posts: 13



(Msg. 12) Posted: Sun May 23, 2004 2:16 pm
Post subject: Re: ANSWER: ASPX doesn't work (But ASP does) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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. Smile

Thx,

Bob
 >> Stay informed about: ASPX doesn't work (But ASP does) 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 13) Posted: Tue May 25, 2004 6:04 am
Post subject: Re: ANSWER: ASPX doesn't work (But ASP does) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 DeleteThis @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. Smile

Thx,

Bob
 >> Stay informed about: ASPX doesn't work (But ASP does) 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
.aspx files don't work - I have been having some trouble with my web server running under Windows 2000 Server, so I removed IIS and reinstalled it. Now, I noticed that my .aspx pages don't work correctly. The server is returing the .aspx files as text to the client instead...

aspx pages dont work - every since i upgrade latest MS security upgrades i have been unable to get aspx files to work properly. I get the message: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. ....

ASPX not work after run window update - Hi, All: I ran Microsoft Window Update. It did about 10 patches. After the patch, all my aspx page quitted working. The ASP page still work. The error message is: Server Application Unavailable The web application you are attempting to access on....

Hosed Myself - removed IIS Lockdown now ASPX does not work - Thankfully I did this on a test system. I wanted to remove IIS Lockdown to see what would happen. Well among other things .aspx files no longer work. I found that the file extension for .aspx had been removed. I reinstalled it pointing to the .NET..

FQDN and IP address doesn not pass through login - We have an internal site on IIS 5.0 that will let users seamlessly login if they DON'T type the FQDN. If they just type the server name or an alias which points to the server name they login without prompt(for example, server name is "joe" and...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]