cancel
Showing results for 
Search instead for 
Did you mean: 

Missing method 'instance class CrystalDecisions.ReportAppServer.Controllers.PrintOutputController

Former Member
0 Kudos

Error: Missing method 'instance class CrystalDecisions.ReportAppServer.Controllers.PrintOutputController [Solution] CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument::get_PrintOutputController()' from class 'CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper'. method at CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument.get_PrintOutputController()

we never had this issue before until we updated to 13.0.17.2096.

We tried SP18 and SP19 but none of them have fixed the issue.

the exception is thrown after setting the Printer Name

Dim rcd As CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument = rd.ReportClientDocument
rcd.PrintOutputController.GetPrintOptions.PrinterName = PrinterName

My imports

Imports SLNet.WebClient
Imports SLNet.CorpReport
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports System.Drawing.Printing
Imports System.Text
Imports System.Threading
Imports System.Collections.Generic
Imports CrystalDecisions.ReportAppServer.Controllers

Is there any fix for this error ?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

I have the same error.

I think it is the problem with the versions

on my devoloper pc i have installed 13.0.1.220

but on my customer pc installed 13.0.12.1494

i had installed version 13.0.1.220 on customer pc, but another party upgraded the version to 13.0.12.1494

The solution is, i think, that i must upgrade the devolper pc to 13.0.12.1494 (i hope i can find that version)

Then recompile te project and distribute

Don,

2 questions for you

1 Crystal reports is NOT version backward compatible ?

2 Crystal reports. NET is a wrapper around old .com library (crpe32.dll) ?

Now where facing the .dll hell again, i think.

Gerard

Answers (4)

Answers (4)

0 Kudos

Hi Gerald,

That could be it. ALWAYS upgrade your DEV PC and rebuild your project.

We have add new members to some API's so without a rebuild it will not work. We try not to but with some Enhancement Requests only option is to add them but the side effect is you need to recompile.

POC is one of the ones that has had a lot of updates to.

Don

Former Member
0 Kudos

Don,

I have tried adding all those references to my project but, unfortunately that did not fix my issue.

any other suggestions ?

Thank you

Hicham

Former Member
0 Kudos

Don,

Thank you for the quick answer. I will try including all those in the project.

0 Kudos

Hi Hicham,

Try adding all of these to your project:

using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
using CrystalDecisions.ReportAppServer;
using CrystalDecisions.ReportAppServer.ClientDoc;
using CrystalDecisions.ReportAppServer.Controllers;
using CrystalDecisions.ReportAppServer.ReportDefModel;
using CrystalDecisions.ReportAppServer.CommonControls;
using CrystalDecisions.ReportAppServer.CommLayer;
using CrystalDecisions.ReportAppServer.CommonObjectModel;
using CrystalDecisions.ReportAppServer.ObjectFactory;
using CrystalDecisions.ReportAppServer.Prompting;
using CrystalDecisions.ReportAppServer.DataSetConversion;
using CrystalDecisions.ReportAppServer.DataDefModel;
using CrystalDecisions.ReportSource;
using CrystalDecisions.Windows.Forms;
using CrystalDecisions.ReportAppServer.XmlSerialize;

Could be the Controller has a dependency on one of the other ones, Likely ClientDoc

Don