Link to home
Start Free TrialLog in
Avatar of g_johnson
g_johnsonFlag for United States of America

asked on

.Net and Crystal

I am having a heck of a time understanding the relationships between .Net and Crystal Reports.  

I have a dll written in VS2010, C#, the target framework being .Net 3.5 and the Platform Target being X86.  I have references to CrystalDecisions.CrystalReports.Engine, .ReportSource, .Shared, and .Windows.Forms.  All of these show as Version 13.0.2000.0.  One thing that confuses me is that the Description property shows as Crystal Reports for .Net Framework 4.0.  This appears to be the only version I have on my development machine.

Now, I have an executable written in VS2012, VB.Net.  This is written for the .Net 4.0 framework and the target cpu is again X86.  I reference and invoke this dll to call a Crystal Report, and I have no issues on my development machine.  But, when I deployed to another machine, I got an error that I recognized as telling me that we needed the runtime components.  So we downloaded and installed the runtime componets, 64-bit MSI for support pack 8, this being a 64-bit machine.  After that installation the program now just hangs -- no error, no results.

Have I got versionitits or something going on?  Any ideas how to fix this?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of vasto
vasto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of g_johnson

ASKER

By the way, if the dll was 64-bit and the exe 32-bit, or vice versa, would that change things?
32 bit assemblies cannot use 64 bit assemblies , so the answer is no. You current case is the same because you have a 32 bit dll and you were trying to use it with a 64 bit dll. In the same way 32 exe will be not able to use 64 bit dll.
Thank you.  That makes sense.