on 09-08-2009 10:23 AM
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
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Abdul;
I do not recommend copying / moving files from one system to another. You need to install the msi file on the Deployment system. You can find it on your system that has VS.NET 2005 installed at: c:\program files\microsoft visual studio 8\sdk\v2.0\bootstrapper\packages\crystal reports
Copy it over to the other system, and install it. That should take care of all of the version 10.2 files that you need on that system.
Regard,
Jonathan
Hi Abdul,
Crystal dlls of version 10.0 are not recommended with VS2005. So, do not have CR10 product in the server. Use 10.2. To be on the safer side, open the reports in the VS2005 IDE and Preview them, It should upgrade the reports. Same should be in the server machine
The runtime dll installation guide is available in the note # [1215826 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313335333833323336%7D.do]
MSI is an installer (exe) that would install the crystal runtimes in the machine. I believe that would be easier to use.
Did I answer your queries?
Thanks.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.