473,239 Members | 1,574 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,239 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 2916
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: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.