Solved

.Net and Crystal

Posted on 2014-01-09
4
253 Views
Last Modified: 2014-01-09
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.
0
Comment
Question by:g_johnson
  • 2
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
vasto earned 500 total points
ID: 39769338
You need to download and install the 32 bit components. Your application is compiled for 32 bit s and cannot use 64 bit components
0
 
LVL 4

Author Comment

by:g_johnson
ID: 39769471
By the way, if the dll was 64-bit and the exe 32-bit, or vice versa, would that change things?
0
 
LVL 18

Expert Comment

by:vasto
ID: 39769523
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.
0
 
LVL 4

Author Comment

by:g_johnson
ID: 39769526
Thank you.  That makes sense.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now