michaeldean99
asked on
problem using stored procedures
I have no problem accessing sql server with the following connection string
SET conn = Server.CreateObject("ADODB .Connectio n")
conn.open Application("dbConnect"),A pplication ("dbUSER") ,Applicati on("dbPW")
But I cannot get the stored procedures working!! Whats wrong with the following please?
cnnStoredProc.Open="Provid er=SQLOLED B.1;Passwo rd=" & Application("dbPW") & ";Persist Security Info=True;User ID=xxxxx;Initial Catalog=dbname;Data Source=www.xxx.co.uk"
the code is classic asp.
thanks
SET conn = Server.CreateObject("ADODB
conn.open Application("dbConnect"),A
But I cannot get the stored procedures working!! Whats wrong with the following please?
cnnStoredProc.Open="Provid
the code is classic asp.
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
And you're getting that message on the call of the stored procedure? Annyway then you don't get it on your connection so that part of your question is gone.
Leaves you with the parameters or their types that don't match the procedure.
Leaves you with the parameters or their types that don't match the procedure.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I cannot get the classic asp code to process the stored procedure. I get
Wrong number of arguments or invalid property assignment
At the moment I cannot access the online database so I cannot establish the problem. I was checking that that my code was correct. It seems to be so I will have to wait for the dba to look at the online database.
thanks