Crystal Reports for Visual Studio 2010 Production Release Now Available
Hello all!
The Crystal Reports product team is happy to announce the production release of SAP Crystal Reports for Visual Studio 2010.
You can download the release packages from the following locations:
- Complete Package (EXE) – Standard EXE installation package which installs SAP Crystal Reports for Visual Studio into the Visual Studio 2010 IDE
- Click Once – Click-Once installation package used to create self-updatin Windows-based applications which can be installed and run with minimal user interaction. For more details see here.
- Merge Modules – Merge Modules installation package used to install components which are shared by multiple applications. For more details see here.
- Redist Installation (32 bit)
- Redist Installation (64 bit)
After downloading the appropriate package(s), you can also review the What’s New guide, details about Crystal Reports for Visual Studio 2010 Licensing, and the Supported Platforms guide.
In addition, we have made a few videos available. You can access those via the following links:
Crystal Reports in Visual Studio 2010 explains what has changed in this release of SAP Crystal Reports for Visual Studio.
We look forward to hearing about your experience with SAP Crystal Reports for Visual Studio 2010. For support, please visit the SAP Crystal Reports, version for Visual Studio.
Setup has detected that the file CRRuntime_32bit_13_0.msi has changed since it was initially published.
It gives you the option to re-download, but doing so gives the same error.
I have tried this on two machines.
I'll ask one of our team members to look into this for you. You will see an update to this blog shortly.
Coy
Hi Paul! Looks like there is some kind of issue with the ClickOnce scenario and we are investigating. As a workaround, try the following solution. For future technical issues, please use the forums as it is monitored by the support team.Thanks!
Thanks very much!!!
If you encounter any technical issues, please use the forums to describe the issue as there are support folks who are monitoring the forums.
SAP Crystal Reports, version for Visual Studio
Thanks,
Mandeep
If you need more help with this, or if you encounter any technical issues, please use the forums to describe the issue as there are support folks who are monitoring the forums.
SAP Crystal Reports, version for Visual Studio
I was using the Beta and had all my reports working fine.
I uninstalled the Beta, installed the "Full Package" and now when I go to an existing project it compiles fine, but when I try to view any of the reports it throws an exception of "System.TypeInitializationException: The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
at CrystalDecisions.Shared.SharedUtils..cctor()"
Any comments / ideas welcome, as I now cannot deploy this app 🙁
Thanks,
Dave
Re-installed the 64 bit runtime, now I get an error saying :
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.
Why, oh why does it have to be so difficult....
CRVS2010 Beta - file not found error crdb_adoplus.dll
Please use the forums to get help for any technical issues you need help with as there are support folkss who are monitoring the forms. There's also a search feature that you can use...there is a good chance that someone else has run into your issue as well.
SAP Crystal Reports, version for Visual Studio
Thanks!
That has indeed solved the issue for me. Curious as to why this issue only affects reports previously defined with 2005, as newly defined forms seem to work OK.
Anyway, at least I am back in business, so thank you:)
Dave
Re-installed the 64 bit runtime, now I get an error saying :
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.
Why, oh why does it have to be so difficult....
Perhaps I am being dumb here, but the assemblies that are used in the toolbox seem to be the .NET 2 compiled ones.
I have got my app working by targeting the .NET 2 framework instead of .NET 4.
This cant be right, surely.
Please tell me where I am being dumb SAP.
Thanks,
Dave
"An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information."
It was unclear to me how Dave actually fixed his issue. The machine I'm working on is running 32bit XP so installing the 64 bit runtime isn't an option.
Surely you don't need to install both Crystal Reports for Visual Studio 2010 and the runtime.
Regardless I'm dead in the water. I've uninstalled and reinstalled a few times and am out of ideas.
You need to add/modify the following in your app.config file so it looks like.
I think this has something to do with the reports originally being created in .NET 2.
Hope this helps,
Dave
I suspect you're right, as these reports were originally composed with Crystal reports with VS2005. I'll post with more information to the forum as Mandeep sugests.
Try changing the targeted runtime to 3.5. I found that worked on one of my apps.
Dave
As for the error, this is the first time I have heard the CR for VS2010 install package giving this error. I think this requires some further investigation.
Please post this question to the forums so that you can get some support:
SAP Crystal Reports, version for Visual Studio
Thanks!
I am using reports which get their data from DataSet objects; I noted that I needed to use this setting for the Beta 2. Is it still needed?
Q2. If I turn on "Break on all Exceptions", I get a FileNotFoundException trying to load BusinessObjects.Licensing.KeycodeDecoder.
The exception is then swallowed by a handler within the ReportDocument constructor. Is it safe to ignore this error, or am I missing something I need to do to install this DLL?
here is my code
protected void CrystalReportSource1_Load(object sender, EventArgs e)
{
CrystalReportSource1.ReportDocument.SetDatabaseLogon("sa", "pass123", "SERVER\\SQLEXPRESS", "CAR");
}
Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
Source Error:
Line 53: protected void CrystalReportSource1_Load(object sender, EventArgs e)
Line 54: {
Line 55: CrystalReportSource1.ReportDocument.SetDatabaseLogon("sa", "pass123", "SERVER\\SQLEXPRESS", "CAR");
Line 56: }
Line 57: }
SAP Crystal Reports, version for Visual Studio
Thanks!
For any technical issues, please use the support forums:
SAP Crystal Reports, version for Visual Studio
Thanks!
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception
The targeted platform in our deployment project is x86 and client machine configuration is 32 bit windows 7.
How can we resolve this issue ?
Thanks
SAP Crystal Reports, version for Visual Studio
Thanks!
Thanks.
There was a conflict between "System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". (TaskId:14)
"System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" was chosen because it was primary and "System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" was not. (TaskId:14)
References which depend on "System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" [C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll]. (TaskId:14)
C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll (TaskId:14)
Project file item includes which caused reference "C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll". (TaskId:14)
System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL (TaskId:14)
References which depend on "System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" [C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.Services.dll]. (TaskId:14)
C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.Shared.dll (TaskId:14)
Project file item includes which caused reference "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.Shared.dll". (TaskId:14)
CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL (TaskId:14)
CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL (TaskId:14)
CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL (TaskId:14)
CrystalDecisions.Windows.Forms, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL (TaskId:14)
C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.ReportSource.dll (TaskId:14)
Project file item includes which caused reference "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.ReportSource.dll". (TaskId:14)
CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL (TaskId:14)
CrystalDecisions.Windows.Forms, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL (TaskId:14)
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3247: Found conflicts between different versions of the same dependent assembly.
If the above doesn't help, please provide the details on the support forums for further help.
SAP Crystal Reports, version for Visual Studio
Thanks!
The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception.
I've tried removing the control and re-adding and removing the reference from the project and re-adding. Nothing seems to fix the problem. I'm running VS2010 on a Windows 7 Machine that is 64 bit version.
If you need further assistance with this issue, please use the support forums:
SAP Crystal Reports, version for Visual Studio
Thanks!
We are currently developing a desktop application in Visual Studio 2010 that has a few reports made in Crystal. We are currently using it internally, and we are evaluating on selling it, do we have to buy the server license? The application will be single user, but sharing a common database between users.
Thank you so much!
Mauricio Shatski
Please see the following link to find out details on licensing:
http://www12.sap.com/solutions/sap-crystal-solutions/query-reporting-analysis/sapcrystalreports-visualstudio/licensing/index.epx
The relevant bit is here:
"You are free to deploy thick-client Windows applications that embed the runtime engine. These applications can be freely deployed both within your own organization and redistributed outside your organization to third parties at no additional charge."
If you are interested in deploying a web application externally, then you will need the runtime license:
http://ecohub.sdn.sap.com/irj/ecohub/solutions/crystalreportsruntimeserver
Would it be terribly difficult to describe,
Complete Package
Click Once
Merge Modules
Redistributed Install (32 bit)
Redistributed Install (32 bit)
and why I might want or not need them!!
Good point! I've updated the text of the main blog post to include some descriptions of the different packages and some links to Microsoft MSDN websites to provide more detail on the clickonce and merge modules packages.
Coy
I also have trouble deciphering what is needed for a client machine to view a Crystal report.
I don't know which of the following action(s) to do, either singly or in combination:
1. In the setup project, include the SAP Crystal Reports runtime as a prerequisite.
2. On client machine: Install the runtime version for either 32 bit or 64 bit.
3. On client machine: Install the redistributable for either 32 bit or 64 bit.
4. In the setup project: Use the Merge Module.
The DG does not make clear the answers to which step or steps to follow for client deployment.
Also, I'm having version angst. I am working with CR for VS_13, since I am developing in Visual Studio 2010. However, in the developers guide, I see references to _14.
The other redist packages provide a .MSI package that you can execute separately on a client or server machine.
In the end, it depends on how you want to deploy your application; CR simply provides the packages to support your choice of deployment.
As for documentation referencing "_14", please let us know where in the documentation and we can follow up on our side to fix it.
If you have any future technical issues, please use the CR .NET forum to post your questions.
SAP Crystal Reports, version for Visual Studio
Thanks!
FYI - The Merge modules don't work, or did not work for me. What works for me, for VS2010, for a windows application that has a related setup package, are these steps:
1. Install on Development machine: CRforVS_13_0
2. Develop a setup project withOUT Crystal Reports merge modules, and do NOT include (check) the SAP Crystal Reports prerequisite.
But do "copy local" all CrystalDecision libraries, so these assemblies will end up in the client application folder. Note that you need to also ensure that they are in the application "files" list in your setup project.
3. Install on the client machine:
CRRuntime_32bit_13_0.msi. This is currently in a zip file on your website called: CRforVS_redist_install_32bit_13_0
(-or- use the 64bit version)
I must say, the website and everything else is quite confusing and contains many contradictory solutions, for example, use / don't use merge modules. I do believe that you should clearly guide people as to what is needed for each "type" of deployment, must as I have done above. This would also reduce your own support time.
Finally, references to version _14 can be found in your Developer's Guide.
Thanks again, Peg
I'm not sure why the merge modules did not work for you, but if the deployment you outlined works for you, then that's great.
If you need any help with the merge modules issue, please start a new forum thread on the CR.NET support forum:
SAP Crystal Reports, version for Visual Studio
Thanks!
It looked like is successfully installed on one attempt, but I was still missing dlls like the .engine.dll.
Any ideas?
However, when attempting to publish and run this program, I keep getting the following error.
Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Load report failed.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
at Revised_EMPPROJECT.frmSearchBy4thEmployee.cmdSearchBy4thEmployee_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
If you need more assistance for this issue, please use the forums:
SAP Crystal Reports, version for Visual Studio
Need advise.
If you are working with a WinForm or WPF solution/project within VS, please ensure the project targets the ".NET Framework 4" framework, and not the default ".NET Framework 4 Client" framework.
When you create a new project witihn VS, under the "Reporting" projec type, do you see any of the Crystal Report project templates?
If none of the above help you get started, please post this issue on the support forums and someone will be able to help you troubleshoot this issue. Please ensure you provide the results of the above questions/suggestions.
SAP Crystal Reports, version for Visual Studio
Thanks!
Thank you 🙂
Hi @Coy Yonce many thanks for your post, now my visual studio 2010 working properly for .rpt files.
I've searched this files to support vs 2010.
BR,
Ace