XI and VS 2005
I recently purchased XI developer. What version of the merge modules should I be using to get things working with VS 2005 - the ones that shipped with XI, Visual Studio 2005 or others? I didn't install the VS CR version - just kept my XI developer version. I am having problems exporting files from the webviewer.
Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.
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.TypeLoadException: Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.
Hi just to clarify my original post:
- I developed a report using CR XI developer and used the CR XI references in my ASP.Net project - not using the CR10/VS2005 libraries
- compiled project in Visual Studio 2005 Beta 2, .Net 2.0
- the crystalreportsviewer11 virtual directory is setup on my site and CR XI Developer is fully installed on the same machine
Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
crReportDocument.Load("C:\intepub\dr\report\report1.rpt", OpenReportMethod.OpenReportByTempCopy)
crReportDocument.SetDatabaseLogon(ConfigurationManager.AppSettings("cr_user"), ConfigurationManager.AppSettings("cr_password"), ConfigurationManager.AppSettings("cr_server"), ConfigurationManager.AppSettings("cr_database"))
crReportDocument.SetParameterValue("idcontact", Viewstate("idcontact"))
CrystalReportViewer1.ReportSource = crReportDocument
- the viewer displays the report ok
- click on print or export buttons and the above exception occurs
Without all the confusion of CR10 being embedded with VS2005, if I use the CRXI references (as I have) and compile in VS2005, this should work, no?
I get this same error using CR XI on with an app designed with ASP using .NET Framework 2.0. The PC is running XP Pro.
Any ideas?
I have installed Crystal SP1 and still get this problem.
It also affects the deployment machine (which doesn't have the Crystal report writer installed).
I have this exception when I'am trying to export report. How do you think, does CR 11 relaese 2 solve this problem?
System.TypeLoadException : Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.
Regards.
I am not sure as to the HOW it fixes it, but it does.
Crystal 10 and XI are not compatible with .net 2.0 or VS 2005. We could get them to print to a printer with no problem. Exporting to PDF or some other format resulted in the error.
We got around the issue initially by setting IIS to use .net 2.0 Framework on our application server and .net 1.1 on the Crystal server while using 10 and XI. This works fine for our app as long as the servers are separate machines.
This does not work when the app server and crystal server are the same machine with separate web sites set up in IIS. We got an error stating that the same version of .net needed to be on both sites. In this case, we had to update to XI R2. This seems to have resolved the issue.
Thank you! You hit the spot. I meant does it fix or not, of course. And you've answered on my question.
I've checked it and CRr2 really works properly.
this is my first post ever on the internet... i get the same error when trying to print/export even tho im using CRXI release 2. Im using .net 2.0 and visual studio 2003... any help?
so, to be clear;
Even with CR XI SP1 you cannot export in a web app referencing CRXI assemblies running under .net 2.o Framework?
the kbase says the following:
Resolution
Use one of the two following options to resolve this issue:
this second bullet gives the impression that R2 solves the problem. I installed the server msi and I still get the problem. Am I misunderstanding the second bullet, or did I not apply R2 correctly?
Installing the server msi does not upgrade your project to use the R2 assemblies. You would need to install the developer edition on your development machine, using the same keycode as you did XI, rebuild your project, then deploy using the R2 server install.