Deploying Crystal Reports XI project to a Windows 2003 Server

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?
LVL 1
dbedooAsked:
Who is Participating?
 
frodomanCommented:
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
 
frodomanCommented:
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
 
dbedooAuthor Commented:
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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

 
dbedooAuthor Commented:
I would like to try your method (Creating the dummy Crystal Report install program)   Could you walk me through the steps?
0
 
frodomanCommented:
0
 
dbedooAuthor Commented:
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
 
frodomanCommented:
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
 
dbedooAuthor Commented:
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
 
dbedooAuthor Commented:
Worked like a charm  thanks!!
0
 
frodomanCommented:
Glad I could help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.