Ask a Question related to ASP Components, Design and Development.

  1. #1

    Default ADO Stream object

    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.
    Pedro Guest

  2. Similar Questions and Discussions

    1. Handling Object Stream / Cross Ref stream in PDF 1.4
      Hi, My PDF Application handles only PDF spec 1.4 and when my Application process a PDF file generated with Acrobat ~ PDF 1.6, I see some Cross...
    2. can stream LIVE, but can't stream FLV -=
      Hi there. Pulling out my hair...and i'm bald enough already! I built a FLA that streams live from the FME - works great. Cannot for the life...
    3. Dynamically loading user control into Placeholder gives Object reference not set to an instance of an object
      I've created user controls that contain listboxes that are dynamically populated from the database. In the html view of the user control...
    4. Delete stream object
      If I use netStream.close command I stop the stream but I don't delete the object that remain in server with the number ID of client and the status...
    5. Cannot serialize object of type System.Object[,]. Multidimensional arrays are not supported
      Hi, I get this on server when trying to retun a 2 dim array. I apprecaite that they are not supported as per...
  3. #2

    Default Re: ADO Stream object

    well, you HAVE shown a local URL. I'd guess the ISP's server doesn't
    know where to find that URL (because it's a local URL, y'see?)






    ________________________________________
    Atrax. MVP, IIS
    [url]http://rtfm.atrax.co.uk/[/url]

    newsflash : Atrax.Richedit 1.0 now released.
    [url]http://rtfm.atrax.co.uk/infinitemonkeys/components/Atrax.RichEdit/[/url]

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Atrax Guest

  4. #3

    Default Re: ADO Stream object

    "Pedro" <anonymous@discussions.microsoft.com> wrote in message
    news:e06d01c3efe5$edc92ec0$a501280a@phx.gbl...
    > 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
    use URL=http://localhost/docs/mydocs/myfile.jpg

    --
    compatible web farm Session replacement for Asp and Asp.Net
    [url]http://www.nieropwebconsult.nl/asp_session_manager.htm[/url]

    Egbert Nierop \(MVP for IIS\) Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139