Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load file or assembly 'BusinessObjects.Enterprise.Sdk.ZipLib.netmodule'

I am trying to follow this guide to connect to a server running SAP Crystal Reports Enterprise 4.1 from my dev pc. When I run my solution, I get this error:

An exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll but was not handled in user code

Additional information: Could not load file or assembly 'BusinessObjects.Enterprise.Sdk.ZipLib.netmodule' or one of its dependencies. The specified module could not be found.

Some discussions suggest that it is an issue between 32/64bit versions of the SDK, but I have tried both individually and experienced the same issue.

I also tried this solution and I can see all those files are in my bin folder. Please also note that when I included the DLLs (CrystalDecisions.Enterprise.Framework and CrystalDecisions.Enterprise.InfoStore), I had to set these to "Embed Interop types": False and "Copy Local": True.

Anyone have any ideas?

like image 705
Alex Koumoundouros Avatar asked Oct 31 '22 01:10

Alex Koumoundouros


1 Answers

Check Copy Local in the References to false

enter image description here

like image 128
Kanit P. Avatar answered Nov 15 '22 06:11

Kanit P.