Hi All,
I'm trying to migrate from SQL Server 7.0 to SQL Server 2000.
I've got some ASP page which call VB components that retrieve shaped
recordsets from SQL Server using the MSDATASHAPE provider.
Precisely, here is the code i have
Dim Cmdobj As New ADODB.Command
Cmdobj.ActiveCo nnection = oconn
Cmdobj.CommandT ype = adCmdStoredProc
Cmdobj.CommandT ext = "SP_GET_RES ULT"
Cmdobj.Prepared = True
We're using stored procedure and the tables are exactly the same.
Although they work fine with SQL Server 7.0, they fail when I moved to
SQL
Server 2000 and i got this message: "error '800706be'"
If i don't set "prepared=True" , then it works fine with SQL Server
2000.
Strange isn'it ?
Thanks for any answers,
Yves
I'm trying to migrate from SQL Server 7.0 to SQL Server 2000.
I've got some ASP page which call VB components that retrieve shaped
recordsets from SQL Server using the MSDATASHAPE provider.
Precisely, here is the code i have
Dim Cmdobj As New ADODB.Command
Cmdobj.ActiveCo nnection = oconn
Cmdobj.CommandT ype = adCmdStoredProc
Cmdobj.CommandT ext = "SP_GET_RES ULT"
Cmdobj.Prepared = True
We're using stored procedure and the tables are exactly the same.
Although they work fine with SQL Server 7.0, they fail when I moved to
SQL
Server 2000 and i got this message: "error '800706be'"
If i don't set "prepared=True" , then it works fine with SQL Server
2000.
Strange isn'it ?
Thanks for any answers,
Yves
Comment