Solved

.Net and Crystal

Posted on 2014-01-09
4
260 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 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