Ask a Question related to ASP, Design and Development.
-
Wayne Wengert #1
Missing Something Obvious Here!
I am trying to define the active connection for a command in an ASP page but
I keep getting the error:
---------------------------------------------
ADODB.Command error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.
/LoginControl.asp, line 19
--------------------------------
Line 19 is the "cmdDC.ActiveConnection = myConn" line. The code is as
follows:
====================================
Dim cmdDC, RecordSet
Dim strUserName, strPassword
strUserName = Request.Form("txtName")
strPassword = Request.Form("txtPassword")
'-- Create command object
Set cmdDC = Server.CreateObject("ADODB.Command")
cmdDC.ActiveConnection = myConn
====================================
I use an include file at the start of the ASP page to establish my
connection - the included code is::
====================================
Dim cst, myConn
Sub CreateConnection()
cst = "Provider=SQLOLEDB; Data Source = xx.xx.xx.xx; Initial Catalog =
myDB; User ID = myID; Password=myPW"
set myConn = Server.CreateObject("ADODB.Connection")
myConn.open cst
End Sub
====================================
Any suggestions on what I did wrong here?
--
------------------------------------
Wayne Wengert
[email]wayne@wengert.org[/email]
Wayne Wengert Guest
-
missing guides. missing cursors. missing a good drawing app. Ugh.
I can't see my text cursor. It's invisible. Why? I can't see new guides I drag onto the documents. They are there, I just can't see them. Why? ... -
Transparancy% PLEASE HELP! - probably obvious problem
I want to make something in Fireworks at about 50% transparancy, and then export it to Dreamweaver to go on top of an image that is in the... -
problems are obvious in retrospect - writing OO being an example
I asked a lot of questions in May about how to organize OO code. I didn't get great answers here, but someone here suggested that I look the... -
Sorry if this is obvious . . .
Yes, Andrew, the first step is to save each image to your hard drive in the same format and at the same resolution. To do something like this, I'd... -
Gnome 2 menus - not the obvious question
On Thu, 2003-06-26 at 06:30, Bijan Soleymani wrote: I simply do a "killall gnome-panel". As gnome-panel is set to respawn in the...



Reply With Quote

