Solved

Cold Fusion and .NET

Posted on 2011-03-22
7
333 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:hbash
  • 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:hbash
ID: 35195032
Having said that,  my reboot should have stopped ColdFusion, and yet the problem persists.
0
 
LVL 1

Author Comment

by:hbash
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:hbash
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now