iNET Interactive - Online Advertising Agency
          
Go Back  Xtreme .NET Talk > .NET > Deployment > Distributing application with crystal report


Reply
 
Thread Tools Display Modes
  #1  
Old 05-18-2003, 02:04 AM
devados devados is offline
Newcomer
 
Join Date: May 2003
Posts: 8
Default Distributing application with crystal report

I have a cystal report control in my vb.net solution. I was able to build my solution without any errors. When I run it in the client pc,

I could not open the window which contains the crystal report viewer. The error appears as, dependencies not found for crystal decicions class. How can I solve this problem.

Is there any way to add these dependencies without adding a setup project?

What files I supposed to add?
Reply With Quote
  #2  
Old 05-18-2003, 03:27 AM
Madz's Avatar
Madz Madz is offline
Centurion

Preferred language:
C# or C++.NET
 
Join Date: Jan 2003
Posts: 155
Default

My Dear i also have faced this problem

First of all you need to download Crystal Reports Murge Modules. it could be found from http://crystaldecisions.com

then add those murge modules in your setup Package. that zip file alos contain a pdf file realted to how to make a setup package with that

i hope it would work.
__________________
The one and only
Dr. Madz
eee-m@il
Reply With Quote
  #3  
Old 05-18-2003, 03:43 AM
devados devados is offline
Newcomer
 
Join Date: May 2003
Posts: 8
Default

I did that. I added the following merge modules:
managed.msn
database_access.msm
database_access_enu.msm
regwiz.msm

licene key property of regwiz.msm must be filled:
xx-xxxxxxx-xxxxxxx-xxxxxxx
(licence key was in this format. is it correct?)

following error appears while building the project:

G:\Visual Studio Projects\Setup3\Setup3.vdproj Could not find file 'E:\DOCUME~1\peter\LOCALS~1\Temp\Setup3.msi\Managed.D93ED6F5_1D53_11D4 _A53C_0090278A1BB8\Program Files\Common Files\Crystal Decisions\1.0\Managed\CrystalDecisions.Web.dll' 'Interface not registered'

what shoud i do to get this done?
Reply With Quote
  #4  
Old 05-18-2003, 05:47 AM
Madz's Avatar
Madz Madz is offline
Centurion

Preferred language:
C# or C++.NET
 
Join Date: Jan 2003
Posts: 155
Default

Dear You dont need to add any additional packages. Just these packages will do every thing you want

The merge modules Crystal Reports 9 are available for download from the Crystal Care Technical Support web site at the following URL:
http://support.crystaldecisions.com/updates/
Once on the web site, search for the merge modules by selecting Crystal Reports from "Select a product," 9 from "Select a product version," and Product update from "Select a file type," and then click Go.
There are potentially four merge modules that need to be included in a setup project to deploy reports.
• reportengine.msm
• crnetruntime.msm
• mapping.msm
• license.msm


The reportengine.msm merge module is used to install the core files that comprise the Crystal Reports engine. This merge modules is always required for Crystal Reports 9 .NET applications.
The crnetruntime.msm merge module is used to install the Crystal Reports 9 .NET managed components, such as

CrystalDecisions.CrystalReports.Engine.DLL, CrystalDecisions.Web.DLL, and CrystalDecisions.Windows.Forms.DLL.

This merge module is required for all application using any of the managed .NET components.

The mapping.msm merge module is used to install the files required to support displaying geographic maps inside reports. This merge module is only required if geographic mapping is included in your reports.

The license.msm merge module is used to specify a license keycode in order to determine the scalability of the report engine. This merge module is always required for .NET applications. When license.msm is added to a setup project, it exposes a LicenseKey property that accepts a keycode. The license key is emailed when the product is registered. This key is also available from the VS .NET Help | About… dialog, under the installed products list. The 19-digit license key must be entered into the LicenseKey property for the license.msm merge module.
If the license key is not set for the license.msm merge module, an error will occur when building the project. If the setup is installed on a target computer without specifying the license key for the merge module, various “keycode.dll” errors will occur.


Since Crystal Report for VS .NET is based on the .NET Framework, the framework must also be distributed and/or installed on the target computer. When a setup project is created, usually the framework merge modules will be automatically included.
There are two other merge modules that may need to be included depending on the report(s). If any of the report files are based on ADO.NET dataset objects, the VC_CRT and VC_STL merge modules need to be included in the setup project. These two merge modules are required because the database driver, crdb_adoplus.dll, is dependent on files installed by these merge modules.
Important: When these two merge modules are added, there is a ‘MergeModuleProperties’ property for the file. If you expand that, one of the properties is “Module Retargetable Folder” – this is set to Default. Click on the drop down list to select a different folder from the default. Select the ‘Browse’ option and it will list the folders available on the target machine. A system folder will need to be added before you can set this as the new target folder.
__________________
The one and only
Dr. Madz
eee-m@il
Reply With Quote
  #5  
Old 05-18-2003, 09:06 AM
devados devados is offline
Newcomer
 
Join Date: May 2003
Posts: 8
Default

I am using crystal report 8.00 and could not find any updates for .net

I think either I have to upgrade to cr 9.00 or continue with cr .net. Am I correct?

I dont have licenced cr 9.00. In this case my problem exists with cr.net only (which was shipped with vs.net)

I am not sure wheather I am correct. But this what I understood.

If I am continuing with cr.net can i use the vs.net licence key for cr.net. Please let me know.
Reply With Quote
  #6  
Old 05-18-2003, 09:42 AM
devados devados is offline
Newcomer
 
Join Date: May 2003
Posts: 8
Default

Everytime I build the solution I am getting different errors.

following are the errors i get last 2 times i build the solution.

ERROR: Could not find file 'E:\DOCUME~1\peter\LOCALS~1\Temp\Setup3.msi\Managed.D93ED6F5_1D53_11D4 _A53C_0090278A1BB8\Program Files\Microsoft Visual Studio .NET\Crystal Reports\Crystal.NET\CrystalDecisions.Web.dll' 'Interface not registered'

ERROR: Could not find file 'E:\DOCUME~1\peter\LOCALS~1\Temp\Setup3.msi\Database_Access.BF125633_E FD6_11D3_A52F_00A0C9CA42BA\Program Files\Common Files\Crystal Decisions\1.0\Bin\tslv.dll' 'Interface not registered'

can any one find out why its happening?
Reply With Quote
  #7  
Old 05-18-2003, 10:51 PM
Madz's Avatar
Madz Madz is offline
Centurion

Preferred language:
C# or C++.NET
 
Join Date: Jan 2003
Posts: 155
Default

Ah, Tell me one thing, Why you are using CR 8 with .NET tool. coz it was an old version . if you have VS.NET then just install CR Components. i was thinking you are using Crystel Report 9.0, instead of using 8.0 with Visual Studio .NET you should use Crystal Reports For VS. Packaged with Visual Studio.NET or CR 9.0 . if you dont have a lisance then no problem you can use CR for .NET ,
just try doing one thing. Delete all temporary files from your temp Folder. Next there is one thing Visual Studio is unable to find dependency files for your CR 8 Reports. Coz it;s quoting that Unable to find FILE
__________________
The one and only
Dr. Madz
eee-m@il
Reply With Quote
  #8  
Old 05-19-2003, 01:41 AM
hog's Avatar
hog hog is offline
Senior Contributor

Preferred language:
VB .Net
 
Join Date: Mar 2003
Location: UK
Posts: 984
Default

beat me to it Madz....

yes you should use the CR that is shipped with VS. I'm using this with no problems.
__________________
My website
Reply With Quote
  #9  
Old 07-08-2003, 12:15 AM
hbash54 hbash54 is offline
Newcomer

Preferred language:
vb, c#
 
Join Date: May 2003
Posts: 24
Default

Would one of you folks mind describing this process of finding the crystal 8 support files and adding them in to a web install of an app that "merely" displays a crystal report in a browser.

Thanks,
Howard
Reply With Quote
  #10  
Old 07-08-2003, 02:58 PM
hbash54 hbash54 is offline
Newcomer

Preferred language:
vb, c#
 
Join Date: May 2003
Posts: 24
Default

According to Crystal Decisions - Crystal Reports for Visual Studio.Net the required merge files (4) are :
Managed.MSM
Database_Access.MSM
Database_Access_enu.MSM
REGWIZ.MSM
Reply With Quote
Reply


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

vB 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
Distributing proper Crystal Reports dll's in VB.NET application EliCat Deployment 1 02-01-2009 12:22 AM
Crystal Reports - Distributing to Client machines with VS.NET 2002 krinpit Deployment 8 07-27-2004 09:38 AM
Crystal Report related in Windows Forms Application Zaffar Windows Forms 0 05-29-2004 01:40 AM
Deploying Crystal Report With .NET Windows application mosfiq Deployment 1 09-19-2003 11:06 PM
How to deploy Crystal report.net application ? desmondtan Deployment 1 03-06-2003 03:30 AM

Advertisement: