?
Solved

Cold Fusion and .NET

Posted on 2011-03-22
7
Medium Priority
?
339 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

764 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