Solved

Cold Fusion and .NET

Posted on 2011-03-22
7
338 Views
Last Modified: 2012-05-11
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')#" >

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


<cfoutput>
Here's your data: #myVar6#
<HR>
</cfoutput>

Open in new window

0
Comment
Question by:Howard Bash
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
7 Comments
 
LVL 18

Expert Comment

by:Plucka
ID: 35194568
Every change to a DLL required ColdFusion to be restarted.
0
 
LVL 1

Author Comment

by:Howard Bash
ID: 35195032
Having said that,  my reboot should have stopped ColdFusion, and yet the problem persists.
0
 
LVL 1

Author Comment

by:Howard Bash
ID: 35195041
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.
0
 
LVL 1

Author Comment

by:Howard Bash
ID: 35354926
Cold Fusion caches classes apparently.
0
 
LVL 25

Accepted Solution

by:
dgrafx earned 500 total points
ID: 35700372
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
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question