Asp The Page Cannot Be Found Error
Contents |
Written by Imar Spaanjaars Posted 02/21/2004 12:24 Modified 02/28/2006 18:53 Reviewed 02/28/2006 18:53 Page views 66571 Print this Page Looking to hire? Are you looking to hire an experienced software developer or .NET consultant? error 404 not found Then get in touch with me through my company's web site at devierkoeden.com Do http error 404 - file or directory not found you like this site? Found an interesting article on this site? Got inspired by something you read here? Then consider making 404 error page a donation with PayPal. Rate this item Like this article? Or do you think it sucks? Make yourself heard by casting your vote below. 1 2 3 4 5 (Sucks) (Rules) Total number of ratings: http error 404. the requested resource is not found. 103 Follow me on Twitter Want to be notified of new posts on this web site? Then follow me on Twitter. Why Do I Receive a "The page cannot be found" Error With ASP.NET On Windows Server 2003? When you have installed ASP.NET on Windows Server 2003, you may receive the following 404 - Page Not Found error: The page cannot be found The page you are looking for might have
404 - File Or Directory Not Found. Iis7
been removed, had its name changed, or is temporarily unavailable. Please try the following: Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly. If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted. Click the Back button to try another link. HTTP Error 404 - File or directory not found. Internet Information Services (IIS) Technical Information (for support personnel) Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404. Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages. This error is only thrown with dynamic ASPX pages; static HTML files, graphics etc are served just fine. This error is caused by the fact that IIS 6 disallows the ASP.NET 2.0 Web Service Extension. To fix this, follow these steps: Open up the Internet Information Services (IIS) Manager (which you find under Administrative Tools) Expand your server Select Web Service Extensions In the right hand pane, click ASP.NET v2.0.50727 (or a later version number) and then click the Allow button. From now on, II
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss
Error 401
the workings and policies of this site About Us Learn more error 404 google about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow 400 error Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping http://imar.spaanjaars.com/254/why-do-i-receive-a-the-page-cannot-be-found-error-with-aspnet-on-windows-server-2003 each other. Join them; it only takes a minute: Sign up Change to Asp.net 4.0 got “The page cannot be found” up vote 3 down vote favorite 2 I've just change the existing virtual dir ASP.net version from 2.0 to 4.0 and browsed previous working web page. But right now I'm getting an error saying "HTTP Error 404 http://stackoverflow.com/questions/3792378/change-to-asp-net-4-0-got-the-page-cannot-be-found - File or directory not found." Any ideas? Revert it back to ASP.net 2.0, problem went away. I've also executed "aspnet_regiis.exe -i", it didn't work. asp.net iis share|improve this question asked Sep 25 '10 at 3:32 Lys 127513 add a comment| 2 Answers 2 active oldest votes up vote 2 down vote accepted What's the path to your home page? Check that your home page is included as a "Default Document" in IIS. If you're using an Application Pool, try changing the Managed Pipeline Mode to Classic, and also check that the correct .NET version is set for it (App Pool basic settings). share|improve this answer answered Sep 25 '10 at 5:13 IrishChieftain 12.3k33368 2 Thanks for the reply. You answer directed me to check Web Service Extensions. ASP.Net v4.0 prohibited there and when I allowed it, the problem went away. –Lys Sep 25 '10 at 5:58 A tad more info on Web Service Extensions is found here: denalimultimedia.com/info/… –LosManos Jan 16 '13 at 15:15 add a comment| u
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings http://stackoverflow.com/questions/467188/why-would-an-aspx-file-return-404-the-page-cannot-be-found and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation http://superuser.com/questions/741486/page-not-found-in-iis-but-its-there Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; error 404 it only takes a minute: Sign up Why would an aspx file return 404 (“The page cannot be found”) up vote 30 down vote favorite 9 Why when I access an aspx (e.g., http://www.example.com/foo.aspx - not the real site) through IE6 would I get a 404 Error (i.e., "The page cannot be found") in IIS6 I've got scripts enabled for http error 404 the website and I've tried with executables enabled as well. Here is the full error: The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. ------------------------------------------------------------------------------ Please try the following: Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly. If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted. Click the Back button to try another link. HTTP Error 404 - File or directory not found. Internet Information Services (IIS) ------------------------------------------------------------------------------ Technical Information (for support personnel) Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404. Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages. I can get to Default.htm in the same directory, so I know the path is right. I've opened it up to every
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Page not found in IIS, but it's there up vote 1 down vote favorite I have just installed IIS on Windows Server 2008. If I go to localhost, the default page is displayed, so the web server is ok. I have added a folder with a page in it in the \inetpub\wwwroot directory. The full path to the page is then C:\inetpub\wwwroot\folder\file.html. I have restarted the services but if I navigate to localhost/folder/file.html I get a 404 file not found error. Obviously I have forgotten something simple, but what is it? :) iis http-status-code-404 share|improve this question asked Apr 14 '14 at 10:44 user1301428 1,74542246 Check error log, you will find what exactly it is searching –Sai Apr 14 '14 at 11:56 @Sai It is searching that exact file: GET /folder/file.html - 80 –user1301428 Apr 14 '14 at 12:08 I think this is from access log, there will be error log, whenever it fails...! –Sai Apr 14 '14 at 12:10 @Sai Uhm, weird.. That's the only log file I have.. –user1301428 Apr 14 '14 at 12:25 Check this, forums.iis.net/t/1189242.aspx?IIS+7+HTTP+Error+Log+Location –Sai Apr 14 '14 at 12:28 | show 5 more comments 2 Answers 2 active oldest votes up vote 0 down vote I've had this issue before - I had to set the username and password in again at Anonymous Authentication and it worked perfectly. You