Well I'm at the end of my rope, hopefully someone here can point me in the right direction.
I have downloaded and installed .NET beta2, SQL 2005 Express and Visual Web Developer Express beta2.
My operating system is Windows Server 2003 SP1 with IIS. I'm simply trying to publish the Personal Web Site sample included with VWD Express. I've created a new web site with no changes to the template and used the "Copy Web Site" option to copy the web site
to the IIS directory (which is a sub dir of the root). I have set the default page in IIS for that directory to default.aspx. Whenever I try to go
http://localhost/rob I get "The page cannot be found". Even if I go straight to
http://localhost/rob/default.aspx I get the same thing. I've tried to put up a simple page with only a line of text and I get the same results. Using CTRL F5 within VWD Express runs the site with no problem. The
ASP.NET tab in IIS properties for the web site is version 2.0.50215.0.
I was dealing with the same exact issue this morning but finally figured it out. Right-click on the "Default Web Site" directory (or whatever you renamed this) in IIS and choose properties, then check to see if the "Scripts Only"
List Item from the Drop Down List is selected and make sure you have the "read" checkbox selected for the access permissions. If you make any changes in the dialog box and click OK then it will prompt you to ask what folder you would like to apply this to
and make sure you select the "/rob" directory and click OK.
Be sure to let me know if this doesn't work for you and I will walk you through exactly what I did when I get back to the box that I had to do this on.
Hi, thanks for the quick response.
No such luck though. I've tried it with the permissions wide open in IIS and I've also been playing with permissions in the file system.
I'm going to try in on my XP machine today. I have a trial ASP help desk app running on it so at least I know the ASP pages load properly.
Under the "Home Directory" Tab in the Default Web Site properties dialog, is "A directory on this computer" selected and is the Local Path set to "c:\inetpub\wwwroot" or wherever your "wwwroot" directory is located.
just encountered the same problem after I installed the VSTS Beta2 VPC and applied this VPC to Windows 2003 Server SP1.
don't know if this was caused by the strengthen security protect or what that caused me the same problem. but I think maybe you can check if you got WSS installed in your default website. if so, make a exclude path of your site and you may get rid of this 404
message.
that's what I was getting my personal web startkit site run. (althouth spend hours finding articles about this, and didn't noticed the VPC default set WSS on default website...)
I noticed this post is old, but this helped me... If .NET Framework v2.x is installed and IIS isn't displaying the .aspx files, try register .net with IIS. 1. Open Command prompt 2. TYPE: CD C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 3. TYPE: aspnet_regiis
-i You should then see something like: Start installing ASP.NET (2.0.50727). ................................................................... Finished installing ASP.NET (2.0.50727). Hope this helps someone.
JGPorteous, thank you. Your solution worked for me. I installed IIS on a windows 2003 server but i had problems with visual studio .net 2005 with 404 pages.
rgibson69
Member
317 Points
65 Posts
The page cannot be found - 404
Jun 27, 2005 12:02 AM|LINK
I have downloaded and installed .NET beta2, SQL 2005 Express and Visual Web Developer Express beta2.
My operating system is Windows Server 2003 SP1 with IIS. I'm simply trying to publish the Personal Web Site sample included with VWD Express. I've created a new web site with no changes to the template and used the "Copy Web Site" option to copy the web site to the IIS directory (which is a sub dir of the root). I have set the default page in IIS for that directory to default.aspx. Whenever I try to go http://localhost/rob I get "The page cannot be found". Even if I go straight to http://localhost/rob/default.aspx I get the same thing. I've tried to put up a simple page with only a line of text and I get the same results. Using CTRL F5 within VWD Express runs the site with no problem. The ASP.NET tab in IIS properties for the web site is version 2.0.50215.0.
Any help would be greatly appreciated.
Rob
aspnet_novic...
Participant
1002 Points
216 Posts
Re: The page cannot be found - 404
Jun 27, 2005 01:24 AM|LINK
I was dealing with the same exact issue this morning but finally figured it out. Right-click on the "Default Web Site" directory (or whatever you renamed this) in IIS and choose properties, then check to see if the "Scripts Only" List Item from the Drop Down List is selected and make sure you have the "read" checkbox selected for the access permissions. If you make any changes in the dialog box and click OK then it will prompt you to ask what folder you would like to apply this to and make sure you select the "/rob" directory and click OK.
Be sure to let me know if this doesn't work for you and I will walk you through exactly what I did when I get back to the box that I had to do this on.
|
www.adventerprises.net
rgibson69
Member
317 Points
65 Posts
Re: The page cannot be found - 404
Jun 27, 2005 01:11 PM|LINK
No such luck though. I've tried it with the permissions wide open in IIS and I've also been playing with permissions in the file system.
I'm going to try in on my XP machine today. I have a trial ASP help desk app running on it so at least I know the ASP pages load properly.
aspnet_novic...
Participant
1002 Points
216 Posts
Re: The page cannot be found - 404
Jun 27, 2005 01:24 PM|LINK
Under the "Home Directory" Tab in the Default Web Site properties dialog, is "A directory on this computer" selected and is the Local Path set to "c:\inetpub\wwwroot" or wherever your "wwwroot" directory is located.
|
www.adventerprises.net
rgibson69
Member
317 Points
65 Posts
Re: The page cannot be found - 404
Jun 27, 2005 01:54 PM|LINK
rgibson69
Member
317 Points
65 Posts
Re: The page cannot be found - 404
Jun 27, 2005 04:38 PM|LINK
This has resolved the issue.
rextangtw
Member
5 Points
1 Post
Re: The page cannot be found - 404
Jul 27, 2005 05:46 PM|LINK
just encountered the same problem after I installed the VSTS Beta2 VPC and applied this VPC to Windows 2003 Server SP1.
don't know if this was caused by the strengthen security protect or what that caused me the same problem. but I think maybe you can check if you got WSS installed in your default website. if so, make a exclude path of your site and you may get rid of this 404 message.
that's what I was getting my personal web startkit site run. (althouth spend hours finding articles about this, and didn't noticed the VPC default set WSS on default website...)
Rex
JGPorteous
Member
2 Points
1 Post
Re: The page cannot be found - 404
Apr 23, 2009 08:07 PM|LINK
holycrip
Member
12 Points
29 Posts
Re: The page cannot be found - 404
Sep 17, 2009 06:09 PM|LINK
THANK YOU! This last post did the trick for me.
sistemasorp
Member
2 Points
1 Post
Re: The page cannot be found - 404
Jun 02, 2010 06:51 AM|LINK
JGPorteous, thank you. Your solution worked for me. I installed IIS on a windows 2003 server but i had problems with visual studio .net 2005 with 404 pages.