Cold Fusion and .NET

I have bult a dll in vs2008 that can be referenced in a cfm file and have successfully run a function within it and returned a resultset of data.

I modified the dll to allow me to call an Oracle Stored Procedure passing it four parameters.  Since that change, I am getting an error from Cold Fusion Builder that it cannot find an Oracle Parameters collection assembly that it required.  I tried to add that assembly to the cfm file's folder and still get that error message.  

So,  I removed the call to the function and renamed the saved previously working DLL to  use it again and am now getting that same error message as though some aspect of the failed program is being cached.  Stopping and starting the server did not fix this nor did rebooting.

Please advise.
<cfobject type = "dotnet" name = "BOLDATA" class = "BOnlineData.BOnlineData"
assembly="#expandPath('./BOnlineData.dll')#" >

  myVar6 = BOLDATA.GetDataTable ("select * from PEEPS Where ROWNUM<=150 ORDER BY FN ASC");

Here's your data: #myVar6#

Open in new window

Howard BashSenior Software EngineerAsked:
Who is Participating?
dgrafxConnect With a Mentor Commented:
yes - coldfusion caches classes
in CF Administrator - go to caching and uncheck save class files
saving class files is good in production
can be a hassle sometimes in development
may need to open folder location : JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfclasses and manually delete all files within as well
don't worry - cf will rebuild them as needed.

good luck
Every change to a DLL required ColdFusion to be restarted.
Howard BashSenior Software EngineerAuthor Commented:
Having said that,  my reboot should have stopped ColdFusion, and yet the problem persists.
Howard BashSenior Software EngineerAuthor Commented:
Something in the environment has changed associated with changing the dot net dll associated with some oracle assembly and although I deleted and replaced the dll with the former version which always worked does not clear the error.  The problem is in affect even after the reboot.
Howard BashSenior Software EngineerAuthor Commented:
Cold Fusion caches classes apparently.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.