• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Problem with .net integration on CF 10

New Here ,
Jun 06, 2014 Jun 06, 2014

Copy link to clipboard

Copied

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.

Views

193

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation