[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Deploying Crystal Reports XI project to a Windows 2003 Server

Posted on 2007-10-01
10
Medium Priority
?
1,060 Views
Last Modified: 2008-01-09
Hello experts,
   I have an ASP.NET application originally developed in VS 2003 framework 1.1 that I developed on a windows 2000 dev machine and deployed on a windows sever 2003 box and it worked great.  Now I have converted the project to a VS 2005 project redployed to the 2003 box and I get the following error:

Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

Line 38:                         <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 39:                         <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 40:                         <add assembly="CrystalDecisions.Web, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
Line 41:                         <add assembly="CrystalDecisions.Shared, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
Line 42:                         <add assembly="CrystalDecisions.ReportSource, Version=11.5.3700.0,  


I have searched the web for a solution but all of the solutions have not solved the issue.  I am using Crystal Reports XI and it is only installed on the local dev machine..   not the server.  ANy ideas as to what needs to be done?
0
Comment
Question by:dbedoo
  • 5
  • 5
10 Comments
 
LVL 42

Expert Comment

by:frodoman
ID: 19991198
Have you added the .net 2.0 merge modules to your project?  Looks like you're referencing the new components but you need to manually remove the old ones and add the new ones to your setup (or however you're deploying the app).

Personally, what I do is create a small install program with a dummy crystal report and build an msi file in VS2005 then use that to do the install on win2003.  Once that's done the components get added to the GAC and then all of your web apps using these components can be deployed without worrying about it.

frodoman
0
 
LVL 1

Author Comment

by:dbedoo
ID: 19991250
I beleieve I did add the new merge module to the project...   I noticed that the merge modules folder does not exist o the server under c:/program files/common files/merge modules as it is on the dev machine.  Is this where they need to reside?
0
 
LVL 1

Author Comment

by:dbedoo
ID: 19991261
I would like to try your method (Creating the dummy Crystal Report install program)   Could you walk me through the steps?
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 42

Expert Comment

by:frodoman
ID: 19993379
0
 
LVL 1

Author Comment

by:dbedoo
ID: 19993521
Ok this is helpful ...  I checked the windows/assembly folder on my dev machine and compared it to the windows/assembly folder on the server and the server does not have the newer dlls  is this a matter of just copying the newer dlls into this directory or should I run an crystal sp2 installer on the server?
0
 
LVL 42

Expert Comment

by:frodoman
ID: 19998203
I would run an installer - if not you'll probably need to unregister the dll's, register the new ones, and register them into the global assembly cache.  You can do it all manually but it's a lot of work and if you miss a step somewhere it's nearly impossible to track down which step was missed...

frodoman
0
 
LVL 1

Author Comment

by:dbedoo
ID: 19998572
Yeah thats what I want to do ... but Im not really sure how to do it.  I have a deployment project built into this project im working on but Im not really sure how to acheive what your suggesting
0
 
LVL 42

Accepted Solution

by:
frodoman earned 2000 total points
ID: 19998597
Follow the steps in that document to create a deployment project and add the merge modules to it.  This will create a .msi file that you can simply copy to your server and then double-click to invoke the standard Windows installer.

frodoman
0
 
LVL 1

Author Comment

by:dbedoo
ID: 19998972
Worked like a charm  thanks!!
0
 
LVL 42

Expert Comment

by:frodoman
ID: 19999206
Glad I could help
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Boot PC and press F10, select storage options and change the compatibility from “AHCI” to “IDE”, save and exit 2. Boot PC and press F12 3. Upon PXE display of searching for DHCP server, press Pause break to obtain MAC address 3. Open Configu…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

834 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