Highlighted

Problem with .net integration on CF 10

New Here ,
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

145

Likes

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

Problem with .net integration on CF 10

New Here ,
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

146

Likes

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
Jun 06, 2014 0

Have something to add?

Join the conversation