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.

[1427 byte] By [ueoctudorprice] at [2008-2-7]
# 1
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?

ueoctudorprice at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...
# 2
Hello,

Crystal Reports XI does not currently support Visual Studio 2005.

Please see the following post:

http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=16340

Keith - Business Objects

KeithThomson at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...
# 3

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?

Smurble at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...
# 4

you need to use XIR2 to work with Visual Studios 2005 (.NET 2.0 Framework) it is a free upgrade for those who have purchased Crystal Reports XI and can be found at:

http://www.businessobjects.com/products/reporting/crystalreports/xi_release_2.asp

mewdied at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...
# 5

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).

PaulPT at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...
# 6

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.

VladimirSapronov at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...
# 7
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.

Smurble at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...
# 8

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.

VladimirSapronov at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...
# 9


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?

softwater at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...
# 10

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?

sagesmith7 at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...
# 11

That is correct, you can refer to this kbase that was just published by Business Objects in regards to this issue.

http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=7426680&sliceId=&dialogID=10856739&stateId=1%200%2010858586

CR XI at any patch level will not work with the 2.0 framework.

mewdied at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...
# 12

the kbase says the following:

Resolution

Use one of the two following options to resolve this issue:

  • For Crystal Report XI the .NET 1.1 Framework needs to be installed. For an ASP.NET application, you will need to configure the application directory in IIS to use ASP.NET version 1.1.4322. For Windows Forms applications if you are using a COM language to reference the .NET components you will need to create a configuration file to force your application to use the .NET 1.1 framework. This is discussed at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/sidexsidenet.asp

  • Upgrade to Crystal Reports XI Release 2 which uses the .NET 2.0 framework. Consult with your system administrator or manager before doing this.

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?

sagesmith7 at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...
# 13
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.
mewdied at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...

Visual Studio

Site Classified