|
-
ADO stream error c004800a
Hello,
I am encountering the error 'Could not complete the operation due to error c004800a' while trying to stream a text file from an IIS webserver to the Client. The code is VBScript executed on the client side. I know the code works because I am using it fine on a local test box. When I test the code on the live box I get this error.
I have had no luck in finding much information on this error. Any help would be great. Thanks.
This is the code:
<script language="VBScript">
' Set up an ADO Stream
Dim objStream
Set objStream = CreateObject("ADODB.Stream")
objStream.Type = 1 ' adTypeBinary
'open file on server
objStream.Open("URL=http://xxx.xxx.com/xxxxx/xxx/test.txt")
' Save to client
objStream.SaveToFile "C:\test2.txt", 2 ' adSaveCreateOverWrite
objStream.Close
Set objStream = Nothing
</script>
-
Please post the solution if any.
Hello mikec,
I am having the same trouble. Did you find any solution to this problem? I would appreciate if you can post the solution or how did you solve the situation. Thanks in advance.
Regards
Jetta74
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|