Re: Reviewing my code. Displaying a BLOB image through a browser
- From: bfiser@xxxxxxxxx
- Date: 20 Dec 2006 06:22:35 -0800
Ok I made that change and now I get this error message in my browser.
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax
near '='.
/ben/bam3.asp, line 14
Ben
Bob Barrows [MVP] wrote:
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.
.
- Follow-Ups:
- Re: Reviewing my code. Displaying a BLOB image through a browser
- From: Bob Barrows [MVP]
- Re: Reviewing my code. Displaying a BLOB image through a browser
- References:
- Reviewing my code. Displaying a BLOB image through a browser
- From: bfiser
- Re: Reviewing my code. Displaying a BLOB image through a browser
- From: Bob Barrows [MVP]
- Reviewing my code. Displaying a BLOB image through a browser
- Prev by Date: Re: Reviewing my code. Displaying a BLOB image through a browser
- Next by Date: Re: Reviewing my code. Displaying a BLOB image through a browser
- Previous by thread: Re: Reviewing my code. Displaying a BLOB image through a browser
- Next by thread: Re: Reviewing my code. Displaying a BLOB image through a browser
- Index(es):
Relevant Pages
|
|