Re: Reviewing my code. Displaying a BLOB image through a browser



bfiser@xxxxxxxxx wrote:
· Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string

Set objConn = Server.CreateObject("ODBC.Connection")

I don't know of a class called "ODBC". You need to replace "ODBC" with
"adodb" in this and the other CreateObject lines that follow.

objConn.Open "DSN=AsureIDc51Test", "xx", "xxxxx" ß username and
password removed for security

Don't use ODBC if you have the choice:
http://www.aspfaq.com/show.asp?id=2126


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


.



Relevant Pages

  • Re: Createobject gives slow interaction with document
    ... Then I add a document based on a template and fills it with ... What about using the NEW keyword instead of CreateObject ... Set wdApp = New Word.Application ... This reply is posted in the Newsgroup; please post any follow question or reply ...
    (microsoft.public.office.developer.automation)
  • Re: Unable to persist/save ADO records
    ... to debug, I actually changed it to ADODB, but it did not work. ... Please reply to the newsgroup. ... The email account listed in my From ... header is my spam trap, so I don't check it very often. ...
    (microsoft.public.data.ado)
  • Re: ADODB and .Net
    ... Therefore the first question, why ADODB? ... did you know that there is a newsgroup about Ado for dotnet? ... I have an include ADODB at the top of the file as a namespace. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Memory Leak - taking ADO out of the equation
    ... tier for a SQL Server back-end using ADODB. ... is to take ADO's memory usage out of the ... Please reply to the newsgroup. ...
    (microsoft.public.data.ado)
  • Re: ASP Error message - Need fast Help Please
    ... Your question is miles beside this newsgroup. ... It is classic ASP ... It is Adodb ... It is VBS ...
    (microsoft.public.dotnet.languages.vb)