Aspx Page Not Found Error
Contents |
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 aspx error page template us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow aspx custom error page Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ASPX aspx error 404 Page Not Found (Error 404), though it exists? up vote 1 down vote favorite I have a C#.NET project and am having a problem with a single web forms, ASPX page when debugging my application. Most of my application works fine, but
Aspx Error Path
when I hit a particular page, I get an Error 404, resource not found. I don't understand this because the file does exist, and it exists in the path that is being referenced. And, I hit several other ASPX pages on the way to this one, without error. Now, I should mention that this particular page was only recently added to the project. My coworker, who added the page, says he was able to get the page to work, but we have different environments. 404 - file or directory not found. iis7 So, I'm sure that has something to do with it, but I don't know what. Below are the known details regarding the differences between our environments. My environment Windows 8.1 IIS Express Visual Studio 2013 Co-workers environment Windows 7 IIS 7 Visual Studio 2012 We are both running with the same source code, as well as the same site and application pool settings in IIS, which are pointed to run time 4.0 and in classic mode. Does anyone here have any idea why this would happen, or what I might try to get past this? asp.net http-status-code-404 iis-express windows-8.1 share|improve this question asked Oct 30 '13 at 0:10 campbelt 82341739 1 Any routing in global.asax? –Zerkey Oct 30 '13 at 1:55 Thank you for the question. I am routing in global.asax because we also have an MVC component in our app. I can look into whether the routes are getting in the way. But, if that were it, wouldn't my co-worker also have the same problem? –campbelt Oct 30 '13 at 3:04 1 support.microsoft.com/kb/943891 404 is a very large category, so you should try to learn which subcategory you hit. –Lex Li Oct 30 '13 at 3:42 Thanks. I'll see if I can work it out. –campbelt Oct 30 '13 at 5:11 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted I ended up fixing this by switching to local iis and enabling the Static Content option in Windows Feature
Websites Community Support ASP.NET Community Standup ForumsHelp Web Forms:Guidance Videos Samples Forum Books Open Source Getting Started Getting StartedGetting Started with ASP.NET 4.5 aspx page 404 Web Forms and Visual Studio 20131. Getting Started with Web Forms and
Http Error 404 - File Or Directory Not Found. Internet Information Services (iis)
Visual Studio2. Create the Project3. Create the Data Access Layer4. UI and Navigation5. Display Data Items and
Iis 8 Aspx 404
Details6. Shopping Cart7. Checkout and Payment with PayPal8. Membership and Administration9. URL Routing10. ASP.NET Error HandlingIntroduction to ASP.NET Web FormsCreating a Basic Web Forms Page in Visual Studio 2013Creating http://stackoverflow.com/questions/19671518/aspx-page-not-found-error-404-though-it-exists ASP.NET Web Projects in Visual Studio 2013Code Editing ASP.NET Web Forms in Visual Studio 2013ASP.NET Scaffolding in Visual Studio 2013ASP.NET Web Forms (dotnetConf 2014)Using Page Inspector for Visual Studio 2012 in ASP.NET Web FormsVisual Studio 2012 Hands On LabsWhat's New in ASP.NET and Web Development in Visual Studio 2012What's New in Web Forms in ASP.NET 4.5Using Page Inspector in http://www.asp.net/web-forms/overview/getting-started/getting-started-with-aspnet-45-web-forms/aspnet-error-handling Visual Studio 2012Monitoring and TelemetryRoutingASP.NET 4 - RoutingASP.NET 4 - Defining RoutesASP.NET 4 - Constructing URLs from RoutesASP.NET 4 - Accessing URL Parameters in a PageJavaScript and Client FrameworksASP.NET 4 - Microsoft Ajax OverviewASP.NET AJAX Control Toolkit (maintained by DevExpress)Working with Data Getting Started with ASP.NET 4.5 Web FormsModel Binding and Web Forms in Visual Studio 20131. Retrieving and Displaying Data2. Updating, Deleting, and Creating Data3. Sorting, Paging, and Filtering Data4. Integrating JQuery UI Datepicker5. Using Query String Values to Filter Data6. Adding Business Logic LayerASP.NET 4 Web Forms - Validating User Input in a PageASP.NET 4 Web Forms - State ManagementASP.NET Data Access - Recommended ResourcesServer Data ControlsASP.NET 4 Data-Bound ControlsASP.NET 4 Data Source Controls OverviewASP.NET 4.5 Chart ControlRecommended Resources for ASP.NET Data AccessSecurity, Authentication, and Authorization Getting Started with ASP.NET 4.5 Web FormsASP.NET IdentityCreate a secure ASP.NET Web Forms app with user registration, email confirmation and password reset (C#)Create an ASP.NET Web Forms app with SMS Two-Factor Authentication (C#)OWIN and KatanaPerformanceUsing Asynchronous Methods in ASP.NET 4.5[Build 2014] Deep Dive: Improving Pe
Written by Imar Spaanjaars Posted 02/21/2004 12:24 Modified 02/28/2006 18:53 Reviewed 02/28/2006 18:53 Page views 66603 Print this Page Looking to hire? Are you looking to hire an experienced software developer or .NET consultant? Then get in touch with http://imar.spaanjaars.com/254/why-do-i-receive-a-the-page-cannot-be-found-error-with-aspnet-on-windows-server-2003 me through my company's web site at devierkoeden.com Do you like this site? Found an interesting article on this site? Got inspired by something you read here? Then consider making 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: 103 Follow me on Twitter Want to be notified not found 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 been removed, had its name changed, or is temporarily unavailable. Please try the following: 404 - file 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, IIS is allowed to serve ASP.NET 2.0 pages, and won't throw 404 errors for every page in your site. Where to Next? Wonder where to go next? You ca