Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Mon, 5 May 2008 15:57:30 -0400,    group: microsoft.public.dotnet.distributed_apps        back       


setup with crystal report   
i develope managed C++ application which uses crystal report engine. When I 
press button crystal report engine need to prepare report on hard drive in 
pdf format.  Everything works on original PC. However uing visual studio 
2005 I prepared setup for second PC. However when it is time to prepare 
report on second PC system responds that it cannot to find crystal report. 
The question is what kind of dll or assembly i need to add into setup 
project.
-- 

Aleks Kleyn
http://www.geocities.com/aleks_kleyn
date: Mon, 5 May 2008 15:57:30 -0400   author:   Aleks Kleyn

Re: setup with crystal report   
In the setup project, right click on the project/solution name in Solution
Explorer and select Properties.
Click on the Prerequisites button.
Place a checkmark against "Crystal Reports For .Net Framework 2.0"
Select "Download Prerequisites from the same location as My Application"
Select Ok

Now, rebuild the application setup file. The Crystal redistributable MSI
file will now be included in your setup and will be installed, if required,
on the target machine.

Gary


"Aleks Kleyn"  wrote in message
news:2B1EBDC2-039B-4A16-AAB6-0C179E466664@microsoft.com...
> i develope managed C++ application which uses crystal report engine. When
I
> press button crystal report engine need to prepare report on hard drive in
> pdf format.  Everything works on original PC. However uing visual studio
> 2005 I prepared setup for second PC. However when it is time to prepare
> report on second PC system responds that it cannot to find crystal report.
> The question is what kind of dll or assembly i need to add into setup
> project.
> --
>
> Aleks Kleyn
> http://www.geocities.com/aleks_kleyn
>
date: Tue, 6 May 2008 02:30:09 +0100   author:   GD am

First Advice Did Not Solve the Problem --> Re: setup with crystal report   
Gary,

I followed the advice you have given to Aleks Kleyn.
Yet, on the other Win XP workstation, my application is not able to
find/load some Crystal Reports Print Engine DLLs.
Here are some details on my main project and setup project.

Main Project:
1) built in VS.NET 2.0 (2005)
2) based on managed VC 2.0 (2005) classes. It is a regular WinForms
desktop application
3) does not use Crystal ReportViewer but only ReportDocument object
model from Crystal Reports 11.5 class library for MS .NET 2.0
Framework.
4) the application explicitly references the following assemblies/
classes from Crystal Reports 11.5 Library for .NET 2.0:
	using namespace CrystalDecisions::Windows::Forms;
	using namespace CrystalDecisions::CrystalReports::Engine;
	using namespace CrystalDecisions::Shared;
	using CrystalDecisions::Enterprise::Desktop::Excel;
	using CrystalDecisions::Enterprise::Desktop::Pdf;
	using CrystalDecisions::Enterprise::InfoStore;
5) The application opens predefined Crystal Report template files
(.rpt), and then generates/exports reports in pdf format to
appropriate locations on the network -- it does not need to display
the contents of any report on the screen
6) works perfectly on my XP Professional workstation where the
application is built

Setup Project:
1) Shows the following detected dependencies:
-> Microsoft .NET framework
-> crystalreports11_5_net.msm
-> Microsoft_VC80_CRT_x86.msm
-> policy_8_0_microsoft_8_0_crt_x86.msm

I am able to build both the main project and the setup project
successfully. Then I copy the new-built .msi to the target workstation
and run the transferred .msi file. Then, I launch the application on
the target workstation. It starts successfully. But when I press the
button that launches the actual loading/generation/export of reports,
the application fails because of being i9ncapable to find/load some
necessary parts of Crstal Reports Print Engine.

Could anybody help? Gary, what do you think?



On May 5, 9:30 pm, "GD"
<NoSPam_NO_More_Spam_MoreRubb...@eircom.net.NoSpam> wrote:
> In the setup project, right click on the project/solution name in Solution> Explorer and select Properties.
> Click on the Prerequisites button.
> Place a checkmark against "Crystal Reports For .Net Framework 2.0"
> Select "Download Prerequisites from the same location as My Application"
> Select Ok
>
> Now, rebuild the application setup file. The Crystal redistributable MSI
> file will now be included in your setup and will be installed, if required> on the target machine.
>
> Gary
>
> "Aleks Kleyn"  wrote in message
>
> news:2B1EBDC2-039B-4A16-AAB6-0C179E466664@microsoft.com...
>
>
>
> > i develope managed C application which uses crystal report engine. When
> I
> > press button crystal report engine need to prepare report on hard drive in
> > pdf format.  Everything works on original PC. However uing visual studio
> > 2005 I prepared setup for second PC. However when it is time to prepare
> > report on second PC system responds that it cannot to find crystal report.
> > The question is what kind of dll or assembly i need to add into setup
> > project.
> > --
>
> > Aleks Kleyn
> >http://www.geocities.com/aleks_kleyn- Hide quoted text -
>
> - Show quoted text -
date: Tue, 13 May 2008 08:22:48 -0700 (PDT)   author:   fastthinker

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us