Hi
I am trying to run an application that is currently in production. There are a few bugs in it so I have made a copy of the files that are in production onto my non production machine so I can work on them. I did not write the origninal code. When I run the application I get the following error and I'm not sure why.
Data Access Error
Unknown Data Access Error.
SQL = "select * from bin where binid = 164"
Data Source = "BINS"
The error occurred while processing an element with a general identifier of (CFQUERY), occupying document position (424:5) to (426:40).
I am lost as to why the application can't run as it is obviously still running from that code in production.
I think the error might be generated from the binTX.cfm file which contains all the userdefined tags.
The line that the error is referring to is:
<cfquery name="caller.#attributes.txName#"
datasource="#application.DS#"
dbType="#application.DB#">
select * from bin where binid = #attributes.txID#
</cfquery>
So in short I don't know where to start looking for the error.
Am I missing something?
Can anyone help?
I am new to CF so if I'm missing any relevant info plz let me know
Thanks
I am trying to run an application that is currently in production. There are a few bugs in it so I have made a copy of the files that are in production onto my non production machine so I can work on them. I did not write the origninal code. When I run the application I get the following error and I'm not sure why.
Data Access Error
Unknown Data Access Error.
SQL = "select * from bin where binid = 164"
Data Source = "BINS"
The error occurred while processing an element with a general identifier of (CFQUERY), occupying document position (424:5) to (426:40).
I am lost as to why the application can't run as it is obviously still running from that code in production.
I think the error might be generated from the binTX.cfm file which contains all the userdefined tags.
The line that the error is referring to is:
<cfquery name="caller.#attributes.txName#"
datasource="#application.DS#"
dbType="#application.DB#">
select * from bin where binid = #attributes.txID#
</cfquery>
So in short I don't know where to start looking for the error.
Am I missing something?
Can anyone help?
I am new to CF so if I'm missing any relevant info plz let me know
Thanks