ADO stream error c004800a

Sharky Forums


Results 1 to 2 of 2

Thread: ADO stream error c004800a

  1. #1
    Goldfish
    Join Date
    Dec 2000
    Posts
    62

    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>

  2. #2
    Sushi
    Join Date
    May 2008
    Posts
    1

    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
  •