954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

HTTP Error 404 - File or directory not found.

Hi All,
I am working on a web site project.

And it has the following set up:

web site name: madhu and

Local path: C:\madhu\Folder1(uses web.config file which is in Folder1 only).

But i have one file in C:\madhu\FolderXYZ\FileABC.doc.

If i try to access the FileABC.doc(Try to open the file) i get the error mentioned below:
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

HTTP Error 404 - File or directory not found.

Internet Information Services (IIS)



I tried with using appsettings, configuration etc but could not able to resolve this bug.
PLEASE do send your ideas as early as possiable.

Thanks and with regards,
Madhusudhan

cumadhu
Newbie Poster
19 posts since Sep 2005
Reputation Points: 10
Solved Threads: 0
 

I think what's probably happening, is it's not being uploaded to the webserver. It would sound like you're using Dreamweaver, so, just in case, open an FTP program and upload it yourself.

Sorry if this is totally not helpful and I'm wrong - also, remember you can just hit [ENTER], you don't need to type
.

UberAAZ
Junior Poster in Training
75 posts since Oct 2005
Reputation Points: 10
Solved Threads: 1
 

What does the code look like that is referencing this file in your project? Are you using the UNC or the literal location. Remember that Web address for you file is not what you would use to open the file in Windows.

Paladine
Master Poster
Team Colleague
824 posts since Feb 2003
Reputation Points: 211
Solved Threads: 27
 

Hi All, I am working on a web site project.
And it has the following set up:
web site name: madhu and
Local path: C:\madhu\Folder1(uses web.config file which is in Folder1 only).

But i have one file in C:\madhu\FolderXYZ\FileABC.doc.

If i try to access the FileABC.doc(Try to open the file) i get the error mentioned below:
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)

I tried with using appsettings, configuration etc but could not able to resolve this bug. PLEASE do send your ideas as early as possiable.

Thanks and with regards, Madhusudhan

Hi Madhu,

Could you please let me know how ur accesing the file. I mean r u creating any File object in you application or U r just navigating to that file using browser.

thanks,
Kedar

kedar_challa
Light Poster
47 posts since Nov 2005
Reputation Points: 10
Solved Threads: 1
 

Hi Madhu,

Could you please let me know how ur accesing the file. I mean r u creating any File object in you application or U r just navigating to that file using browser.

thanks, Kedar

Hi Kedar,
I am navigating to that file using browser.
And still i coult not able to solve this issue.

Thanks with regards,
Madhusudhan

cumadhu
Newbie Poster
19 posts since Sep 2005
Reputation Points: 10
Solved Threads: 0
 

Yes, I made it as Virtual (web) folder

Thanks with regards,
Madhusudhan

cumadhu
Newbie Poster
19 posts since Sep 2005
Reputation Points: 10
Solved Threads: 0
 

So just to clarify;

You have this folder C:\madhu which is a Web Project Folder (meaning you have it set as a Virtual Folder under IIS) ?

You have a Sub Folder which contains a file FileABC.doc, making the physical location for this file as c:\madhu\FolderXYZ\FileABC.doc, and you want to access it through the browser?

So to access it with the browser you would have to put this address into the browser address bar: http://localhost/madhu/FolderXYZ/FileABC.doc (Assuming you made the virtual directory under IIS the same name of madhu as you did the physical folder)

Hope this helps, if not please clarify the details so we can resolve this problem you are experiencing.

Paladine
Master Poster
Team Colleague
824 posts since Feb 2003
Reputation Points: 211
Solved Threads: 27
 
Hi Kedar, I am navigating to that file using browser. And still i coult not able to solve this issue. Thanks with regards, Madhusudhan



Could you please send me the URL that ur navagating.

kedar_challa
Light Poster
47 posts since Nov 2005
Reputation Points: 10
Solved Threads: 1
 

Hi Kedar,
I could not able to send the URL, it is kept with high security in our office.
URL is specific to the user. Need proper Authentication.
I will try and get back to you.

Thanks and with best regards,
Madhusudhan

cumadhu
Newbie Poster
19 posts since Sep 2005
Reputation Points: 10
Solved Threads: 0
 

Hi Paladine,
I basically thought the same, but not implemented :).
I do work on this concept now. And i will keep you updated.

Thanks and with regards,
Madhusudhan

cumadhu
Newbie Poster
19 posts since Sep 2005
Reputation Points: 10
Solved Threads: 0
 
Paladine
Master Poster
Team Colleague
824 posts since Feb 2003
Reputation Points: 211
Solved Threads: 27
 

FYI

http://support.microsoft.com/default.aspx?scid=kb;en-us;316431

Thank you Paladine.

I could able to change my folder strecture and got rectfied the Issue.

Thanks a lot of kind support from Team Daniweb.
I will be always greatful to you.

Thanks and with best wishes,
Madhusudhan

cumadhu
Newbie Poster
19 posts since Sep 2005
Reputation Points: 10
Solved Threads: 0
 

No problem, glad you got it all worked out.

Take care!

Paladine
Master Poster
Team Colleague
824 posts since Feb 2003
Reputation Points: 211
Solved Threads: 27
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You