Crystal Reports 2008 - Error setting new datasource location

Hi All,
We are experiencing an issue while trying to set datasource location for our RM 3.0 reports in Crystal Reports 2008 designer. As per guide "SAP BusinessObjects Process Control 3.0 and Risk Management 3.0 - How to build and Personalize Custom Crystal Reports" (step 11), after opening the desire report we go to DataBase-->Set DataSource Location and when selecting our RM system (which actually has the BI content addon installed on it), we got the following error message:
"Some tables could not be replaced, as no match was found in the new data source. Please verify the table required for any unmodified tables"
I'm new on this so I'm not sure if the table indicated in the original datasource should exist in my DB (new datasource) before doing this? If so, how those tables are imported or created in our DB?
Could you please help me on this issue?
Please let me know if any other detail or data is required.
Regards

Hi Don,
Thanks for the update.
Actually I've installed SAP Integration Kit and its Fixpack in both....BOE Server (which is the same as the SAP server) and in client pc.  In all cases we have select a typical installation which supposes the required drivers are available. Also I've followed Ingo's documentation to activate and publish standard Risk Management reports (RM reports). Everything works ok with them. We are able to access reports through the application.
The issue appears when trying to customize one of these standard reports through CR Designer. For example if we select the "GRRM_Risk_by_Risk_Category" and try to customize it as indicated in the "SAP BusinessObjects Process Control 3.0 and Risk Management 3.0 - How to build and Personalize Custom Crystal Reports"...the table behind this report (table GRFN_CY_API_GRRM_R1) it's not in our RM System. My main concern or question is regarding this....Did I miss something while importing transports files, activating or publishing RM reports, etc....and thatu2019s the reason why this (and any other) table is not already in my system? I was not able to find where those tables are supposed to be or how they should be imported in my system. The odd thing is...that we are trying to customize and set the new data source for these reports to the same system from where they are being opened. Put in this way...RM reports have been activated in system A (RM System) and published to system B (BOE System). While customizing reports through CR Designer...we are actually opening reports from system A. These reports have as their original data source...a demo SAP system info (uxcir1p.wdf.sap.corp) and when we want to update this data source with our RM system....the error appears. The whole process is explained in the above mentioned guide for your reference.
Hope being clear enough..
Thanks for your help

Similar Messages

  • Crystal Reports 2008 - ERROR when changing datasource

    Hi, I have a report that is connected to a test database that needs to have the datasource changed to the production database.
    The Crystal Report has 2 "on-demand" subreports that the datasource has been changed for as well.
    SQL 2000 Databases on 2 different servers (W2003) used the "Set Datasource Location" and followed steps listed previously in the forum.
    Databases have different names but all tables are same in both.
    Database Expert is showing all tables coming from new datasource BUT when report is run parameter prompt comes up, click ok
    Error message - "Failed to retrieve data from the database" - click OK
    Error message - "Invalid Argument provided"
    Does anyone have an ideas on how to track down the issues.
    Please let me know if you need any other information

    Ok answers below:-
    1. Crystal Reports 2008 Cersion 12.1.0.892
    2. Connecting via OLEDB
    3. Yes able to refresh newly created report without sub reports enclosed
    4. Didn't know that this could be done - this report was done for us by a consultant who doesn't know how to fix this issue and reckons there is a bug in Crystal
    5. Sub reports are accessed after main report is run (I think that means that they are linked)
    6. Not sure how to do this as am newbie to Crystal Reports and we are relying on the person that we contracted to write the reports to know what he is doing.
    Any help appreciated I will try to go into the sub report and unlink - think I have found out how to do this.
    Thanks for the help so far!!

  • Crystal Reports 2008 - Error 1904 - DLLs will not register

    I have just tried to install Crystal Reports 2008 on a PC which is running on XP Professional 2002 (Service Pack 3) and none of the DDLs will register.  I have administrator privileges on the local PC.
    I could possibly try to register the DLLs manually but I don't understand why they won't register automatically.
    I would really appreciate some assistance with this. 
    Kind regards, Leeanne
    I received the following errors....
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ReportPromptEMF.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ReportSourceBridge.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\busobjReporter.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClient.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClientAddin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClientTemplate.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Webi.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\qaaws.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\MetaDataPlugins.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\lovconvertor.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\EnterpriseControls.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClientServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Xcelsius.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Flash.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\EventServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FileServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\JobServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\DocProcessingServerAdmin.dll failed to register
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\EnterpriseRepositoryAdaptor.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\AuditProxyService.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Discussions.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\WebIntelligence.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CrystalEnterprise_SMTP.dll failed to register
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\DiskUnmanaged.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Ftp.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Managed.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\MDS.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Connection.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Favorites_Folder.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Folder.dll failed to register.  HRESULT -2147024769.  Contact your support personnel.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Inbox.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\LicenseKey.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ObjectPackage.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Profile.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Publication.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\User.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\UserGroup.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CacheSrvAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\PageSrvAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\SAWebAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CMSAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Calendar.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Event.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Excel.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Hyperlink.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\PDF.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CustomRole.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Powerpoint.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Program.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Agnostic.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\RTF.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ScopeBatch.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Server.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ServerGroup.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Shortcut.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\TXT.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Word.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\AFDashboardPage.dll failed to register
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\AppFoundation.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\InfoView.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CMC.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Designer.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Encyc.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Encyclopedia.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\MyInfoView.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ReportConvTool.dll failed to register.

    Install .NET Framework 1.1 and 2.0 and then any patches Windows has for them.
    Install the C++ runtime distribution from Microsoft, search MS's site for it, they have multiple links for each OS.
    Download the latest Microsoft installer, you can go to MS's web site to get it.
    Check with your IT department to make sure they have not pushed out a "modified" administrator Profile to your PC. Open up regedit.exe and confirm you can change any key in Current User and Software and anything. Be sure to copy the original so you can right the value back and the usual warnings about modifying the registry.
    Download CR 2008 SP1 full build: https://smpdl.sap-ag.de/~sapidp/012002523100006555792009E/cr2008win_sp1.exe ( requires and un-install of existing CR 2008 if any are on your PC )
    Before running CR 2008 Install SP 3: https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    You could also try Disabling DEP, right click on My Computer, Properties, Advanced tab and Data Execution Prevention and make sure it's set to windows Processes only. Requires a re-boot if changed.
    Disable any and all anti-virus and local firewalls, copy everything local and disconnect your network cable so you don't get anything nasty and try again.
    If none of the above works then try someone elses computer, your system may be beyond repairing and could require an FDISK and starting all over.
    Thank you
    Don

  • Consuming a Web service from Crystal reports 2008 - Error

    Hi,
    I want to consume a web service from Crystal Reports 2008. I created a New Connection using "XML and Web Services" and given WSDL url as the Web Service location. Crystal Report is able to connect to the WSDL and is displaying the tags correctly. When dragging the output to "Selected Tables' section, I am getting the following error:
    "Invalid Argument Provided"
    Details: Cannot support ArrayType input parameters.
    Kindly help. Apparently this was a limitation in CR XI but does it still exist in CR 2008? Is there any patch available to resolve this issue?
    Thanks,
    Jaya
    Edited by: jayakvr on Feb 17, 2011 10:47 AM
    Edited by: jayakvr on Feb 17, 2011 10:48 AM
    Edited by: jayakvr on Feb 17, 2011 10:48 AM

    This issue is resolved now. I have installed the Service packs 1, 2 and 3 of CR2008 to overcome this error.
    Thanks,
    Jaya

  • Crystal Report 2008 error in generating existing reports

    HI,
    I have just now migrated my server from Win 2003, 32 bit to Win 2003, 64 bit. I was holding a valid license in the old server. Using the Product key and the registration number, I installed Crystal Report 2008 SP3 Build in the new server since Crystal report is supported in 64 bit version too. Now, while generating the existing reports from my application, I am getting error in event viewer as-
    "The description for Event ID ( 4353 ) in Source ( Crystal Reports ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: The keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll, cannot be loaded."
    Can someone please suggest me how to resolve this error? Actually, while opening the crystal report from application, a pop-up comes as - "Internet Explorer Script error......._pe is undefined......Do you want to continue with this? " If I say Yes/No, it opens up the required page but drop down does not contain any info and 'OK' or 'CANCEL' button does not appear....
    I need to solution ASAP. Please help.
    Thanks
    kmoondra

    Crystal report is supported in 64 bit version too
    Support on 64 bit OS does not necessarily mean that the product is 64 bit. E.g.; CR 2008 (12.x) is still only 32 bit. Only CRVS2010, CR 10.2 and CR 10.5 come in both 32 bit and 64 bit flavors.
    If you are using 32 bit Crystal Report, make sure your app is compiled as 32 bit, not "Any CPU". If you compile as "Any CPU" the 64 bit oS will want 64 bit runtime for the app by definition. This will fail as there is no 64 bit runtime for CR 2008. E.g.; follow the advice in Don's post.
    - Ludek

  • Crystal Reports 2008 Error Installing Service Pack 1

    Hello,
    I am trying to install Service Pack 1 for Crystal Reports 2008 on Windows 2008 Server as an adminstrator and I get the following error message:
    "The feature you are trying to use is on a network resource that is unavailable.  Click OK to try again, or enter an alternate path to a fold containing the installation package "CrystalReports.msi" in the box below."
    Also, I have been unable to complete the registration wizard because I do not get a 10-digit registration number when I complete the registration process at www.sap.com/solutions/sap-crystal-solutions/productregistration .  I don't know if this problem might be causing the Service Pack 1 to not install.
    Thanks,
    Michele

    Hi Michele,
    Windows 2008 is not officially supported yet but it is for Vista and Windows 7 after SP 2.
    To get it to work uninstall first, make sure you keep your keycode and then download SP 3 full build:
    https://smpdl.sap-ag.de/~sapidp/012002523100009989492010E/cr2008_sp3_fullbuild.zip
    Then it should work.
    Thank you
    Don

  • Crystal Reports 2008 - Error deploying on Windows 7 64 bit

    My reports will not display on a 64 bit Windows 7 computer.
    I have a VB.NET app I wrote that used Crystal Reports XIR2 to display a number of reports. Everything has worked fine for a year or two, but now we're rolling out 64 bit Windows 7 computers and my reports will no longer display.
    I've upgraded my Crystal Reports to the latest 2008, with SP2 and all hotfixes through 2.3.
    I've updated the references in my project. And I've included the CRRuntime_12_2.msm merge module in my setup.
    If I just install my updated install package, I get an error duing the install....
    Module C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\querypanel.dll failed to register. HRESULT -2147010895. Contact your support personnel.
    If I install the CRRuntime_12_2_mlb.msi runtime package first, then install my updated install package, the install goes smoothly without error. But when I run my application and try and view a report I get two errors....
    1) An error has occured while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly. (I do not now what registry keys to check, but it was installed and run as an Administrator so it should have all the permissions it needs)
    2) The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
    Please point me in the right direction to help me resolve this.
    Thanks.

    Hi;
    I'm glad you got passed the install issue. There is a package that may have helped, see the article here:
    [Install|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233373334333333363339%7D.do]
    For the first error, make sure to set your project to compile for 32 bit, rather than "any cpu".
    Best Regards,
    Jonathan

  • Crystal Reports 2008 crashes in Windows 2003 terminal Services Session

    Hi,
    We installed Crystal Reports Server and Crystal Reports 2008 on a new Windows 2003 Small Business Server. Crystal Reports works when run at the physical console, but when accessed from Remote Desktop it crashes to the debugger when I try to:
    a) open an existing working report that uses SQL Server 2005 parameterized stored procedure,
    b) create a new report using any SQL Server 2005 parameterized stored procedure,
    c) access help.
    All the above work fine at the physical server but I need to access remotely using RDC.
    I log in as administrator, I have tried turning off DEP and I am running RDC via the mstsc command both without and with the  /admin switch to run in session 0 but there is still a difference between being at the physical console versus remote that CR does not like.
    More: I have to drive a long way to get to the server to try things locally.  For now, as a workaround, I have started crw32.exe at the physical server and I can use that when I log in via RDC - I just cannot start crw32.exe remotely and run it successfully. Also, when I do run remotely, I get the entire menu bar on startup with no start page, but running at physical server I get only the File, View and Help menus but I do get the Start page.
    Any ideas?
    Thanks,
    Rob Hershfield
    Dave Machado
    Edited by: David Machado on Nov 17, 2008 9:39 PM

    Permission issues

  • Error while dynamically setting logo image in Crystal Report 2008

    Hi,
    We have embedded Crystal Report 2008 JRC in our web application which is an Enterprise Archive (EAR) deployed on WebSphere Application Server.
    The RPT files bundulled in the archive displays a logo which is dynamicalli picked up by the RPT files from a configured location. Due to this the Report generation crashes when travesed to the sub reports/ groups within RPT. We have observed that this problem never occures if the logo is hard coded within the RPT files.
    The report crashing causes another big problem, it crashes the Applciation Server too. This is major concern to us and we need a resolution to this problem.
    Thanks in advance
    Alok Potdar

    FULL Stack Trace is as follows. We have not pasted in our earlier post...............
    3XMTHREADINFO      "WebContainer : 4" (TID:0x16AAE100, sys_thread_t:0x14B1F114, state:R, native ID:0x000015F4) prio=5
    4XESTACKTRACE          at sun/awt/color/CMM.cmmLoadProfile(Native Method)
    4XESTACKTRACE          at java/awt/color/ICC_Profile.getInstance(ICC_Profile.java:784)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.setImageData(JPEGImageReader.java:630)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.readImageHeader(Native Method)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.readNativeHeader(JPEGImageReader.java:588)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.checkTablesOnly(JPEGImageReader.java:343)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.gotoImage(JPEGImageReader.java:465)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.getImageMetadata(JPEGImageReader.java:885)
    4XESTACKTRACE          at com/crystaldecisions/reports/common/image/ImageUtils.a(SourceFile:896)
    4XESTACKTRACE          at com/crystaldecisions/reports/common/image/ImageUtils.if(SourceFile:873)
    4XESTACKTRACE          at com/crystaldecisions/reports/common/JavaImage.do(SourceFile:183)
    4XESTACKTRACE          at com/crystaldecisions/reports/common/CrystalImage.createImage(SourceFile:50)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/FormattedOleObject.new(SourceFile:101)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/FormattedOleObject.<init>(SourceFile:71)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/FormattedReportObject.a(SourceFile:148(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/w.for(SourceFile:105(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/aa.a(SourceFile:64(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ObjectFormatter.a(SourceFile:428(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ObjectFormatter.a(SourceFile:250(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/u.a(SourceFile:887(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/u.e(SourceFile:784(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/u.for(SourceFile:242(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/aa.a(SourceFile:64(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ObjectFormatter.a(SourceFile:243(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ObjectFormatter.a(SourceFile:210(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/v.a(SourceFile:185(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/v.a(SourceFile:230(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.for(SourceFile:359(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.for(SourceFile:133(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ColumnFormatter.for(SourceFile:120(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/aa.a(SourceFile:64(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.a(SourceFile:503(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.a(SourceFile:452(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.a(SourceFile:369(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ah.a(SourceFile:70(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ReportColumnFormatter.a(SourceFile:86(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/paginator/SinglePageFormatter.a(SourceFile:332(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.for(SourceFile:359(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.for(SourceFile:133(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ColumnFormatter.for(SourceFile:120(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/paginator/SinglePageFormatter.for(SourceFile:177)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/aa.a(SourceFile:64(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/paginator/PageFormatter.do(SourceFile:727)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/paginator/PageFormatter.formatPage(SourceFile:226)
    4XESTACKTRACE          at com/businessobjects/reports/sdk/requesthandler/ReportViewingRequestHandler.byte(SourceFile:219)
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.do(SourceFile:1909(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.if(SourceFile:661(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.a(SourceFile:167(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter$2.a(SourceFile:529(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter$2.call(SourceFile(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/common/ThreadGuard.syncExecute(SourceFile:95(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.for(SourceFile:525(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.int(SourceFile:424(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.request(SourceFile:352(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/sdk/erom/jrc/a.a(SourceFile:54(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/sdk/erom/jrc/a.execute(SourceFile:67(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/proxy/remoteagent/RemoteAgent$a.execute(SourceFile:716(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/proxy/remoteagent/CommunicationChannel.a(SourceFile:117(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/proxy/remoteagent/RemoteAgent.a(SourceFile:537(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/sdk/occa/report/application/ds.a(SourceFile:186(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/sdk/occa/report/application/ReportSource.a(SourceFile(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/sdk/occa/report/application/ReportSource.getPage(SourceFile:767)
    4XESTACKTRACE          at com/crystaldecisions/sdk/occa/report/application/AdvancedReportSource.getPage(SourceFile:324)
    4XESTACKTRACE          at com/crystaldecisions/reports/reportengineinterface/JPEReportSource.getPage(SourceFile:149)
    4XESTACKTRACE          at com/businessobjects/report/web/event/s.a(SourceFile:158)
    4XESTACKTRACE          at com/businessobjects/report/web/event/s.a(SourceFile:127)
    4XESTACKTRACE          at com/businessobjects/report/web/event/bt.a(SourceFile:47)
    4XESTACKTRACE          at com/businessobjects/report/web/event/bw.broadcast(SourceFile:93(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/report/web/event/am.a(SourceFile:53)
    4XESTACKTRACE          at com/businessobjects/report/web/a/t.if(SourceFile:2104)
    4XESTACKTRACE          at com/businessobjects/report/web/e.a(SourceFile:300)
    4XESTACKTRACE          at com/businessobjects/report/web/e.a(SourceFile:202)
    4XESTACKTRACE          at com/businessobjects/report/web/e.a(SourceFile:135)
    4XESTACKTRACE          at com/crystaldecisions/report/web/ServerControl.a(SourceFile:607)
    4XESTACKTRACE          at com/crystaldecisions/report/web/ServerControl.processHttpRequest(SourceFile:342)
    4XESTACKTRACE          at com/ibm/_jsp/_CrystalReportViewer._jspService(_CrystalReportViewer.java:107)
    4XESTACKTRACE          at com/ibm/ws/jsp/runtime/HttpJspBase.service(HttpJspBase.java:87)
    4XESTACKTRACE          at javax/servlet/http/HttpServlet.service(HttpServlet.java:856(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/webcontainer/servlet/ServletWrapper.service(ServletWrapper.java:1143(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/webcontainer/servlet/ServletWrapper.handleRequest(ServletWrapper.java:591(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/wswebcontainer/servlet/ServletWrapper.handleRequest(ServletWrapper.java:481(Compiled Code))
    4XESTACKTRACE          at com/ibm/wsspi/webcontainer/servlet/GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
    4XESTACKTRACE          at com/ibm/ws/jsp/webcontainerext/AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:226)
    4XESTACKTRACE          at com/ibm/ws/webcontainer/servlet/CacheServletWrapper.handleRequest(CacheServletWrapper.java:90(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/webcontainer/WebContainer.handleRequest(WebContainer.java:748(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/wswebcontainer/WebContainer.handleRequest(WebContainer.java:1466(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/webcontainer/channel/WCChannelLink.ready(WCChannelLink.java:119(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/http/channel/inbound/impl/HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/http/channel/inbound/impl/HttpInboundLink.handleNewInformation(HttpInboundLink.java:387(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/http/channel/inbound/impl/HttpICLReadCallback.complete(HttpICLReadCallback.java:102(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/tcp/channel/impl/AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:143(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/AsyncFuture.completed(AsyncFuture.java:136(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/ResultHandler.complete(ResultHandler.java:196(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/ResultHandler.runEventProcessingLoop(ResultHandler.java:751(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/ResultHandler$2.run(ResultHandler.java:881(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/util/ThreadPool$Worker.run(ThreadPool.java:1473(Compiled Code))
    NULL          
    1XMTHDINFO     All Thread Details
    NULL           -
    NULL

  • Crystal Reports 2008-Vista-ERROR-crw32.exe Entry Point Not Found in dll

    Hi Experts,
    I just installed the Crystal Reports 2008 (with SP0) on my Vista (Home) machine.  When I try to start the CR 2008, I am getting the below error message:
    Error Title: crw32.exe - Entry Point Not Found
    Error Message: The procedure entry point ?PrintLegend@CMapXLegend@CSLib300@@QAEXJJJJJ@Z could not be located in the dynamic link library cslibu-3-0.dll
    Here are the things I tried to resolve the above problem:
    1) Uninstall and Reinstall the CR 2008.  -  No change.
    2) I configured the DEP to accept Crystal Reports (Performance - Advanced - DEP allow). 
    None of these seem fix the problem. 
    Can you please help me kick start the Crystal Reports 2008? 
    Thanks,
    Arun

    Please try with this:
    Run a command prompt as administrator. From the start menu, select "All Programs", then "Accessories" and right-click on the "Command Prompt" shortcut and choose "Run As Administrator". From here you can use the following command to disable Data Execution Prevention (DEP) with the following command:
    bcdedit.exe /set nx AlwaysOff
    Keeping your command prompt open, run your setup or other process being stopped by DEP. Then, to turn it back on again, do the same and run the following:
    bcdedit.exe /set nx AlwaysOn
    Regards,
    Shweta

  • Crystal Reports 2008 - on Vista error  (Oracle db)

    I have problem when i try launch one report on Vista,
    when i'm using Oracle connection.(the report worked fine on SQL).
    - Using : Visual basic .net(Framework: 2.0 )
    - Windows Vista SP1
    - Crystal Reports 2008
        - CrystalDecisions.CrystalReports.Engine.ReportDocument
        - CrystalDecisions.Shared.ConnectionInfo
    Code:(details)
    'Oracle provider
    dbAttributes.Collection.Set("Server", "ORCL")
    dbAttributes.Collection.Set("Trusted_Connection", False)
    con.ServerName = odbConfig.DataSource
    con.DatabaseName = ""
    con.UserID = odbConfig.UserId
    con.Password =  odbConfig.Password
    con.Attributes.Collection.Set("Database DLL", "crdb_oracle.dll")
    con.Attributes.Collection.Set("QE_DatabaseName", "")
    con.Attributes.Collection.Set("QE_DatabaseType", "Servidor de Oracle")
    con.Attributes.Collection.Set("QE_ServerDescription", "ORCL") con.Attributes.Collection.Set("QE_SQLDB", True)
    con.Attributes.Collection.Set("SSO Enabled", False)
    con.Attributes.Collection.Set("QE_LogonProperties", dbAttributes)
    ..crTableLogOnInfo.ConnectionInfo = con
    crTable.ApplyLogOnInfo(crTableLogOnInfo)..
    After..CRViewer.Show()
    Error :
    (Crystal error) : "Failed to retrieve data from the database"
    Details : [Código de proveedor de base de datos: 942.
    RAS
    Using usar Report App Server, i have problems too,
    using Oracle connection.
    - Using : Visual basic .net(Framework : 2.0 )
    - Windows Vista SP1
    - Crystal Reports 2008
    - CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo
    - CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag
    - CrystalDecisions.ReportAppServer.DataDefModel.Controllers
    Code :
    .. boAttributesPropertyBag("QE_DatabaseType") =
    "Oracle Server"..
    ..boLogonPropertyBag.Add("Provider", "MSDAORA")
    boLogonPropertyBag.Add("Server", odbConfig.DataSource) 'Service name
    boLogonPropertyBag.Add("Trusted_Connection", False)...
    Error on : ..boDatabaseController.SetTableLocation(boTable, boTableNew)..
    Error details (RAS) :Failed to retrieve data from the database. xxxxxxx.rpt: StackTrace: CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.SetTableLocation(u2026.
    I haven`t problem when i launch the report from Crystal Reports designer.(on Oracle, the same server and DB).
    Regards
    Ismael
    Edited by: Ismael Ramirez Rodriguez on Oct 14, 2008 5:20 PM

    Ismael, a few suggestions;
    1) Remeber that Oracle is case sensitive, so ensure that is in order.
    2) Have a look at the following threads and see if they help:
    https://forums.sdn.sap.com/click.jspa?searchID=17494545&messageID=6325240
    https://forums.sdn.sap.com/click.jspa?searchID=17494545&messageID=5919267
    https://forums.sdn.sap.com/click.jspa?searchID=17494765&messageID=6023461
    3) As a test, comment out the logon code, let the report prompt and fill in the logon parameters when prompted. Does that work?
    4) You do not mention if this is a web or a win app. If this is a web app, try a simple win app. If the win app works, you are looking at permissions issue
    5) Ensure that you have SP 0 for CR 2008 applied. SP 0 is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100007528552008E/cr2008_sp0.zip
    6) When you say he report works inthe designer, is this designer on the same Vista box as where you get the runtime error?
    Ludek

  • Crystal Reports 2008 Trial crashes; crw32.exe error; any fix?

    I downloaded the trial for Crystal Reports 2008 and I can open the application fine, but when I go to create a report and click on the u201CCreate New Connectionu201D for the database I get a Just-in-time error for crw32.exe and my application shuts down. 
    Iu2019ve been trying to look for a resolution in your forums but could not find anything.  I check for updates it says there are none; I've uninstalled and reinstalled already didn't fix it; I've download sp1 manually and installed but no luck.
    I do have MS SQL Server 2008 installed on my system, could this be causing some problems? 
    I'm running Windows XP, also have VS .NET 2003 installed, but I'm only wanting to use CR 2008 application.
    Similar to this existing problem: An unhandled Win32 exception occurred in crw32.exe 5048. Crystal 2008 Crash
    I cannot uninstalled SQL Server 2008 because I need it.

    Hi Henry,
    Crystal Reports 2008 is not officially tested with SQL Server 2008.
    Try with this:
    1. Reduce the 'Hardware acceleration' setting in Microsoft Windows.
    2. To access the 'Hardware acceleration' setting in Microsoft Windows:
    Click Start > Settings > Control Panel > System > Display > Settings > Advanced > Troubleshooting.
    There are typically six possible settings for 'Hardware acceleration': from 'None' to 'Full'.
    If you are using Dual monitor run the CR application on primary monitor cause Dual monitor is not tested with CR.
    If still the issue occurs then manually un-install and reinstall the application.
    Regards,
    Shweta

  • Crystal Reports 2008 - Changing Table Locations

    Hello,
    we have several reports which we use by different customers. The customers use different name spaces (table locations) for the same data. To use the same reports with different table locations, we wrote a piece of software replacing the connection strings and table locations. 
    Example:
    A report should be used in a test environment as well as in a production environment:
      The original SQL is (using a DB2 database on a AS400):
        SELECT alias.name FROM as400.production.users alias
      The modified SQL looks like:
        SELECT alias.name FROM as400.test.users alias
    Up to now we used Crystal XI and developed using RDC. We solved the above described problem by reading the report SQL string, replacing the table location in this string and assigned it back to the report object. Modifying the SQL string has the advantage that it works fine also for reports which contain a SQL command.
    Since Crystal Reports 2008 this is not possible anymore (no RDC, no direct way to modify the report SQL string).
    My first approach was to use the CrystalDecisions.CrystalReports.Engine.Table object. First I just wanted to see what really was the content of the Location and Name property:
    for (int i = 0; i < rdReport.Database.Tables.Count; ++i)
      Table rt = rdReport.Database.Tables<i>;
      Console.WriteLine("Table Nr : {0}", i);                   
      Console.WriteLine("  Table Loc  : {0}", rt.Location);
      Console.WriteLine("  Table Name : {0}", rt.Name);
    My problem with this is that the output for the report with the SQL in the above example is:
    Table Nr: 0
      Table Loc : users
      Table Name: alias
    So obviously not the real table location and table name is returned, but instead the table name for the table location and the alias for the table name. Unsurprisingly setting the location had not the originally desired effect.
    Furthermore if the report was designed using a SQL command, the location and in the name property contain the string COMMAND. Therefore the table object doesn't seems to be the solution to my problem.
    Thanks to the help of a user in this forum here, I figured out how to read the SQL string of a report. Unfortunately I did not found a way to assign it back to the report.
    Has anybody here an idea how to solve my problem? I'm open for every kind of hint.
    Thanks in advance,
    Ron

    My solution looks like this:
    ReportDocument rdReport = new ReportDocument();                   
    rdReport.Load(sReportName, OpenReportMethod.OpenReportByTempCopy);
    CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rcDocument = rdReport.ReportClientDocument;                   
    for (int i = 0; i < rdReport.Database.Tables.Count; ++i)
        CrystalDecisions.ReportAppServer.DataDefModel.ISCRTable rctTable = rcDocument.DataDefController.Database.Tables<i>;
        if (rctTable.ClassName == "CrystalReports.CommandTable")
            Console.WriteLine("Processing CommandTable {0}",rctTable.Name);
            Console.WriteLine("  Old Qualified Name: {0}", rctTable.QualifiedName);
            Console.WriteLine("  Old Alias:          {0}\n" , rctTable.Alias);
            CrystalDecisions.ReportAppServer.DataDefModel.CommandTable tbOldCmd = (CrystalDecisions.ReportAppServer.DataDefModel.CommandTable) rctTable;
            CrystalDecisions.ReportAppServer.DataDefModel.CommandTable tbNewCmd = new CrystalDecisions.ReportAppServer.DataDefModel.CommandTable();
            tbNewCmd.Name = tbOldCmd.Name;
            tbNewCmd.Alias = tbOldCmd.Alias;
            tbNewCmd.CommandText = sNewSql;
            tbNewCmd.ConnectionInfo = tbOldCmd.ConnectionInfo.Clone(true);
            CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag pbAttr = tbNewCmd.ConnectionInfo.Attributes;
            // set dlls
            pbAttr["Database DLL"] = "crdb_ado.dll";
            pbAttr["QE_DatabaseName"] = "NL67S021OUD";
            pbAttr["QE_DatabaseType"] = "OLE DB (ADO)";
            pbAttr["QE_ServerDescription"] = "192.0.5.24";
            pbAttr["QE_SQLDB"] = "True";
            pbAttr["SSO Enabled"] = "False";
            // set connection string                  
            CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag pbLogOnProp = (CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag)pbAttr[sAttrLogOnProp];
            pbLogOnProp.RemoveAll();
            // strangely comma seperated values instead of semicolon seperated values are needed here
            pbLogOnProp.FromString("Provider=IBMDA400,Data Source=" + sServerName + ",Initial Catalog=" + sDBName + ",User ID=" + sUserId + ",Password=" + sPwd + ",Convert Date Time To Char=TRUE,Catalog Library List=,Cursor Sensitivity=3");
            tbNewCmd.ConnectionInfo.UserName = sUserId;
            tbNewCmd.ConnectionInfo.Password = sPwd;
            rcDocument.DatabaseController.SetTableLocation(tbOldCmd, tbNewCmd);                           
        else
            Console.WriteLine("Processing Table {0}",rctTable.Name);                           
            Console.WriteLine("  Old Qualified Name: {0}", rctTable.QualifiedName);
            Console.WriteLine("  Old Alias:          {0}\n", rctTable.Alias);
            CrystalDecisions.ReportAppServer.DataDefModel.ISCRTable rctNew = new CrystalDecisions.ReportAppServer.DataDefModel.Table();
            rctNew.Name = rctTable.Name;
            rctNew.Alias = rctTable.Alias;
            rctNew.QualifiedName = sDBName + ".V41TSTDBF.CRGUOPF";
            rctNew.ConnectionInfo = rctTable.ConnectionInfo.Clone(true);
            CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag pbAttr = rctNew.ConnectionInfo.Attributes;
            // set dlls
            pbAttr["Database DLL"] = "crdb_ado.dll";
            pbAttr["QE_DatabaseName"] = "NL67S021OUD";
            pbAttr["QE_DatabaseType"] = "OLE DB (ADO)";
            pbAttr["QE_ServerDescription"] = "192.0.5.24";
            pbAttr["QE_SQLDB"] = "True";
            pbAttr["SSO Enabled"] = "False";
            // set connection string                  
            CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag pbLogOnProp = (CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag) pbAttr[sAttrLogOnProp];
            pbLogOnProp.RemoveAll();
            // strangely comma seperated values instead of semicolon seperated values are needed here
            pbLogOnProp.FromString("Provider=IBMDA400,Data Source=" + sServerName + ",Initial Catalog=" + sDBName + ",User ID=" + sUserId + ",Password=" + sPwd + ",Convert Date Time To Char=TRUE,Catalog Library List=,Cursor Sensitivity=3");
            rctNew.ConnectionInfo.UserName = sUserId;
            rctNew.ConnectionInfo.Password = sPwd;                         
            rcDocument.DatabaseController.SetTableLocation(rctTable, rctNew);
            Console.WriteLine("  New Qualified Name: {0}", rctTable.QualifiedName);
            Console.WriteLine("  New Alias:          {0}\n", rctTable.Alias);
    Console.WriteLine("\nSetting parameter {0} to value {1}", rdReport.ParameterFields[0].Name, iDataId);
    rdReport.SetParameterValue(0, iDataId);
    Console.WriteLine("\nShow SQL: ");
    CrystalDecisions.ReportAppServer.Controllers.RowsetController rsController;
    CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rdClient = rdReport.ReportClientDocument;
    CrystalDecisions.ReportAppServer.DataDefModel.ISCRGroupPath rdGroupPath = new CrystalDecisions.ReportAppServer.DataDefModel.GroupPath();
    string temp;
    string sql;
    rsController = rdClient.RowsetController;
    sql = rsController.GetSQLStatement(rdGroupPath, out temp);
    Console.WriteLine(sql);
    Console.WriteLine("Printing");
    PageMargins pmMargins = rdReport.PrintOptions.PageMargins;
    pmMargins.bottomMargin = 350;
    pmMargins.leftMargin = 350;
    pmMargins.rightMargin = 350;
    pmMargins.topMargin = 350;
    rdReport.PrintOptions.ApplyPageMargins(pmMargins);
    rdReport.PrintOptions.PrinterName = sPrinterName;
    rdReport.PrintToPrinter(1,     // copies
                            false, // collated
                            0,     // start page
                            0);   // end page
    rdReport.Close();
    Regards,
    Ron

  • Crystal Report 2008 doesn't set  page size when export to excel file

    Hi,
    I am using Crystal Report 2008 Developer edition.
    At Crystal report design time setting the below page setup:
    Page Options -
       to A3(297X420 mm)
    Orientation --- Landscape
    and using the following code in .net (c#)
    I am using below format options to export in excel in .net 2005
    ReportDocument oReport = new ReportDocument();
    oReport.FormatEngine.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
    oReport.FormatEngine.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA3;
    if (aParamlist.ReportFormat == ReportFormatEnum.MicrosoftExcel)
    ExcelFormatOptions excel = new ExcelFormatOptions();
    excel.ExcelUseConstantColumnWidth = false;
    // Use detail section one as a guideline to determine column width
    excel.ExcelAreaGroupNumber = 1;
    //excel.ExcelAreaType = AreaSectionKind.Detail;
    excel.ExcelAreaType = AreaSectionKind.Detail;
    // Prepare exporting options
    ExportOptions export = oReport.ExportOptions;
    export.FormatOptions = excel;
    export.ExportFormatType = ExportFormatType.Excel;
    oReport.Export();
    when export to excel it doesn't set the Paper Size to  A3(297X420 mm).
    Is there any way to set the paper size while export to excel or in other formats also????
    Thanks & Regds,

    Hi,
    thanks for your email.
    This is not happening in development environment.It is setting the paper size anf paper orientation properly.
    this is happening in the production environment where only redist installation is done.
    thanks

  • Crystal reports 2008 sp3 : An error has occurred while attempting to load t

    Hello,
    Please forgive me for posting in the CR .NET forum because we are using the full Crystal Reports 2008 product and I did not see a category for it.  If there is a better forum for this question, please let me know or feel free to move it.
    We are having trouble deploying our crystal reports 2008 reports to a Windows Server 2008 R2 server in an aspx application...
    I have been working on this issue for 4-days and cannot seem to make any progress, so I would really appreciate your help.
    Our Environment:
    Development Computer (32-bit, WinXP)
      VS2008 (fully updated, was not installed with its Crystal Reports feature)
      Crystal Reports 2008 SP3 (downloaded and installed "cr2008_sp3_fullbuild")
    Database Server (64-bit)
      "SERVER2" is a Microsoft SQL Server 2008 server, fully updated
    Web Server (64-bit)
      "SERVER3" is a Microsoft Server 2008 R2 Web server.
    We have an application that is installed on the Web server and it pulls data from the database server.
    The webpages are accessing the database properly.  There is a ShowReport.aspx webpage that has the
    CrystalReportsViewer on it.  We send parameters and logon information to ShowReport.aspx.  ShowReport
    works properly on our development computer and the report looks good, but it fails on the web server.
    We downloaded CRRuntime_12_3_mlb.msi (X86) from SAP/CR and installed it on the web server without any issues.
    Our application pool on the web server for this application is set to 32-bit mode.  When I launch the
    application, it works properly with the database and displays data on web pages, but when I try to
    view a report on ShowReport, I get the following error message:
    An error has occurred while attempting to load the Crystal Reports runtime.
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.
    According to everything that I have read, I have properly matched the DLLs: On the development computer, "cr2008_sp3_fullbuild" was installed; On
    the web server, "CRRuntime_12_3_mlb.msi (X86)" was installed.  They are both Crystal Reports 2008 and not .NET.  CR.NET was not installed on our development computer, so our application was built with full Crystal Reports 2008 SP3.  On our development computer, .ENGINE is 12.0.2000.0 and
    the same version is on the web server.
    So, I am completely at a loss as to why we are encountering this error.  Help, Please!!!
    Thank you in advance,
    Mike

    Hi Mike,
    Did you set your project for X86 mode only? If not do so and rebuild and deploy your app.
    Thank you
    Don

Maybe you are looking for

  • Installing Adobe Photoshop Elements 10 on multiple computers: invalid serial number

    I need to install Adobe Photoshop Elements 10 on my new computer in place of my old one. However, when trying to use the original installation disk, the serial number I enter comes up as 'invalid'. Is this because I've already used it once? If so, is

  • Line Pattern

    somebody please help me to create this type of Line Pattern.

  • Button to navigate and unload swf

    I have the following code to load an external swf by clicking a button. It works fine. btn_01_01.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF); function fl_ClickToLoadUnloadSWF(event:MouseEvent):void var url:String = event.currentTarget

  • How do you get the N900 secondry camera working??

    I've just got my N900 and wanted to know if you can use the secondry camera as a webcam on skype or not? Also can you download msn messenger or similar and still use the webcam? Thank you Alan

  • Always show Navigation Pane?

    Hi Is there a way to always have the Navigation Pane visible? I use it constantly and it is really annoying in Acrobat DC to always have to show all the options for the Pane I regularly use. D