The page cannot be found - 404

Last post 09-17-2009 2:09 PM by holycrip. 8 replies.

Sort Posts:

  • The page cannot be found - 404

    06-26-2005, 8:02 PM
    • Member
      315 point Member
    • rgibson69
    • Member since 03-20-2004, 10:43 PM
    • Brantford, Ontario, Canada
    • Posts 64
    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.

    Any help would be greatly appreciated.

    Rob
  • Re: The page cannot be found - 404

    06-26-2005, 9:24 PM
    • Participant
      992 point Participant
    • aspnet_novice
    • Member since 05-20-2005, 5:16 PM
    • Huntsville, AL USA
    • Posts 216

    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.



    |

    ADV Enterprises
    www.adventerprises.net
  • Re: The page cannot be found - 404

    06-27-2005, 9:11 AM
    • Member
      315 point Member
    • rgibson69
    • Member since 03-20-2004, 10:43 PM
    • Brantford, Ontario, Canada
    • Posts 64
    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.
  • Re: The page cannot be found - 404

    06-27-2005, 9:24 AM
    • Participant
      992 point Participant
    • aspnet_novice
    • Member since 05-20-2005, 5:16 PM
    • Huntsville, AL USA
    • Posts 216

    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.





    |

    ADV Enterprises
    www.adventerprises.net
  • Re: The page cannot be found - 404

    06-27-2005, 9:54 AM
    • Member
      315 point Member
    • rgibson69
    • Member since 03-20-2004, 10:43 PM
    • Brantford, Ontario, Canada
    • Posts 64
    yep.
  • Embarrassed [:$] Re: The page cannot be found - 404

    06-27-2005, 12:38 PM
    • Member
      315 point Member
    • rgibson69
    • Member since 03-20-2004, 10:43 PM
    • Brantford, Ontario, Canada
    • Posts 64
    I guess it would help if the web service extensions were set to allow ASP.Net instead of deny.
    This has resolved the issue.
  • Re: The page cannot be found - 404

    07-27-2005, 1:46 PM
    • Member
      5 point Member
    • rextangtw
    • Member since 12-31-2003, 5:10 AM
    • Posts 1
    hi.

    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
  • Re: The page cannot be found - 404

    04-23-2009, 4:07 PM
    • Member
      2 point Member
    • JGPorteous
    • Member since 04-23-2009, 8:04 PM
    • Posts 1
    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.
  • Re: The page cannot be found - 404

    09-17-2009, 2:09 PM
    • Member
      12 point Member
    • holycrip
    • Member since 02-09-2009, 1:41 PM
    • Posts 29

    THANK YOU! This last post did the trick for me.


Page 1 of 1 (9 items)