Skip to main content
zalendar
Participant
June 6, 2014
Question

Problem with .net integration on CF 10

  • June 6, 2014
  • 0 replies
  • 224 views

Greetings,

I am having trouble getting a .net dll that I have created to work with my ColdFusion 10.

The .dll was created using .net framework 4

This is what I am doing...

first I did this

<cfobject type="dotnet" name="UpdateBUI" class="PCSData.PCS_BUI" assembly="#expandPath('./PCSData.dll')# >

I got an error that said this,

Class Npgsql/NpgsqlConnection not found in the specified assembly list.

Npgsql.dll is a .net dll that I am including in mine.   So I read up on it and found someone saying that you have to include all assemblies.

So I then did this,

<cfobject type="dotnet" name="UpdateBUI" class="PCSData.PCS_BUI" assembly="#expandPath('./PCSData.dll')# , #expandPath('./Npgsql.dll')#, #expandPath('./Mono.Security.dll')#">

Which results in.

The C:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfclasses/dotNetProxy/ D:/PCS/testObj/Npgsql.dll file specified in the assembly does not exist.

So I am not sure what I need to do with this.  Any help would be greatly appreciated.   I do know that the Npgsql.dll is also in .net framework 4

Thanks.

Shayne.

    This topic has been closed for replies.