User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 391,596 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,687 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 15671 | Replies: 12
Reply
Join Date: Sep 2005
Posts: 19
Reputation: cumadhu is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
cumadhu cumadhu is offline Offline
Newbie Poster

Help HTTP Error 404 - File or directory not found.

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

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

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

<BR>
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2005
Posts: 72
Reputation: UberAAZ is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
UberAAZ's Avatar
UberAAZ UberAAZ is offline Offline
Junior Poster in Training

Re: HTTP Error 404 - File or directory not found.

  #2  
Oct 12th, 2005
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 <br>.
Reply With Quote  
Join Date: Feb 2003
Location: Canada
Posts: 786
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Rep Power: 9
Solved Threads: 25
Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: HTTP Error 404 - File or directory not found.

  #3  
Oct 12th, 2005
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.
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
Reply With Quote  
Join Date: Nov 2005
Location: Mountain View, CA
Posts: 47
Reputation: kedar_challa is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
kedar_challa's Avatar
kedar_challa kedar_challa is offline Offline
Light Poster

Re: HTTP Error 404 - File or directory not found.

  #4  
Nov 9th, 2005
Originally Posted by cumadhu
Hi All,
I am working on a web site project.<BR>
And it has the following set up:<BR>
web site name: madhu and <BR>
Local path: C:\madhu\Folder1(uses web.config file which is in Folder1 only).<BR>

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

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

<BR>
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
Reply With Quote  
Join Date: Sep 2005
Posts: 19
Reputation: cumadhu is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
cumadhu cumadhu is offline Offline
Newbie Poster

Re: HTTP Error 404 - File or directory not found.

  #5  
Nov 9th, 2005
Originally Posted by kedar_challa
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
Reply With Quote  
Join Date: Feb 2003
Location: Canada
Posts: 786
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Rep Power: 9
Solved Threads: 25
Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: HTTP Error 404 - File or directory not found.

  #6  
Nov 10th, 2005
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.
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
Reply With Quote  
Join Date: Sep 2005
Posts: 19
Reputation: cumadhu is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
cumadhu cumadhu is offline Offline
Newbie Poster

Re: HTTP Error 404 - File or directory not found.

  #7  
Nov 10th, 2005
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
Reply With Quote  
Join Date: Nov 2005
Location: Mountain View, CA
Posts: 47
Reputation: kedar_challa is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
kedar_challa's Avatar
kedar_challa kedar_challa is offline Offline
Light Poster

Re: HTTP Error 404 - File or directory not found.

  #8  
Nov 10th, 2005
Originally Posted by cumadhu
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.
Thanks,

KedarNath Challa
Reply With Quote  
Join Date: Sep 2005
Posts: 19
Reputation: cumadhu is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
cumadhu cumadhu is offline Offline
Newbie Poster

Re: HTTP Error 404 - File or directory not found.

  #9  
Nov 10th, 2005
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
Reply With Quote  
Join Date: Feb 2003
Location: Canada
Posts: 786
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Rep Power: 9
Solved Threads: 25
Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: HTTP Error 404 - File or directory not found.

  #10  
Nov 11th, 2005
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 11:33 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC