An ASP.NET Blog
I work for Microsoft and help people and businesses make better use of technolgy to realize their full potential. The opinions mentioned herein are solely mine and do not reflect those of my employer.

"Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Monday, April 25, 2005 7:38 AM
Hi,

You may get a Page cannot be found message when you browse aspx pages in a Windows Server 2003 environment.

That is because in Windows 2003, all the webservice extensions are "Prohibited" by default to ensure security.

To resolve this, do the following steps:-

1. From your Run command, type inetmgr and press enter.
2. Expand the appropriate nodes in the IIS to locate the "Webservice Extensions" Node
3. Click on the same.
4. You will find a list of "prohibited" extensions in the right.
5. Click on ASP.NET and "allow" it

That should resolve this issue.

This article applies for Windows Server 2003, IIS 6.0 environment.

Feedback

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

and what do you do if asp.net does not show in the extensions (and yes it's installed). 6/23/2005 3:44 PM | Mary

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Thanks. I searched hours for this... 12/27/2005 2:41 PM | Wilco

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Tank you, this was driving me crazy.
And why iis doesnt report a usefull error...?! 1/20/2006 9:50 AM | otto

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Great. Excellent. It worked for me. I spent my whole life for this stupid errorr.
Thank you so much. 3/9/2006 1:12 PM | Tiger

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Click on start then select Run. Copyo and paste this command then click okay. That will reregister ASP.NET to IIS C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -I 4/7/2006 3:54 PM | Ken

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Thank a lot 4/10/2006 1:19 PM | Misu

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Thanks a lot. wasted hours for this. 4/20/2006 6:24 PM | Nirmal

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Thank You so much It was ver informative, I would put the whole thing this way
To resolve this, do the following steps:-

Download ASP.net 2.0 framework form
http://msdn.microsoft.com/netframework/downloads/updates/default.aspx



Click on start then select Run. Copy and paste this command then click okay. That will reregister ASP.NET to IIS
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -I

from IIS go to ASP.NET tab and change the asp.net version to 2.0XXX
(in IIS go to the specific virtual directory of the web application for which you are recieving this error. Right-click on it, and in the properties there will be an ASP.NET tab which you can toggle to .NET)

From your Run command, type inetmgr and press enter.
Expand the appropriate nodes in the IIS to locate the "Webservice Extensions" Node
Click on the same.
You will find a list of "prohibited" extensions in the right.
Click on ASP.NET and "allow" it.

That should resolve this issue. 6/16/2006 2:12 PM | Ahmad Islam

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

thank you SO much!
I would have never figured this out by myself! 7/14/2006 8:52 PM | D

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Cheers mate this works fine without running aspnet_regiis.exe -I for V.2.

I wasted many good hours.
7/20/2006 10:35 PM | Krishan Ariyawansa

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

God this is weird, I had to run that bloody asp_netregiis.exe on several machines. It's not as if I'm running anything weird, why this obscure step that isn't documented anywhere! 8/18/2006 7:27 AM | scott

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Thanks. That saved me a big headache! 8/29/2006 2:28 PM | Shaun

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

above error. 9/22/2006 9:17 AM | Francis Mensah

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Thanks alot! 9/29/2006 5:39 AM | Armin

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

thank you! What would we do without internet? 10/20/2006 12:04 PM | Montse

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Thanks, You Rock.... what a PITA 11/16/2006 8:15 PM | Jon Elster

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Excellent,

Thanks for this info 11/20/2006 3:27 PM | Carlos G.

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Thanks

on my "web service extension" list don´t apears the asp.net service, so I add a 2 new web service extension: one pointting to C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll to my asp.net 1.1 and another pointting to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll for asp.net 2.0

1/11/2007 1:04 PM | Dimas Alves (Brazil)

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

thx alot you just saved my ass..... I've been looking for this for the last 4 days nonstop..... does anyone know why this happens??? 2/14/2007 9:19 AM | chris

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Un-friggin' believable. Thank you SO much. Like so many others, I've spent hours and hours trying to figure this out.

2/20/2007 10:10 PM | Doug

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Thanks Mate!! 3/6/2007 4:38 PM | andrew ink

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

the internet is a wonderful thing - thanks so much for taking time to post this up, it's a life saver!! :-) 3/15/2007 11:46 AM | ck

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Thanks alot, saved me alot of problems there. 4/21/2007 6:45 AM | RDN

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

My hero!!

Saved me a lot of time!!

5/8/2007 5:18 AM | Bdr

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

save me hours !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thank you and thank you google for organizing the worlds data!!
6/26/2007 4:24 PM | Drew

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Saved my day, thanks! 7/5/2007 9:51 PM | Göran

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Thanks a lot!

Just in case someone else comes across this with my configuration here this page provides the fix.

Plesk 8.1 (my case a fresh dedicated server)
Windows 2003

Do this and your ASP.NET applications will work (no more "The page cannot be found")

From your Run command, type inetmgr and press enter.
Expand the appropriate nodes in the IIS to locate the "Webservice Extensions" Node
Click on the same.
You will find a list of "prohibited" extensions in the right.
Click on ASP.NET and "allow" it. 9/11/2007 6:38 AM | Mike

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

thanks for this nice tip, u saved my day..

Eliena 9/24/2007 9:31 PM | Eliena Andrews

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

>What would we do without internet?
Probably not create web pages on web servers? :D

My ASP.NET is allowed and it still didn't fix my problem, but thanks for the tips regardless! 12/21/2007 6:46 AM | jgt

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0 ***.NET 2.0***

I had to run aspnet_regiis.exe in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 in order to get my .net 2.0 website working, just thought it could help someone out. 12/29/2007 8:34 PM | .NET 2.0

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Thank you. I spent a solid week trying to figure this out. Microsoft does it again....jerks. 3/25/2008 1:01 AM | arichardson

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Too good... You are a genious 4/23/2008 9:38 AM | Bantu Singh

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Perfect advice, thanks for saving my day!! ;-) 5/21/2008 10:11 PM | Rene

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Wish I'd tried this a couple hours ago.

You'd think that IIS would at least log the REAL error somewhere.

Thanks! 6/3/2008 9:49 AM | Mike

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

Thanks a lot dear.

6/16/2008 11:34 PM | kashif

# re: "Page cannot be found" when browsing aspx pages in Windows Server 2003 with IIS 6.0

I was started to hit myself with a keyboard... then I find this solution... Thanks 7/1/2008 4:31 AM | Mo0K3

Post a comment





 

Please add 8 and 6 and type the answer here: