471,350 Members | 1,442 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Crystal Reports and C# - Application Deployment

Hey Guys,

I'm totally flipping out. I developed an application which makes use
of the built in Visual Studio 2005 Crystal Reports components. I have
references on my solution which state:

CrystalDecisions.CrystalReports.Engine
CrystalDecisions.Enterprise.Framework
CrystalDecisions.Enterprise.Infostore
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Windows.Forms
I've got a couple of other DLLs that are in the program, and when I build my
application, I simply copy what's in the BIN folder, and move it into a new
folder on the client machine.

This has worked for every single application I've ever written.

However, with this Crystal stuff, it's not working. I absolutely cannot find
the actual DLLs for these references, and my application will not work on ANY
of the client machines because it's lacking the client components. I've even
installed the Developer version of Crystal Reports XI just to test it, and it
still didn't work.

Where oh where can I get those DLL files? I am very desperate... please help
me. I downloaded the CrystalReportsRedist2005x86.msm file, and I added it,
but I'm not really sure what it did, but it didn't give me any DLLs that I
can copy.

PLEASE help... I'm desperate.
Jul 21 '08 #1
7 6355
On Jul 21, 1:26*pm, Todd Jaspers
<ToddJasp...@discussions.microsoft.comwrote:
Hey Guys,

* * * I'm totally flipping out. I developed an application which makes use
of the built in Visual Studio 2005 Crystal Reports components. I have
references on my solution which state:

CrystalDecisions.CrystalReports.Engine
CrystalDecisions.Enterprise.Framework
CrystalDecisions.Enterprise.Infostore
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Windows.Forms

I've got a couple of other DLLs that are in the program, and when I buildmy
application, I simply copy what's in the BIN folder, and move it into a new
folder on the client machine.

This has worked for every single application I've ever written.

However, with this Crystal stuff, it's not working. I absolutely cannot find
the actual DLLs for these references, and my application will not work onANY
of the client machines because it's lacking the client components. I've even
installed the Developer version of Crystal Reports XI just to test it, and it
still didn't work.

Where oh where can I get those DLL files? I am very desperate... please help
me. I downloaded the CrystalReportsRedist2005x86.msm file, and I added it,
but I'm not really sure what it did, but it didn't give me any DLLs that I
can copy.

PLEASE help... I'm desperate.
Hi,

You have to add teh merge modules, there is a pdf in CR website that
explain with details the process.
Jul 21 '08 #2
On Jul 21, 4:21*pm, "Ignacio Machin ( .NET/ C# MVP )"
<ignacio.mac...@gmail.comwrote:
On Jul 21, 1:26*pm, Todd Jaspers

<ToddJasp...@discussions.microsoft.comwrote:
Hey Guys,
* * * I'm totally flipping out. I developed an application which makes use
of the built in Visual Studio 2005 Crystal Reports components. I have
references on my solution which state:
CrystalDecisions.CrystalReports.Engine
CrystalDecisions.Enterprise.Framework
CrystalDecisions.Enterprise.Infostore
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Windows.Forms
I've got a couple of other DLLs that are in the program, and when I build my
application, I simply copy what's in the BIN folder, and move it into anew
folder on the client machine.
This has worked for every single application I've ever written.
However, with this Crystal stuff, it's not working. I absolutely cannotfind
the actual DLLs for these references, and my application will not work on ANY
of the client machines because it's lacking the client components. I'veeven
installed the Developer version of Crystal Reports XI just to test it, and it
still didn't work.
Where oh where can I get those DLL files? I am very desperate... pleasehelp
me. I downloaded the CrystalReportsRedist2005x86.msm file, and I added it,
but I'm not really sure what it did, but it didn't give me any DLLs that I
can copy.
PLEASE help... I'm desperate.

Hi,

You have to add teh merge modules, there is a pdf in CR website that
explain with details the process.- Hide quoted text -

- Show quoted text -
http://support.businessobjects.com/c...oyment.pdf.asp
Jul 21 '08 #3
On Mon, 21 Jul 2008 10:26:05 -0700, Todd Jaspers wrote:
Hey Guys,

I'm totally flipping out. I developed an application which makes use
of the built in Visual Studio 2005 Crystal Reports components. I have
references on my solution which state:

CrystalDecisions.CrystalReports.Engine
CrystalDecisions.Enterprise.Framework
CrystalDecisions.Enterprise.Infostore
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Windows.Forms
I've got a couple of other DLLs that are in the program, and when I build my
application, I simply copy what's in the BIN folder, and move it into a new
folder on the client machine.

This has worked for every single application I've ever written.

However, with this Crystal stuff, it's not working. I absolutely cannot find
the actual DLLs for these references, and my application will not work on ANY
of the client machines because it's lacking the client components. I've even
installed the Developer version of Crystal Reports XI just to test it, and it
still didn't work.

Where oh where can I get those DLL files? I am very desperate... please help
me. I downloaded the CrystalReportsRedist2005x86.msm file, and I added it,
but I'm not really sure what it did, but it didn't give me any DLLs that I
can copy.

PLEASE help... I'm desperate.
What version of Visual Studio are u using? Visual Studio 2008 and 2005 make
it even easier because you can select Crystal Reports as a prerequisite
package to be installed. 2003 requires a bit more effort where you have to
add the merge modules yourself. But its pretty well documented in the
Crystal Reports online documentation
--
http://www.thinkersroom.com/bytes
Jul 21 '08 #4
Thanks, but all of the links for Crystal Reports on their website
automatically re-direct to their general SAP support page (which is utter
crap).

I've moved over all the DLLs, and I created a setup to add the merge modules
but it keeps trying to reference some assemblies that are stored on my
computer, but it does not automatically re-attach them.

This is the error message it gives me:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Exception: Load report failed. --->
System.Runtime.InteropServices.COMException (0x80004005): The system cannot
find the path specified.

at
CrystalDecisions.ReportAppServer.ClientDoc.ReportC lientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at
CrystalDecisions.ReportAppServer.ReportClientDocum entWrapper.Open(Object&
DocumentPath, Int32 Options)
at
CrystalDecisions.ReportAppServer.ReportClientDocum entWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at
CrystalDecisions.ReportAppServer.ReportClientDocum entWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.Load(String
filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.Load(String
filename)
at ScoutingApp.AdvanceReport.CreateOffSubstitutionRep ort()
at ScoutingApp.AdvanceReport.Procedure17()
at ScoutingApp.AdvanceReport.btnRefresh_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ScoutingApp
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/tjaspers/Desktop/Pro%20System.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
CrystalDecisions.CrystalReports.Engine
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.52001.1823
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/10.2.3600.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
----------------------------------------
CrystalDecisions.Shared
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.52001.1823
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Shared/10.2.3600.0__692fbea5521e1304/CrystalDecisions.Shared.dll
----------------------------------------
CrystalDecisions.ReportAppServer.CommLayer
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.9700.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CommLayer/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll
----------------------------------------
CrystalDecisions.ReportAppServer.ClientDoc
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.9700.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ClientDoc/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll
----------------------------------------
CrystalDecisions.ReportAppServer.DataSetConversion
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.52001.1823
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion .dll
----------------------------------------
CrystalDecisions.ReportAppServer.DataDefModel
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.9700.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataDefModel/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll
----------------------------------------
CrystalDecisions.ReportAppServer.Controllers
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.9700.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.Controllers/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll
----------------------------------------
CrystalDecisions.ReportAppServer.CubeDefModel
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.9700.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CubeDefModel/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CubeDefModel.dll
----------------------------------------
CrystalDecisions.ReportAppServer.ReportDefModel
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.52001.1823
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ReportDefModel/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.dl l
----------------------------------------
CrystalDecisions.KeyCode
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.9700.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.KeyCode/10.2.3600.0__692fbea5521e1304/CrystalDecisions.KeyCode.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Jul 21 '08 #5
=== original message ===
from: Todd Jaspers
date: 21.07.2008 19:26

[...]
CrystalDecisions.CrystalReports.Engine
CrystalDecisions.Enterprise.Framework
CrystalDecisions.Enterprise.Infostore
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Windows.Forms
[...]
Where oh where can I get those DLL files? I am very desperate... please help
me. I downloaded the CrystalReportsRedist2005x86.msm file, and I added it,
but I'm not really sure what it did, but it didn't give me any DLLs that I
can copy.

PLEASE help... I'm desperate.
Click on the references and have a look at the property window. It
should tell you the location of the file. Within the property window you
can set "Copy local" to true. Then the files get copied to your beloved
BIN folder and you can do xcopy-deployment.
At least that's how it works here (VS 2005).

Cheers,
Udo
Jul 22 '08 #6
Guys, I'm a complete idiot. As the college football scouts say, "This player
got dumb learns."

Do you know what my problem was? I forgot to copy the report files...

I spent like 4 hours working on this before I realized it. I did everything
I could think of... clicking the mouse button without looking, praying to
God...

And then it dawned on me that I completely forgot to copy the report
files.... damn...

Todd
Jul 22 '08 #7
On Jul 22, 8:26*am, Todd Jaspers
<ToddJasp...@discussions.microsoft.comwrote:
Guys, I'm a complete idiot. As the college football scouts say, "This player
got dumb learns."

Do you know what my problem was? I forgot to copy the report files...

I spent like 4 hours working on this before I realized it. I did everything
I could think of... clicking the mouse button without looking, praying to
God...

And then it dawned on me that I completely forgot to copy the report
files.... damn...

Todd
Where exactly do you copy the report files to? Could you please show
the folder structures. We use a deployment package and it looks like
reports are somehow included - I don't see any .RPT files on client's
installs.
Jul 22 '08 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Danny J. Lesandrini | last post: by
3 posts views Thread by Dmitry Karneyev | last post: by
7 posts views Thread by p | last post: by
reply views Thread by Danny J. Lesandrini | last post: by
2 posts views Thread by =?Utf-8?B?UGF1bA==?= | last post: by
3 posts views Thread by Greg Smith | last post: by
1 post views Thread by =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?= | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.