473,386 Members | 1,743 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,386 software developers and data experts.

Cannot find DWG files

I am trying to locate a file using the following code

Set objXMLHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")

strURL = "http://server/ApprovedAutoCAD/140-00007-01.dwg"
objXMLHTTP.Open "GET", strURL, False, "login", "password"
objXMLHTTP.Send

strReturn = objXMLHTTP.status

I get a 404 status back indicating that the file is not found, which is incorrect. I am able to locate XLS and DOC files on the same directory. Any ideas why I cannot find a DWG (Drawing) file?
Jul 19 '05 #1
9 2920
put that URL into your browser once... what do you get?
I'm betting that the URL isn't valid.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Deepa" <an*******@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
I am trying to locate a file using the following code:

Set objXMLHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")

strURL = "http://server/ApprovedAutoCAD/140-00007-01.dwg"
objXMLHTTP.Open "GET", strURL, False, "login", "password"
objXMLHTTP.Send

strReturn = objXMLHTTP.status

I get a 404 status back indicating that the file is not found, which is

incorrect. I am able to locate XLS and DOC files on the same directory. Any
ideas why I cannot find a DWG (Drawing) file?
Jul 19 '05 #2
Are you able to retreive the file through a browser? Is this file hosted on
a server that has case-sensitivity in its file names?

Ray at work

"Deepa" <an*******@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
I am trying to locate a file using the following code:

Set objXMLHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")

strURL = "http://server/ApprovedAutoCAD/140-00007-01.dwg"
objXMLHTTP.Open "GET", strURL, False, "login", "password"
objXMLHTTP.Send

strReturn = objXMLHTTP.status

I get a 404 status back indicating that the file is not found, which is

incorrect. I am able to locate XLS and DOC files on the same directory. Any
ideas why I cannot find a DWG (Drawing) file?
Jul 19 '05 #3
The directory cannot be browsed thru the web, just restricted from users viewing. But for test purposes I was able to look at the file thru the browser. I am not sure about case sensitivity on filenames on server; how can I verify this

Thanks
Deepa
Jul 19 '05 #4
You're able to enter the path directly to the file in your browser and get
to the file? If so, copy that exact url into your code and you'll know that
if it's a case sensitivity thing, you have the case right anyway.

Ray at work

"Deepa" <an*******@discussions.microsoft.com> wrote in message
news:26**********************************@microsof t.com...
The directory cannot be browsed thru the web, just restricted from users viewing. But for test purposes I was able to look at the file thru the
browser. I am not sure about case sensitivity on filenames on server; how
can I verify this?
Thanks.
Deepa

Jul 19 '05 #5
Ray

I was incorrect; I was able to check from the list that the file is available in the directory thru the browser, but since I don't have the AutoCAD I wasn't able to open the file.

However, I tried to view the file thru another PC where I had the AutoCAD software and wasn't able to; gives a HTTP error with status 404. Also if I try to save file thru the browser I get a message that the requested site cannot be found. Is there some IIS setting that I need to do

Thanks
Deepa
Jul 19 '05 #6
The URL is correct, but when I try to open the file thru the browser I get a HTTP error with status 404. Also if I try to save file thru the browser I get a message that the requested site cannot be found. Any idea

Thanks
Deepa
Jul 19 '05 #7
If you're getting a 404, that means that the file that you requested does
not exist, most likely.

Are you/your server able to resolve the domain name?

Does the IIS server hosting the file have IIS Lockdown installed?

Ray at work

"Deepa" <an*******@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
Ray,

I was incorrect; I was able to check from the list that the file is available in the directory thru the browser, but since I don't have the
AutoCAD I wasn't able to open the file.
However, I tried to view the file thru another PC where I had the AutoCAD software and wasn't able to; gives a HTTP error with status 404. Also if I
try to save file thru the browser I get a message that the requested site
cannot be found. Is there some IIS setting that I need to do?
Thanks.
Deepa

Jul 19 '05 #8
What version of IIS. I believe that IIS6 will only server files that have
mime types defined.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Deepa" <an*******@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.com...
The URL is correct, but when I try to open the file thru the browser I get a HTTP error with status 404. Also if I try to save file thru the browser I
get a message that the requested site cannot be found. Any idea?
Thanks.
Deepa

Jul 19 '05 #9
then the URL isn't correct

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Deepa" <an*******@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.com...
The URL is correct, but when I try to open the file thru the browser I get a HTTP error with status 404. Also if I try to save file thru the browser I
get a message that the requested site cannot be found. Any idea?
Thanks.
Deepa

Jul 19 '05 #10

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

Similar topics

2
by: Chris Herring | last post by:
Hi there: Well, let me start off by saying that I am a Visual Studio drag and drop weenie, not a real programmer. So I tend to get confused when things do not look like the instructions said they...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
10
by: Jean-David Beyer | last post by:
I have some programs running on Red Hat Linux 7.3 working with IBM DB2 V6.1 (with all the FixPacks) on my old machine. I have just installed IBM DB2 V8.1 on this (new) machine running Red Hat...
2
by: Raed Sawalha | last post by:
Hello , I have windows service which do listening to specified directory using FileSystemWatcher , on Created Event and Get all the files in the directory using Directory.GetFiles function then...
0
by: Don | last post by:
I intermittently get a runtime Compilation Error that says 'The compiler failed with error code 2000'. It appears that a DLL cannot be found in the 'temporary asp.net files' directory. The...
19
by: lawrence k | last post by:
How can I find out where my script is outputting to the screen for the first time? My error logs are full of stuff like this: PHP Warning: session_start(): Cannot send session cache...
0
by: Kim Baker | last post by:
Strange new error and I'm hoping that many others have it :-) so that the solution is easy. Until recently I could click on a DBase IV file of type DBF in explorer and Access would open and the...
0
by: drewmania001 | last post by:
When trying to setup relplication for SQL i am getting the following error. "The system cannot find the path specified" The problem is when trying to run: sp_adddistributiondb line 434:...
1
by: Shiva48 | last post by:
Thanks to Gannon11 and ro351988- Moderator. I give below the complete Java file and pls help me to rectify the errors. package com.wrox.proj2ee.ch10.app; import java.io.*; import...
0
by: Tifer | last post by:
Hello, I am building my first .Net Application. The first couple of Publish and Installs I did went fine. But after a couple of builds, I get a modal dialogue box error every time upon trying...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.