<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Reference for CrystalReports.Engine.ReportDocument object class in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723836#M4775014</link>
    <description>&lt;P&gt;You cannot add the COM components directly! They're no longer licensed for direct access from your code.  Instead,&lt;/P&gt;&lt;P&gt;1. Right-click on "References" in the Solution Explorer pane and select "Add Reference" to bring up the Reference Manager.&lt;/P&gt;&lt;P&gt;2.  Click on "Extensions" on the left.  It may take a bit, but you will then see the Crystal Decisions assemblies.&lt;/P&gt;&lt;P&gt;3.  Select the 4 assemblies that you have in your Using clause.  It will look something like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2144513-image.png" /&gt;&lt;/P&gt;&lt;P&gt;4.  Click on "OK".&lt;/P&gt;&lt;P&gt;5.  For each of the CrystalDecisions assemblies that you've added, select it under "References" and look at its properties.  Make sure that the "Embed Interop Types" property is set to False.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2144514-image.png" /&gt;&lt;/P&gt;&lt;P&gt;-Dell&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2023 17:26:17 GMT</pubDate>
    <dc:creator>DellSC</dc:creator>
    <dc:date>2023-02-24T17:26:17Z</dc:date>
    <item>
      <title>Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaq-p/12723825</link>
      <description>&lt;P&gt;Hello, all. &lt;BR /&gt;&lt;BR /&gt;I'm trying to build a simple VS2022 test application integrating the trial version of CR2020. There is effectively one line of code:&lt;/P&gt;
  &lt;P&gt; Dim CrystalReportSource1 As New CrystalDecisions.CrystalReports.Engine.ReportDocument&lt;/P&gt;
  &lt;P&gt;Which is returning an error:&lt;/P&gt;
  &lt;P&gt; BC30002 Type 'CrystalDecisions.CrystalReports.Engine.ReportDocument' is not defined.&lt;/P&gt;
  &lt;P&gt;I need to know what reference to add or Import in order to be able to use this ReportDocument object class (or an alternate object class name, if this has changed to something outside the CrystalDecisions namespace.) I've tried a number of Crystal Reports 14.0 references that looked promising but didn't help. And in previous (CR2008) versions of this same project I had successfully used the following Imports statements, but the targets are no longer found:&lt;BR /&gt;&lt;BR /&gt; Imports CrystalDecisions.Shared&lt;BR /&gt; Imports CrystalDecisions.CrystalReports.Engine&lt;BR /&gt; Imports CrystalDecisions.ReportSource&lt;BR /&gt; Imports CrystalDecisions.CrystalReports.Engine.ReportDocument&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 16:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaq-p/12723825</guid>
      <dc:creator>mbenigni</dc:creator>
      <dc:date>2023-02-22T16:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723826#M4775004</link>
      <description>&lt;P&gt;Apologies, I may have just answered this question myself. The following Imports appears to work:&lt;/P&gt;&lt;P&gt;Imports CrystalReportSourceLib&lt;/P&gt;&lt;P&gt;Allowing use of this new object class:&lt;/P&gt;&lt;P&gt;Dim CrystalReportSource1 As New CrystalReportSourceLib.PSReportFactory&lt;BR /&gt;&lt;BR /&gt;I do have a follow up question, however. My project builds, but this line:&lt;BR /&gt;&lt;BR /&gt;CrystalReportSource1.FileName = oFile.Name&lt;BR /&gt;&lt;BR /&gt;Throws an exception at runtime:&lt;BR /&gt;&lt;BR /&gt;Public member 'FileName' on type '_ComObject" not found.&lt;BR /&gt;&lt;BR /&gt;I have been unable to find any documentation on the class hierarchy that's not already out of date. Can you provide any information on how to assign a filename to a CR2020 object in &lt;A rel="nofollow" href="http://VB.NET" target="_blank"&gt;VB.NET&lt;/A&gt;?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 21:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723826#M4775004</guid>
      <dc:creator>mbenigni</dc:creator>
      <dc:date>2023-02-22T21:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723827#M4775005</link>
      <description>&lt;P&gt;Crystal Reports installer no longer includes the .NET runtime.&lt;/P&gt;&lt;P&gt;You need to get it from here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads" target="test_blank"&gt;https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Download the CR for VS 2022 or above EXE, it will prompt at the end to install the 32 bit runtime, click OK.&lt;/P&gt;&lt;P&gt;Note you must install using Run as Administrator by right clicking on the EXE.&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 21:29:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723827#M4775005</guid>
      <dc:creator>DonWilliams</dc:creator>
      <dc:date>2023-02-22T21:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723828#M4775006</link>
      <description>&lt;P&gt;Thank you for your reply, Don!&lt;BR /&gt;&lt;BR /&gt;I've already installed CR for VS2022. I believe I would have selected a 64-bit runtime however (if there was an option), since I'm running CR2020 and not CR2016.&lt;BR /&gt;&lt;BR /&gt;Is there some way to confirm that this is configured properly? And should I be looking for specific reference(s) to add in my VS project? Note that the project does currently build with the CrystalReportsSourceLib Imports statement.&lt;BR /&gt;&lt;BR /&gt;If it would help, I could also post my VB.NET source code. A very simple example would illustrate the functionality I'm trying to duplicate from our old CR2008 application.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Marc&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 13:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723828#M4775006</guid>
      <dc:creator>mbenigni</dc:creator>
      <dc:date>2023-02-23T13:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723829#M4775007</link>
      <description>&lt;P&gt;With Crystal for VS, you need to reference the version 13.x.x.x assemblies in your application, not the version 14.x.x.x assemblies.&lt;/P&gt;&lt;P&gt;-Dell&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 15:20:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723829#M4775007</guid>
      <dc:creator>DellSC</dc:creator>
      <dc:date>2023-02-23T15:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723830#M4775008</link>
      <description>&lt;P&gt;Thank you, Dell - this is really valuable information! Can you tell me which references (and corresponding Imports statements) I should be using, or direct me to documentation? &lt;BR /&gt;&lt;BR /&gt;The (formerly working) CR2008 code I'm trying to replicate simply opens source files and exports in various formats. Here's a simplified version:&lt;BR /&gt;&lt;BR /&gt;Imports CrystalDecisions.Shared&lt;BR /&gt;Imports CrystalDecisions.CrystalReports.Engine&lt;BR /&gt;Imports CrystalDecisions.ReportSource&lt;BR /&gt;Imports CrystalDecisions.Windows.Forms&lt;BR /&gt;&lt;BR /&gt;Public Class Form1&lt;BR /&gt;    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load&lt;BR /&gt;        Dim CrystalReportSource1 As New CrystalDecisions.CrystalReports.Engine.ReportDocument&lt;BR /&gt;&lt;BR /&gt;        CrystalReportSource1.FileName = "\\Server\Templates\test.rpt"&lt;BR /&gt;        CrystalReportSource1.SetDatabaseLogon("UserName", Environment.GetCommandLineArgs(1))&lt;BR /&gt;        CrystalReportSource1.ExportToDisk(ExportFormatType.CrystalReport, "\\Server\Results\test.rpt")&lt;BR /&gt;        CrystalReportSource1.Close()&lt;BR /&gt;        CrystalReportSource1 = Nothing&lt;BR /&gt;    End Sub&lt;/P&gt;&lt;P&gt;End Class&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 16:33:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723830#M4775008</guid>
      <dc:creator>mbenigni</dc:creator>
      <dc:date>2023-02-23T16:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723831#M4775009</link>
      <description>&lt;P&gt;Hi Marc,&lt;/P&gt;&lt;P&gt;See my Blog for upgrading, it answers a lot of your questions:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2020/10/30/upgrading-a-visual-studio-2008-2019-.net-project-with-the-latest-cr-.net-sdk-packages/" target="test_blank"&gt;https://blogs.sap.com/2020/10/30/upgrading-a-visual-studio-2008-2019-.net-project-with-the-latest-cr-.net-sdk-packages/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As Dell noted, don't mix CR runtime. Version 13 is standalone and version 14 if connecting to BOE/CR Server. No longer can connect to those using CR 13 runtime, not needed if you don't.&lt;/P&gt;&lt;P&gt;Main thing to note is you must set all Copy Local to False, clean out your \bin folder of any CR dll's that may have been left over, mixing runtime will cause problems.&lt;/P&gt;&lt;P&gt;Also note with VS 2022 your app.config file should no longer be adding CR references and CR runtime is for you platform and not the OS.&lt;/P&gt;&lt;P&gt;Also, when adding the CR Viewer to your Windows Form be sure you are selecting the right version, I also recommend not browsing to the assemblies but using the Extensions tree in VS to select them&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 18:00:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723831#M4775009</guid>
      <dc:creator>DonWilliams</dc:creator>
      <dc:date>2023-02-23T18:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723832#M4775010</link>
      <description>&lt;P&gt;Thanks so much for all of this information, Don! There's a lot to process here, but I'll do some homework and report back.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Marc&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 18:07:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723832#M4775010</guid>
      <dc:creator>mbenigni</dc:creator>
      <dc:date>2023-02-23T18:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723833#M4775011</link>
      <description>&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;I've followed through your blog article, and a number of other articles linked from there. I did make some progress: it looks like I hadn't properly installed SAP Crystal Reports for Visual Studio after all. After remedying that problem, I now have the following in Programs and Features:&lt;BR /&gt;&lt;BR /&gt;SAP Crystal Reports 2020 SP3 Patch 1&lt;BR /&gt;SAP Crystal Reports Runtime Engine for .NET Framework (32-bit)&lt;BR /&gt;SAP Crystal Reports Runtime Engine for .NET Framework (64-bit)&lt;BR /&gt;SAP Crystal Reports, version for Microsoft Visual Studio (64-bit)&lt;BR /&gt;&lt;BR /&gt;All older versions (Crystal Reports 9, Crystal Reports 2008) have been uninstalled.&lt;BR /&gt;&lt;BR /&gt;However, I'm still not seeing an available COM reference with which to replace/upgrade CrystalDecisions.CrystalReports.Engine, so I'm effectively stuck.&lt;BR /&gt;&lt;BR /&gt;Note I'm trying to build to .NET 6.0 in VS2022 in order to best future-proof this work. Is this platform not supported?&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Marc&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 20:38:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723833#M4775011</guid>
      <dc:creator>mbenigni</dc:creator>
      <dc:date>2023-02-23T20:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723834#M4775012</link>
      <description>&lt;P&gt;Those references are correct.&lt;/P&gt;&lt;P&gt;Looking at your code, instead of setting .FileName, you may want to try CrystalReportSource1.Load("\\Server\Templates\test.rpt").&lt;/P&gt;&lt;P&gt;Definitely look at the conversion information at the URL that Don posted below.&lt;/P&gt;&lt;P&gt;-Dell&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 21:14:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723834#M4775012</guid>
      <dc:creator>DellSC</dc:creator>
      <dc:date>2023-02-23T21:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723835#M4775013</link>
      <description>&lt;P&gt;Thank you, Dell!&lt;BR /&gt;&lt;BR /&gt;When you say "those references are correct", are you referring to the four Imports statements at the top of my code? On build, VS reports that these namespaces cannot be found. As a result, there is an error as soon as I try to create the new CrystalDecisions.CrystalReports.Engine.ReportDocument object. I think the fundamental problem is that I'm not finding the CrystalDecisions.CrystalReports.Engine reference when I try to add a v13.0 COM reference to the project. Is there something about this combination of products (CR2020, VS2022, .NET 6.0) that is not supported?&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Marc&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 16:48:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723835#M4775013</guid>
      <dc:creator>mbenigni</dc:creator>
      <dc:date>2023-02-24T16:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723836#M4775014</link>
      <description>&lt;P&gt;You cannot add the COM components directly! They're no longer licensed for direct access from your code.  Instead,&lt;/P&gt;&lt;P&gt;1. Right-click on "References" in the Solution Explorer pane and select "Add Reference" to bring up the Reference Manager.&lt;/P&gt;&lt;P&gt;2.  Click on "Extensions" on the left.  It may take a bit, but you will then see the Crystal Decisions assemblies.&lt;/P&gt;&lt;P&gt;3.  Select the 4 assemblies that you have in your Using clause.  It will look something like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2144513-image.png" /&gt;&lt;/P&gt;&lt;P&gt;4.  Click on "OK".&lt;/P&gt;&lt;P&gt;5.  For each of the CrystalDecisions assemblies that you've added, select it under "References" and look at its properties.  Make sure that the "Embed Interop Types" property is set to False.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2144514-image.png" /&gt;&lt;/P&gt;&lt;P&gt;-Dell&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 17:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723836#M4775014</guid>
      <dc:creator>DellSC</dc:creator>
      <dc:date>2023-02-24T17:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723837#M4775015</link>
      <description>&lt;P&gt;Thanks again, Dell! I've made some progress; I think I'm close to having this completed.&lt;BR /&gt;&lt;BR /&gt;I had been struggling because the contents of References Manager looked very different than yours and Don's. It turned out I'd built my project from the WPF Application template rather than the WPF App template. After creating a new project with the latter, VS presents an Assemblies group in Reference Manager. From there, all of the references were available (and Embed Interop Types was False for each by default.)&lt;BR /&gt;&lt;BR /&gt;At this point my code will build without errors or warnings, and it will run all the way through the ExportToDisk method call. (Both my original FileName property setting or your recommended Load method replacement appear to run fine.) However, the app throws an exception on ExportToDisk, indicating:&lt;BR /&gt;&lt;BR /&gt;CrystalDecisions.CrystalReports.Engine.InternalException: 'Failed to open the connection.'&lt;BR /&gt;&lt;BR /&gt;This is strange since SetDatabaseLogon is successful, and any other connection information is embedded in the report. Can you shed any light on this? Are there other required steps that have been added as of CR2020?&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Marc&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 20:09:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723837#M4775015</guid>
      <dc:creator>mbenigni</dc:creator>
      <dc:date>2023-02-24T20:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723838#M4775016</link>
      <description>&lt;P&gt;Hi Marc,&lt;/P&gt;&lt;P&gt;You don't need to manually install the MSI packages on your DEV PC.&lt;/P&gt;&lt;P&gt;When you install &lt;A href="https://origin-az.softwaredownloads.sap.com/public/file/0020000001649972022"&gt;CR for Visual Studio SP33 64b installer (VS 2022 and above)&lt;/A&gt; it will install the 64 bit MSI but not show it in Programs and Features. At the end of the install it will prompt if you want the 32 bit runtime, Click OK and install it.&lt;/P&gt;&lt;P&gt;You should only see this for CR for VS, CR Designer doesn't matter for this install:&lt;/P&gt;&lt;P&gt;SAP Crystal Reports Runtime Engine for .NET Framework (32-bit)&lt;BR /&gt;SAP Crystal Reports, version for Microsoft Visual Studio (64-bit)&lt;/P&gt;&lt;P&gt;We don't support any higher framework than 4.8 is likely the cause, select 4.7 or 4.8 only.&lt;/P&gt;&lt;P&gt;Almost there...&lt;/P&gt;&lt;P&gt;Uninstall the 64 bit MSI and then repair the installer, because it's going to remove all of the runtime.&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2023 12:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723838#M4775016</guid>
      <dc:creator>DonWilliams</dc:creator>
      <dc:date>2023-02-26T12:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723839#M4775017</link>
      <description>&lt;P&gt;Do you have any subreports?  If so, are you explicitly using SetDatabaseLogon for each of them?  If not, that could cause this problem.  &lt;/P&gt;&lt;P&gt;Also, I &lt;EM&gt;think&lt;/EM&gt; I recall hearing about an error at one point in time with either ExportToDisk or ExportToStream - the resolution was to use the the other one of these two methods instead.  I don't remember which was the correct one, though.&lt;/P&gt;&lt;P&gt;-Dell&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 15:29:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723839#M4775017</guid>
      <dc:creator>DellSC</dc:creator>
      <dc:date>2023-02-27T15:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723840#M4775018</link>
      <description>&lt;P&gt;Thanks, Don. Before I uninstall/reinstall anything, did you happen to see my reply to Dell's most recent comment above? I was finally able to build a WPF App (not WPF Application) project using .NET 4.7.2, and this exposes all of the correct COM references via the Assemblies tab in the Reference Manager. The only outstanding issue is that my report object's ExportToDisk method is throwing a "Failed to open connection" exception. Do you think that uninstalling the 64-bit CR for VS and reinstalling is likely to correct this?&lt;/P&gt;&lt;P&gt;Thanks again,&lt;BR /&gt;Marc&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 17:14:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723840#M4775018</guid>
      <dc:creator>mbenigni</dc:creator>
      <dc:date>2023-02-27T17:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723841#M4775019</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;I hate this format, to many threads to follow, I like what every other Forum does, just post in a sequential stream so it's easier to follow the thread and whats been done.&lt;/P&gt;&lt;P&gt;OK, first thing is I don't suggest using the WPF viewer, it hasn't been developed as much as the Windows Form, and getting things fixed is tougher, it's not as robust as the Windows Form.&lt;/P&gt;&lt;P&gt;Open Connection is database client not being in the correct format, 32 or 64 bit, or if it's based on a PC type it tougher to find a 64 bit Client.&lt;/P&gt;&lt;P&gt;Uninstalling the 64 bit runtime doesn't patter at this point, it's the same one the EXE installs.&lt;/P&gt;&lt;P&gt;Single step through your app when you get to the database logon info and mouse over each collection and see what's missing in the collections/property bags.&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 23:47:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723841#M4775019</guid>
      <dc:creator>DonWilliams</dc:creator>
      <dc:date>2023-02-27T23:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723842#M4775020</link>
      <description>&lt;P&gt;Thanks for getting back, Dell.&lt;BR /&gt;&lt;BR /&gt;No, there are no subreports - this is a very simple report with just one connection and one data table.&lt;BR /&gt;&lt;BR /&gt;I tried replacing ExportToDisk with ExportToStream, but the latter method doesn't take any parameters relating to destination, filename, etc. Apparently all of this needs to be set up via other properties/ methods in advance, but I can't find any documentation or sample code to illustrate. For the moment ExportToDisk seems closer to working. If you can recommend or link to any documentation concerning ExportToStream I would be grateful.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Marc&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 13:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723842#M4775020</guid>
      <dc:creator>mbenigni</dc:creator>
      <dc:date>2023-02-28T13:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723843#M4775021</link>
      <description>&lt;P&gt;Hi Don,&lt;BR /&gt;&lt;BR /&gt;I couldn't agree more about the non-sequential format of this page. For a couple of days I was convinced my comments were being deleted. &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm a little bit confused about your distinction between the WPF Viewer vs. Windows Form. My application is a &lt;A rel="nofollow" href="http://VB.NET" target="_blank"&gt;VB.NET&lt;/A&gt; WPF Application, but I haven't explicitly added a form or a Viewer object; there is no report viewer or GUI at all. All of my code (and there isn't very much of it) runs at Application Startup and then the app closes.&lt;BR /&gt;&lt;BR /&gt;I think your comment concerning bitness of the database client (data source is IBM DB2 via iAccess) may be relevant. We have both 32- and 64-bit versions of this driver installed. I assumed a 64-bit application would make use of the correct 64-bit driver, but perhaps this is not happening?&lt;BR /&gt;&lt;BR /&gt;I can step through the code to a breakpoint and identify the line that throws the exception, but I'm not sure how to mouse over the collections relating to the database logon info to find missing properties. I'll keep working on this. Please let me know if you have any other thoughts in the meantime, and thanks again.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Marc&lt;BR /&gt;&lt;BR /&gt;P.S. I made some progress this morning. I experimented with replacing ExportToDisk with Export, to no avail. Then I tried a different report with a different (MS SQL) data source, and that worked. Since I've had success with the IBM driver in the past, I have to assume the application is making the wrong connection (32-bit vs. 64-bit) via ODBC. Continuing to experiment.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 13:59:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723843#M4775021</guid>
      <dc:creator>mbenigni</dc:creator>
      <dc:date>2023-02-28T13:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reference for CrystalReports.Engine.ReportDocument object class</title>
      <link>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723844#M4775022</link>
      <description>&lt;P&gt;Hello again. Based on your last response, and the progress I made this morning, I'm inclined to guess that my ODBC driver is the issue. As I said, we have both the 32-bit and 64-bit System DSN's established - but CR2020 Designer only exposes the 64-bit DSN. Is a 32-bit DSN required in order for a .NET 4.7.2 application to function properly with a CR2020 report? If anything, I would have expected 64-bit to be required.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Marc&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 15:56:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reference-for-crystalreports-engine-reportdocument-object-class/qaa-p/12723844#M4775022</guid>
      <dc:creator>mbenigni</dc:creator>
      <dc:date>2023-02-28T15:56:28Z</dc:date>
    </item>
  </channel>
</rss>

