Last post May 24, 2010 08:40 AM by Suchi_Richa
Jul 16, 2007 08:26 AM|cpboland|LINK
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.
Hi I am getting the above eror when I deploy my asp.net project to my web server. This project runs through VS2005 locally. Also when i deploy the built project on my local machine it also runs. Only when I deploy it to my web server does it bive me the
error above. I have ensured that all files are there and that the permissions are set correctly.
I have a number of other projects running from this web server so I would think that if it was an IIS config issue that it would impact the other projects.
Any help appreciated.
Jul 16, 2007 09:26 AM|ca8msm|LINK
Is the correct version of the .NET framework selected in the ASP.NET tab (in IIS) for this application?
Website Design Darlington - http://lessthandot.com -
Jul 16, 2007 04:38 PM|cpboland|LINK
Yes The correct version of .NET is selected in IIS (.NET 2.0)
Jul 16, 2007 04:44 PM|ca8msm|LINK
And when you say you have a number of other projects running on this server, are they .NET projects as well (and what version)?
Jul 17, 2007 04:50 AM|cpboland|LINK
Yea, All .NET ASP projects running .NET 2.0. All the projects are very similar tot he problem one.
Jul 17, 2007 05:00 AM|ca8msm|LINK
What about application pools? Are there multiple pools and is the problem site using the correct one?
Jul 19, 2007 10:15 AM|cpboland|LINK
There is only one application pool. Also it is only one aspx file in the site that it can't find. The other files are available to view but I can see all the files on a other server and on my local machine
Jul 23, 2007 09:19 AM|cpboland|LINK
For anybody who may want the fix for this I finally found out the issues.
I was reading in an external csv file into a class in my application.
Instead of using Server.Mappath, I referenced the file c:\inetpub\www\.... directly
As my server virtual directlry was on the D: drive it could never find the file and load the class.
Jul 08, 2009 01:14 PM|oswaldogc17|LINK
i have various aplication pools, two named the same. my problem occurs when i try to redirect my website to the login page. in the past it was login.aspx, but it gave me an error that made me change it to pglogin.aspx, so i changed everything that had login,
Requested URL: /PayGate/login.aspx
i thought i didnt change it somwwhere in the app but i checked and everything is in order, and locally my app works fine, it fails when I run the app from iis.
for the record, when i launch my application it starts on pglogin.aspx, and works fine, that lead to my masterpage with its content links. the error is happening when i click logout, that is suppossed to direct me to pglogin.aspx again
i hope i made my self clear
Oct 08, 2009 10:49 AM|haydeez26|LINK
How exactly did you reference it? Im new at this so all the help I can get is greatly appreciated!!
Mar 31, 2010 04:54 AM|jsamir|LINK
I am designing a website through VWD2005 express edition. The database is handled by SQL server 2005 express edn.
I was able to debug the website till yesterday but today when i am trying to debug the website in localhost it is giving me the following error message:-
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.
VWD is installed in C drive and SQL in D drive.
HTTP 404 error.
May 13, 2010 11:57 AM|Suchi_Richa|LINK
Were you able to solve your problem? I am facing the same problem. I would be glad if you can help me out if you have solved yours.
May 17, 2010 04:52 AM|Suchi_Richa|LINK
I was able to solve this problem.
This is when you are running the application in debug mode on your machine, it gives 404 error.
The issue was because I had in the web.config file under the section authentication->Identity, had impersonation to true and provided a userid and pwd. In this situation the userdid did not have permissions to access the page. And since in the web.config
file the custom error turned off, which was misleading.
The problem solved when I set <identity impersonate="true" /> then everything is back to normal.
This might help some one.
May 22, 2010 10:18 PM|rakesh139|LINK
I have also the same issue. But i am not using the Impersonate.If also i set [<identity impersonate="true" />] i am having same problem.
I am not browsing this through IIS.
Your help is much more appreciated!
May 24, 2010 08:40 AM|Suchi_Richa|LINK
Make sure you have following set up in your web.config file.
If you still see the error then set the custom error mode off in the web.config so that you see the real error message and then you should be able to sort things out.