Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

.Net and Crystal

Posted on 2014-01-09
4
Medium Priority
?
265 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

704 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