Our Featured Articles:
1 2 3 4 5 6 7 8 9 10


How to use Crystal Report 2010 in VS2010

September 22, 2010 admin Crystal Reports

Post to Twitter





Using Crystal Report 2010

  • Requirements: Visual Studio 2010, Crystal Report 2010
  • Level: Moderate
  • Language: Visual Basic.Net

About Crystal Reports

Crystal Report has been a partner of developer in creating a professional reporting since the early versions of Visual Studio.Microsoft proves that they have the speed on creating and updating their products, although Business Objects tried to follows the abrupt products updates of Microsoft still they left behind the race. In fairness with the Business Objects, they have also a quality products that most programmer depends on.

Crystal Reports 2010 in Visual Studio 2010?

The questions “Is CR2010 beta can be use in Visual Studio 2010?” the answer is YES, of course, even though CR is still on its beta version (Free to download and will remain free as the Business Objects representative Cheers, Blair said.) we will be able to use it in VS2010 but need for some settings to be set in order that this products will be able to use. Based on my experience I am going to show you how I did it just consider for some procedures to follow.
  1. Download the CR2010 beta 2 from Business Object Website.
  2. Crystal Reports for Visual Studio 2010.
  3. Crystal Reports Runtime engine for .net framework 4.0 (32 bit).
  4. Crystal Reports Runtime engine for .net framework 4.0 (64 bit).
  5. You are going to need these two installer the CR2010 for VS2010 and the Crystal Report Runtime Engine.
  6. Any previous installed crystal report should uninstall first before installing the new release.

Or you can now download the Production Release from the ff:

  1. SAP Crystal Report Version for Visual Studio 2010.
  2. Click Once SAP Crystal Reports, version for Visual Studio 2010 -
  3. Merge Module SAP Crystal Reports, version for Visual Studio 2010 -
  4. SAP Crystal Reports runtime engine for .NET Framework 4 (32-bit).
  5. SAP Crystal Reports runtime engine for .NET Framework 4 (64-bit)
Now install Crystal Reports For Visual Studio 2010 on your developer machine and as well as Runtime Engine. Create a setup program on your project, on Project Solution Explorer right click the setup, in the picture below it shows AISCollection and select properties:

on Properties Dialog box click Prerequisites, to show the prerequisites dialog box as shown below:

If you cannot see Crystal Report 2010 Runtime, surely it will not appear on your Prerequisites dialog because it was manually created using Bootstrapper Manifest Generator for Visual Studio 2008 you can download the Bootstrapper Manifest Generator HERE to generate a prerequisite installer on your project. The same way with framework2 and Microsoft data Access Component for VS2010 all was created using Bootstrapper Manifest Generator. Crystal Report 2010 beta uses the .net framework 2.0 that’s why you need to include it on your setup. program. As an alternative way if you don’t want to create a prerequisite installer for that, you need to manually install the runtime and the .net framework 2.0 including the Microsoft data Access Component 2.8 on your client machine before all things will work perfectly. The Tutorials on how to use the Bootstrapper Manifest Generator will be available soon, please come back and check it here regularly.

Issue Arising After Installing the new Crystal Report Production Release.

Upon Compiling your projects if you do experience a not found error “crdb_adoplus.dll“, all you have to do are:
  1. Go to the folder “C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86” and copy the crdb_adoplus.dll into dotnet1 folder, if the dotnet1 folder does not exist on “”C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86” create it and copy the crdb_adoplus.dll on this folder (dotnet1).
  2. The above File path will look like “C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll“.
  3. Now open your Application’s Configuration File “[ProjectName].exe.config” if your Project name ismyCollection then the Configuration File will be “myCollection.exe.config“, Locate the ff: line
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0">
</startup>

and replace it with the ff:

<startup useLegacyV2RuntimeActivationPolicy="true">
     <supportedRuntime version="v4.0"/>
</startup>
This will tell Visual Studio to Support the Runtime Version 4.0, failed to do it will result in the ff: error
Mixed mode assembly is built against version ‘v2.0.50727′ of the runtime
and cannot be loaded in the 4.0 runtime without additional configuration information.
VN:F [1.9.6_1107]
Rating: 8.1/10 (31 votes cast)
VN:F [1.9.6_1107]
Rating: +8 (from 12 votes)

How to use Crystal Report 2010 in VS2010, 8.1 out of 10 based on 31 ratings


Post to Twitter

Keywords: , , , , , , ,

Other reading this article are also reading these:

cr2010 Beta, crystal reports 2010, prerequisites, production, programming,

5 comments on “How to use Crystal Report 2010 in VS2010

  1. Qalab Abbas on said:

    Thanks really helped me alot as i am not much hands on SAO

    VA:F [1.9.6_1107]
    Rating: 5.0/5 (1 vote cast)
    VA:F [1.9.6_1107]
    Rating: +1 (from 1 vote)
  2. Tin tức CNTT,Tin tuc,CNTT,Điện thoại,Dien thoai,Mobile,Thảo luậnThao luan,Chia sẻ kinh nghiệm,Chia se kinh nghiem,Chia se,Kinh nghiem,Thủ thuật,Thu thuat,Ngôn ngữ ,Ngon ngu,Lập trình,Lap trinh,Ngôn ngữ lập trình,Visual,Java, on said:

    Great web site. Lots of helpful info here. I am sending it to a few pals ans additionally sharing in delicious. And certainly, thank you on your sweat!

    VA:F [1.9.6_1107]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.6_1107]
    Rating: +2 (from 2 votes)
  3. satellitedirect.com on said:

    advertising and *********** with Adwords. Well I am including this RSS to my e-mail and could glance out for much more of your respective intriguing content. Ensure that you update this once more soon..

    VA:F [1.9.6_1107]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.6_1107]
    Rating: +1 (from 1 vote)
  4. Pingback: How to use Crystal Report in VS2010 | SourceHints

  5. Sumit Singla on said:

    Its better plz use this steps

    VA:F [1.9.6_1107]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.6_1107]
    Rating: 0 (from 0 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

98,559 Spam Comments Blocked so far by Spam Free Wordpress

HTML tags are not allowed.

Powered by WordPress 3.5.1. Designed by elogi. Allright Reserved SourceHints 2010-2014