Deployment Topics include: deployment and installation of your .NET programs
Note: If you're having problems installing Visual Studio .NET or the .NET Framework SDK please post in the General forum, not here.

Go Back  Xtreme .NET Talk > .NET > Deployment > Distributing proper Crystal Reports dll's in VB.NET application


Reply
 
Thread Tools Display Modes
  #1  
Old 02-26-2003, 09:59 AM
EliCat EliCat is offline
Newcomer
 
Join Date: Aug 2002
Location: Netherlands
Posts: 17
EliCat is on a distinguished road
Default Distributing proper Crystal Reports dll's in VB.NET application



I've already searched high and low on the www.crystaldecisions.com and wherever else I could think off, but haven't found a satisfactory answer to an annoying problem.
I've even unsuccessfully tried to get an answer from the C.D. staff and seeing as I've had great help on this forum in the past I figured I might try it here as a last resort.




Is there a way to force merge modules to grab the proper/latest versions of the Crystal Decisions dll's from a developer system when an application is packaged for distribution?



I ask because my problem is this:

Visual Studio .NET installs version 9.1.9370.0 of CrystalDecisions.Windows.Forms.dll but this dll contains a known bug when it comes to printing in landscape format.

On my developer system (win2000 Pro with service pack 3) that runs VS.NET I can easily fix my problem by running the cr10netwin_en.exe patch which upgrades my dll to version 9.1.9466.8.
However when I package my application and use Managed.msm, regwiz.msm and DataAccess.msm to include the CR dll's the older 9.1.9370.0 version is packaged and not the newer version.

On a test system (also win2000 Pro with service pack 3) which runs only the .NET Framework I can then install my application and run the cr10netwin_en.exe patch to upgrade the dll's on the test system.
The upgrade of the dll's works fine (in the c:\program files\common files\crystal decisions\1.0 folder) EXCEPT that the entries in my Assembly Cache (located in c:\winnt\assembly) aren't upgraded.
And because this entry isn't upgraded I am unable to automatically print my reports on the test system in landscape format.

With loads of trial and error I've found a way to manually upgrade the assembly cache entries on the test system by copying gacutil.exe and gacutil.exe.config from my development system to the test system and force an upgrade of the cache entry CrystalDecisions.Windows.Forms.dll.
It seems that gacutil is able to force an upgrade of the assembly cache while (at least on the test system) the cr10netwin_en.exe patch is apparantly unable to do the same.


So now I can at least let our in-house testers test a proper version of the reports, but this application has to be sold commercially and I can't very well let our customers go through all those steps (not even the patching), especially not since the steps need to be repeated each time the application is (re-)installed (the installation resets all the dlls and also the entry in the assembly cache).


I am therefore looking for a more permanent solution, one that lets me automatically package the correct dll's from my developer system and that lets me install our application without needing to run any CR patch or using gacutil to upgrade the cache entry.


Does anyone have a clue how I can do this?
Reply With Quote
  #2  
Old 02-01-2009, 01:22 AM
robertsams23 robertsams23 is offline
Newcomer
 
Join Date: Mar 2008
Posts: 19
robertsams23 is on a distinguished road
Default Re: Distributing proper Crystal Reports dll's in VB.NET application

you can deploy crystal reports using the CRRedist2005_x86.msi file

or you can make a set project with merge modules.

http://vb.net-informations.com/cryst...ment_setup.htm

robert.
Reply With Quote
  #3  
Old 02-16-2012, 05:35 PM
momoaal momoaal is offline
Newcomer
 
Join Date: Sep 2011
Posts: 1
momoaal is on a distinguished road
Default Re: Distributing proper Crystal Reports dll's in VB.NET application

i'm trying to run a crystal report on a Hosted Web Server online ,
for a web site developed using ASP.Net / VB.Net .

so , i don't have access to the server to install the merge module !!?
i tried to extract "CRRedist2008_x86" and uploaded all the dll files inside it in the "Bin" on the hosted web server .. but still getting errors !!

please , i like to know how to run my report online on that hosted server ??
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Reports - Distributing to Client machines with VS.NET 2002 krinpit Deployment 8 07-27-2004 10:38 AM
Reinstallation of application (Crystal Reports problem?) Anna_Panna Deployment 0 03-31-2004 02:47 AM
the PROPER technique for image-intensive application development zenimpulse Graphics and Multimedia 2 09-24-2003 11:34 PM
Distributing application with crystal report devados Deployment 9 07-08-2003 03:58 PM
crystal reports new bee,how to fetch data to crystal report thorugh vb.net classes? vijju Database / XML / Reporting 5 06-01-2003 08:14 AM

Advertisement:







Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe