Solved

.Net and Crystal

Posted on 2014-01-09
4
262 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

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

729 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