ADO STREAM error

P

Pedro

I'm trying to execute the piece of code below:

Const adTypeBinary = 1
Dim BinaryStream
Set BinaryStream = CreateObject("ADODB.Stream")

'Specify stream type - we want To get binary data.
BinaryStream.Type = adTypeBinary

'Open the stream
BinaryStream.Open
URL=http://server/docs/mydocs/myfile.jpg

As soon as the Open method is executed I get the follwoing
message:
Microsoft OLE DB Service Components error '80040e19'

Object or data matching the name, range, or selection
criteria was not found within the scope of this operation.

The code above works well when I run it locally against my
local instance of IIS5.0. When I load it into my ISP
server, I get the error message above.

Thanks for the help.
Pedro.
 
P

Pedro

I tried saving URL to a variable and passing it to the
Open method. It didn't work. I got the same error
message...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top