cancel
Showing results for 
Search instead for 
Did you mean: 

Error code:-2147213270 Error code name:enterprisePluginNotFound

frizzello76
Discoverer
0 Kudos
223

I have an old Crystal Report distribution XI sp4

I'm trying to produce a pdf from a crystal report setting a Java bean pojo:

reportClientDocument = new ReportClientDocument ();

try {

reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);

reportClientDocument.open(reportFilePath, OpenReportOptions._discardSavedData);

reportClientDocument.getDatabaseController().setDataSource(new ExamplePojo("SI"));

FileOutputStream fos = new FileOutputStream(outputFile);

reportClientDocument.getPrintOutputController().export(ReportExportFormat.PDF, fos);

} catch (ReportSDKException e) {

// TODO Auto-generated catch block

e.printStackTrace();

} catch (FileNotFoundException e) {

// TODO Auto-generated catch block

e.printStackTrace();

}

but i obtain an exception:

Error code:-2147213270 Error code name:enterprisePluginNotFound

What i have to do?

View Entire Topic
DonWilliams
Active Contributor
0 Kudos

Enterprise and Info were included with BOE SDK, it's not longer included with CR for VS or Cr for Eclipse.

Just delete those 2 references and your app should work, unless it was connecting to BOE/CRs in which case you need to use those SDK packages.