| | |
HTTP Error 404 - File or directory not found.
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Sep 2005
Posts: 19
Reputation:
Solved Threads: 0
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
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
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>.
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>.
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.
•
•
•
•
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
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
•
•
Join Date: Sep 2005
Posts: 19
Reputation:
Solved Threads: 0
•
•
•
•
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
I am navigating to that file using browser.
And still i coult not able to solve this issue.
Thanks with regards,
Madhusudhan
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.
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.
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: Free ASP.NET Application with code to practice
- Next Thread: web form not working please help
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 3.5 ajax alltypeofvideos anathor appliances application asp asp.net beginner box browser businesslogiclayer button c# cac checkbox class commonfunctions control countryselector dataaccesslayer database datagrid datagridview datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol feedback fileuploader fill findcontrol flash folder form gridview gudi iis image javascript list listbox login maps microsoft mobile mouse mssql nameisnotdeclared news novell numerical opera panelmasterpagebuttoncontrols parent problem project radio redirect registration relationaldatabases reportemail richtextbox schoolproject search security select sessionvariables silverlight smoobjects software sql sql-server sqlserver2005 ssl tracking treeview validatedate validation vb.net videos vista visualstudio vs2008 web webapplications webdevelopment webprogramming webservice wizard xsl






.