Skip to Content
author's profile photo Former Member
Former Member

Crystal Report Deployment Issue

Hey Guys

I have developed a website which makes use of Crystal Reports. The tools i am using are mentioned below

-Visual Stuio 2005

-Crystal Reports Equiped with Visual Studio 2005(10.2 I guess)

-Crystal Reports 10 with Service pack 6( I have it but not using it at the moment(Unistalled))

- .Net 2.0 Enabled Web Space

The Application works fine on Personal Computer. To Deploy it on Target Web Server I see following DLLs have been Referenced in Web.Config

<assemblies>

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

<add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

</assemblies>

But on my Computer i can only find the following DLLs which are located at following location (C:\Program Files\Common Files\Business Objects\2.7\Managed)

CrystalDecisions.ReportSource

CrystalDecisions.Shared

CrystalDecisions.Web

CrystalDecisions.CrystalReports.Engine

and rest are missing

when i Publish my Application by copying the DLLs i have on my Computer in bin Folder, I receive the message that Could not load or find the Assembly and it refered to the assemblies which were missing

To Solve the issue, I tried to install Crystal Reports 10 with service pack 6 and found the missing assemblies, but the problem is still persisting because DLLs used in Application are using the version 10.2 and DLLs i get after installing Crystal Reports 10 is 10.0. Because there is difference in Version it does not work

Can you please explain what should I do to resolve the issue?

Your Help will very much be appreciated

Abdul Rehman

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2009 at 02:34 PM

    Hi,

    The first option that I can think of is to reinstall the Crystal Components from VS2005 setup. That would restore all the files. Once the application runs fine you can use the runtimes in the server.

    Wiki:

    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsforVisualStudio.NETRuntimeDistribution-Versions9.1to12.0

    Alternatively, you can install the Crystal runtimes in the dev machine to get the missing dlls however it is not a popular way!

    Hope it helps!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2009 at 03:33 PM

    Dear AG

    Thanx for your responce...

    The Fact is i have already Reinstalled it from VS 2005 Setup, but it still provides only the Four mentioned DLLs and other DLLs are still missing.

    The Application works fine on Development Environment because missing DLLs are somehow registered in GAC, but when i try to search them i dont find them on my compuyter

    I also tried the option of installing Crystal Reports 10 with Service pack 6, but the Problem is the vesion of Crystal Reports that comes with VS 2005 is 10.2, and the version of the DLLs i get after installing Crystal Reports 10 is 10.0. So there is a version conflict and it does not work

    I have visited the link you provided, For CR 10.2 (VS .NET 2005) Msi with name CRRedist2005_*.msi are mentioned. Can you please guide me how to use them in deployment.

    I am probably missing someting i hope you can help me to find it out..

    Your early response will very much be appreiated

    Abdul Rehman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2009 at 06:07 PM

    Thank AG and Jonathan for your replies

    I think i got ur point, Please Correct me if i am mistaken...

    You are asking me to install Crystal Report Rumtime thru Msi located at (C:\program files\microsoft visual studio 8\sdk\v2.0\BootStrapper\Packages\CrystalReports\CRRedist2005_x86.msi) rather than copying required DLLs one by one in bin Folder. It means that there should not be any Crystal Reports Runtime in bin Folder of the Project

    I make use of Visual Studio "Publish" option to deploy my project on my Web Space. But i don't find any option that how can i install CRRedist2005_x86.msi on Web Server..i am not sure if i am even allowed to do it.

    I contacted them and they told me that i won't be able to install any Msi and i should place any required DLL in bin Folder

    Is there something missing that i should do or please Correct me if i am wrong as i am relatively new in web Projects??

    Thanx again

    Abdul Rehman

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.