473,394 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

"The resource cannot be found" error accessing a .aspx file

I am having a really strange problem. I have a site setup in a virtual
directory that fails with the error below. It works on other web servers
that are network load balanced with this server. I can go right to the
default.aspx right in the ISS Manager and right-click browse and the error
still comes up. I re-copied the folder over from a working server and
checked IIS and NTFS permissions and it all matches. I recreated the
virtual directory as well. I can pull up a .htm file from the virtual
directory and I can pull up other .aspx files from other sites on the
server. But no aspx file work at all in this virtual directory. I
re-installed ASP.NET on the server as well. I looked in the event log and
logfiles and found nothing.

Any ideas?
Server Error in '/app' 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: /app/Default.aspx
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
Nov 19 '05 #1
2 15457
I figured it out.

Under the root path in IIS configuration, under "Home Directory"
under the field "local path". "c:\inetpub\mywebsite\" is not the same
as "c:\inetpub\mywebsite" apparently now. My site came back alive as
soon as I removed the trailing backslash so that the path now says
"c:\inetpub\mywebsite".

Who would know?
"Steve M" <st***@donotreply.com> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
I am having a really strange problem. I have a site setup in a virtual
directory that fails with the error below. It works on other web servers
that are network load balanced with this server. I can go right to the
default.aspx right in the ISS Manager and right-click browse and the error
still comes up. I re-copied the folder over from a working server and
checked IIS and NTFS permissions and it all matches. I recreated the
virtual directory as well. I can pull up a .htm file from the virtual
directory and I can pull up other .aspx files from other sites on the
server. But no aspx file work at all in this virtual directory. I
re-installed ASP.NET on the server as well. I looked in the event log and
logfiles and found nothing.

Any ideas?
Server Error in '/app' 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: /app/Default.aspx
-------------------------------------------------------------------------- -- ----
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

Nov 19 '05 #2
Mac
"Steve M" <st***@donotreply.com> wrote in message
news:<OD**************@tk2msftngp13.phx.gbl>...
I figured it out.

Under the root path in IIS configuration, under "Home Directory"
under the field "local path". "c:\inetpub\mywebsite\" is not the same
as "c:\inetpub\mywebsite" apparently now. My site came back alive as
soon as I removed the trailing backslash so that the path now says
"c:\inetpub\mywebsite".

Who would know?


Did you by any means install the latest security patches from
Microsoft like the Security Update for Microsoft .NET Framework,
Version 1.1 Service Pack 1 (KB886903)? After I installed this (and
other patches) and rebooted the server, all sites worked except the
one utilizing .Net. Luckily I discovered this post and it solved my
problem too. Works like a charm again.

Grtz,

Mac
Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: kongkong99 | last post by:
Hi, I have an ASP.NET application that loads files, parses them and loads in the database which is running in window 2000 webserver. When I load a text file after the file is parsed and the...
9
by: Martin Eyles | last post by:
Hi, I have set up an asp.net website on another PC in order to test it. The site was fine on my PC, but on the new PC all the pages give the error "The Page Cannot Be Found". Some legacy pages...
6
by: Nathan Sokalski | last post by:
I recently converted some ASP.NET 1.1 projects of mine, created with Visual Studio .NET 2003, to Web Application Projects in Visual Studio .NET 2005 so that I could use ASP.NET 2.0 (All my ASP.NET...
4
by: samadams_2006 | last post by:
Hello, I have a peculiar problem that I'm hoping someone can help me out with. I have a simple enough Web Application written in VB.Net via Visual Studio 2003. It simply displays a Web Form...
0
by: SushiSean | last post by:
When executing the xmlhttp.send function to request shipper for available shipments (I send xml as string and receive result xml): XMLHTTP xmlhttp = new XMLHTTP(); xmlhttp.open("POST",...
23
by: deathtospam | last post by:
A day or two ago, I wrote a quick ASPX page with a CS codebehind using Visual Studio .NET 2005 -- it worked, I saved it and closed the project. Today, I came back to the project, reopened the...
6
by: TC | last post by:
Hey All, I'm receiving a weird error in IE now: "The XML page cannot be displayed" This is even with the simplest of pages that I previously could view. Any ideas?
11
by: nelsonbrodyk | last post by:
Hey All, I want to use a resource file to store key/value pairs (resx file calls them Name/Value) for errors. I want the Key(Name) to be the error code, and the value to be the message. My only...
3
maliksleo
by: maliksleo | last post by:
hi all i m having this "The resource cannot be found." error. I applied the url rewriting on my project every page is being browsed very well but i am getting the above error an some pages i dont...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.