Solved

How do I properly migrate crystal reports to a different server?

Posted on 2013-02-01
10
371 Views
Last Modified: 2013-03-01
I've created a web application in ASP .NET 3.5 [C#] and have added crystal reports to the app and have gotten it to work correctly on my laptop. I've successfully had the site moved to a client's (before adding the the crystal reports piece) server and and am now trying to migrate the crystal reports piece over and am running into some problems (i know: SURPRISE). never the less my problems seem to be, thus far, web.config file related, so i'll tell all that i know thus far. my first problem came at this line in my web.cofig file:

<add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

with the following error:

"Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified." (here, in this question the PublicKeyToken may be off as I copied that error message from the actual one that I'm getting now)


so, following what i had to do on my machine, even thought it may not have been "the exact" remedy to that first problem and installed the latest msi package that i found here:

http://scn.sap.com/docs/DOC-7824

on the server. Now i'm getting and error message in my web.config file that is saying:

"Could not load file or assembly 'CrystalDecisions.CrystalReports.TemplateEngine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified."

on this line:

<add assembly="CrystalDecisions.CrystalReports.TemplateEngine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

WHAT I'VE TRIED:

I've tried to directly copy the TemplateEngine .dll file from my machine to the bin folder of the website on my client's server and recycle the site, but to no avail.

I've tried to make sure that the aspnet_client folder in the root directory of the website on IIS has both the 2_0_50727 and 4_0_30319 folders and all their contents but again, no avail.

What do I need to do to successfully migrate crystal reports, or what do I need to have my client do?
0
Comment
Question by:mikesExpertExchange
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 38845865
0
 
LVL 1

Author Comment

by:mikesExpertExchange
ID: 38846525
do I need to undo anything I have done so far?  in other words will anything I have done up to this point break, this process that you are suggesting that I try now?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 38846989
You prbably should delete any files you coped in but it should work as an update install.

mlmcc
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:mikesExpertExchange
ID: 38847043
ok, so I sshould delete the .dll files, but the msI package I installed on the server should be ok to leave?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 38847229
Probably.  I would delete only those dlls that you copied in.

mlmcc
0
 
LVL 1

Author Comment

by:mikesExpertExchange
ID: 38847479
ok. last question before i attempt this, (and i think i know the answer to this one but just to be sure...) do i need to have my client boot the server after this?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 38847690
If you do it will tell you

mlmcc
0
 
LVL 1

Author Comment

by:mikesExpertExchange
ID: 38849612
ok, one more question. i'm not using a (nor do i have an) "set up" project. i've never created a set up project. is this something that i need to research how to do?! are there some tutorials on how to do this?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 38849727
0
 
LVL 1

Author Closing Comment

by:mikesExpertExchange
ID: 38944241
th.ank you
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET data base connection 35 81
How to set focus on a dynamic control 18 46
Check only one toolstripmenu item 12 55
How does this modal gets closed? 6 37
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …

740 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