ketankshah
IS-IT--Management
I have a stored proc. in MSSQL7 which is working fine when I use ODBC DSN. But since I use OLEDB DSN in this site, while using it the CFSTOREDPROC tag gives following error :
-------------------------------
Error Diagnostic Information
OLEDB Error Code = 8180
Statement(s) could not be prepared.
The error occurred while processing an element with a general identifier of (CFSTOREDPROC), occupying document position (1:1) to (8:3).
Date/Time: 03/16/01 17:10:35
Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Remote Address: 192.168.0.3
-------------------------------
While using ODBC DSN I used the following tag.
<cfstoredproc
procedure="AddDeliverable"
datasource="backdata1"
returncode="Yes">
While using OLEDB DSN I used the following tag.
<cfstoredproc
procedure="AddDeliverable"
datasource="backdata2"
provider="SQLOLEDB"
providerdsn="backdata2"
returncode="Yes">
Is this syntax is correct? My OLEDB datasource name is backdata2 and ODBC DSN is backdata1.
How to execute SP by using OLEDB DSN ?
Please help.
-------------------------------
Error Diagnostic Information
OLEDB Error Code = 8180
Statement(s) could not be prepared.
The error occurred while processing an element with a general identifier of (CFSTOREDPROC), occupying document position (1:1) to (8:3).
Date/Time: 03/16/01 17:10:35
Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Remote Address: 192.168.0.3
-------------------------------
While using ODBC DSN I used the following tag.
<cfstoredproc
procedure="AddDeliverable"
datasource="backdata1"
returncode="Yes">
While using OLEDB DSN I used the following tag.
<cfstoredproc
procedure="AddDeliverable"
datasource="backdata2"
provider="SQLOLEDB"
providerdsn="backdata2"
returncode="Yes">
Is this syntax is correct? My OLEDB datasource name is backdata2 and ODBC DSN is backdata1.
How to execute SP by using OLEDB DSN ?
Please help.