I have several SQL Server 2008 stored procedures. I call them through cfstoredproc. After I start updating the CF server on April 17th, CF no longer receives the results. Here is one of the challenges:
<cfstoredproc procedure="proc_xxxx" datasource="#application.dsn#" debug="yes" returnCode="yes"> <cfprocparam type="in" cfsqltype="cf_sql_integer" dbvarname="@myID" value="#arguments.myID#"> <cfprocparam type="in" cfsqltype="cf_sql_varchar" dbvarname="@EmailAddr" value="#trim(arguments.emailAddress)#" null="#not len(arguments.emailAddress)#"> <cfprocparam type="out" cfsqltype="cf_sql_integer" dbVarName="@NewUserID" variable="newUserID" > <cfprocresult name="qryUser"> </cfstoredproc> <cfoutput>newUserID = #newUserID#</cfoutput>
I get a newUserID error not defined. Again, everything that was used to work before update 5.
If I call the saved procs in SSMS, everything will be fine. Cfstoredproc works since I see my updates and inserts in the database. However, it will no longer return any results. The return code is 0, as I mentioned that everything works without errors.
I tried:
<cfprocresult resultset="1" name="qryResult">
Bad luck. Any ideas? Thanks in advance.
coldfusion
CFNinja
source share