[Home]Tech Tip - Server Error In .NET 2.0 Application The Resource Can Not Be Found

Contents | (Visit Preferences to set your user name.) | Related To Tech Tip - Server Error In .NET 2.0 Application The Resource Can Not Be Found | RecentChanges | Preferences | Index | Login | Logout

Featured: Featured Stories | Picture Gallery

Eugenics/BottomAd1 | Software License Agreements
Google
Chat11.com Web Bible11.com MyBibleCenter.com
Cover of ISBN 0789728966Absolute Beginner's Guide to Computer Basics
Cover of ISBN 0789730332How Computers Work, Seventh Edition
Cover of ISBN 0764540742PCs for Dummies, Ninth Edition
Cover of ISBN B00005N7TLWired MAGAZINE
Cover of ISBN B00005N7Q4Fast Company
Cover of ISBN B00005N7P0Maximum Pc - Non-disc Version
Cover of ISBN B00006FXQODVD - Triumph of the Nerds - 1996
Cover of ISBN B0002AHVQ4DVD - Beginner's Java 2 v1.5 2004 on DVD
Cover of ISBN B0002AHVPUDVD - Beginner's Windows Server 2003 on DVD
Cover of ISBN B000003M06Music - Strike on Computers

Tech Tips : Server Error in '/ Website' Application

Subjects > ... > Computers > Internet > Web > Tech Tips

By Garnet
While developing an application in Visual Studio 2005, you may be suddenly unable to debug the application. The error message will look like this:

Title: The resource cannot be found

Server Error in '/Portal?Create' Application.


The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /Portal?Create/Default?Create.aspx


Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44

Checking google for solutions to this problem, most responses will mention checking IIS metadata, or other things about IIS.

Here's my response:

Re: 404 Errors with ASP.NET v2.0 - dependency issues?

I had this happening when I'd try to debug a web application using the ASP.NET Development Server. All the advice concerning IIS has nothing to do with the operation of the ASP.NET Development Server that comes with Dev Studio 2005 because it runs separately from IIS.

Check if the file app_offline.htm is in the root directory for your web application. It will cause exactly the error message you describe. I am not sure what it is that left that file on my development machine, but once I erased it, I could then continue debugging my application.

This file seems to be placed on a website during the publish operation to keep it shutdown while the publish is in progress.

- Garnet

I tried to post this in the Microsoft forum at http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=84047, but their submit was broken.

Google searches I tried:


See more of Garnet's Tech Tips ...

Did This Page Help You Solve A Difficult Problem?

Tech Tips By Garnet ...

If so, I'd like to hear from you.

I spend a lot of time tracking down solutions to many problems and questions, and it takes a lot of time to write about the answers so you can benefit from them. But I hope this page helped you solve your problem, or answered your question, clearly and quickly. If you'd like to support my making more tech tips, please donate a couple of bucks via paypal! For any size donation, I'll send you an Internet Guide on the topic of your choice to include on your website. See [Guides To The Internet] for some examples.

Please also consider making a link to this page from your website.

You can also reach me privately with your questions at [my contact page]!

- Garnet

From Tech Tips

From Tech Tips

Contents | (Visit Preferences to set your user name.) | Related To Tech Tip - Server Error In .NET 2.0 Application The Resource Can Not Be Found | RecentChanges | Preferences | Index | Login | Logout
Edit this www.chat11.com page | View other versions
Last edited April 8, 2007 3:16 am (diff)
Search:
Sign up for PayPal and start accepting credit card payments
instantly.
Bobsgear - Get A Free Enterrpise Wiki Space!
Review: The Bobsgear Project was started to develop a variety of Confluence plugins. This installation of the Confluence Enterprise wiki includes flexible attachments, many Confluence plugins, personal blogs, interesting articles, and more. Bobsgear already has spaces related to politics, art and photography wiki, technical issues wiki, ediscovery wiki, health, Christian theology and Sabbath School wiki, the bible, book reviews, and quotations. Bobsgear allows free signup, and invites anyone to create a free hosted Confluence wiki space.


NEW USERS CLICK HERE! for a quick introduction to Wiki.

 

 Interested in Avatar100803?
1192 total hits since 9/2007
Recently accessed pages: Automotive HomePages HomePages/How To Use Chat11 Wiki To Keep Track Of Solutions To Problems Malaysia's Fire Fly Farm With Beautiful Fireflies Michael Moore Is The Darling Of Anti-Americans Foreign And Domestic Mother Quotation Paul Quotations Viagra

Elapsed:0