Can't read/write binary files. :(

Results 1 to 2 of 2

Thread: Can't read/write binary files. :(

  1. #1
    Join Date
    Dec 1969

    Default Can't read/write binary files. :(

    Hi there,<BR><BR>I have ADO v2.5 installed on my server, and still cannot read/write binary files. I know I have ADO v2.5 because I have the following code:<BR><BR>Set objConn = Server.CreateObject("ADODB.Connection")<BR>respons e.write "This Server&#039s ADO Version: " & objConn.Version<BR>Set objConn = Nothing<BR><BR>which yields:<BR><BR>This Server&#039s ADO Version: 2.5 <BR>Server object error &#039ASP 0177 : 800401f3&#039 <BR><BR>Server.CreateObject Failed <BR><BR>/test.asp, line 49 <BR><BR>Invalid class string <BR><BR><BR>The object error comes from the following line of code:<BR><BR>Set File = Server.CreateObject("ADODB.Stream")<BR><BR>Accordi ng to the article on this site,, it says I need ADO v2.5 to read/write binary files, and will receive the above error is ADO version 2.5 is not installed. <BR><BR>So, what else do I need? I obviously have 2.5 installed, but still receive the error I&#039m not supposed to receive when I have 2.5 installed.<BR><BR>Thanks!

  2. #2
    Join Date
    Dec 1969

    Default Check the registry?

    Did you look in your registry (with "regedit") to see if ADODB.Stream is there?<BR><BR>Just open the registry and then do a FIND for that string. Or even just Stream. See what you get, if anything.<BR><BR>

Posting Permissions

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