Unable to load Client print control

I know this question has been asked and I have read all of the responses.  But, I seem to have a unique problem. 
I am using Server 2008 r2 sp2 with ie8. And my problem is getting the error Unable to Load Client Print Control on the client machine for reporting services.
The standard answer here is that the RSClientPrint.cab needs to be loaded on the client machine and installed with a click of the print icon with admin rights.  I have done that as a administrator and the print icon works fine as an adminstrator. 
However, when I log as a non-admin user, that is when I get the error.  The rsclientprint.dll shows up in the registry, but it just does not work for a non-admin user.
I have a open ticket with a MSDN tech at Microsoft, but he seems to be at a loss and is not trying very many things that lead me to believe that this can be resolved.
I am wondering if some else out here has had this problem and got it to work.
Thanks for any help.

Hi KeithTexas,
It seems that the non-Administrator users don't have sufficient permissions on the “Downloaded Program Files” folder where the RSClientPrint control is stored. So, please grant to the user:
1.Open C:\Windows, right-click on the “Downloaded Program Files” folder and click “Properties”.
2.Switch to the “Security” tab, click “Edit”.
3.In the “Security” window, click “Add” and add the specific user to the list.
4.Check the “Allow” box for “Read & execute” permission and click “OK”.
Regards, 
Mike Yin
TechNet Community Support

Similar Messages

  • Web Report Viewer error - Unable to load client print control.

    Dear All,
    We have a problem with Report Viewer print funtionality. Getting the error "Unable to load client print control." on click of Print button.
    We tried all solutions posted in web - nothing resolves the issue.
    The print works fine when we open the report via a browser. But the same is not working through our application. We have the application installed on the Report server itself and the user has Admin previleges.
    Please find below the details
    Report control: ReportViewerWebControl.axd
    Version: 9.0.30729.4402
    SQL server version: SQL Server 2008 R2, 10.50.2500.0 (running on Windows Server 2008 R2 - 64 bit)
    Your help on this would be highly appreciated. Please let me know if you need any specific information.
    Thanks,
    Naga
    Nagaraja

    Hi, Larry,
    Thank you for your answer which remind me and lead me to the resolution. I have struggling on this SQL Server Report Server 2012/Client printing control for
    2 days.
    I just cannot figure out why it kept prompting non-admin XenApp users for SSRS installation. Thanks for your notes again.
    I have 2008 R2 server setup as XenApp server for the publish apps. We published the IE to user to access Web application with SQL 2012 reporting service in
    the backend.
    In the control environment, users do not have permission to install any software. This SSRS has to be installed as administrator under “Install mode” in XenApp
    server.
    Yes, 32bit IE works for me but 64bit IE works too.
    You just need to ensure which version of IE you’re using to install the SSRS. I’m not aware of using 32bit IE for SSRS installation in server but publish 64bit
    IE to client.  That’s my mistake.
    Thanks again. 
    JohnnyW2012

  • Report Viewer WebPart for Sharepoint - Printing (Unable to load client print control)

    Hi there,
    I am running a report via the report viewer web part on a SharePoint page.  The report itself is working great.  But when I attempt to print it, I get a prompt to install something....and then it is followed up with "Unable to load client
    print control".
    There are some posts out there about updating the a certain CU or to find the RSClientPrint cab and unloading the dlls into the system32 folder and registering it.  I've tried that but no go.
    Anyone else encounter this issue?  If so, potential solutions?
    SP 2010 - 14.0.7221.5000
    SQL Server 2008 R2 (Reporting Server)- 10.50.1617  (have tried updating to 10.50.6000.34)
    IE = 10.0.9200
    And yes, I am running as local admin....so there shouldn't be any issue installing the active x component on IE.
    Thanks in advance,
    Eric

    Hi Eric,
    According to your description, you can't load the print button in your sharepoint site. Right?
    In Reporting Services, Each user who wants to use the print feature must download and install the ActiveX control that provides client print functionality. The first time a user clicks the
    Printer icon on the report toolbar, the Microsoft ActiveX control is downloaded to the computer. After the control is downloaded, the
    Print dialog box displays whenever the user clicks the Printer icon.
    So in this scenario, please enable the setting Download signed
    ActiveX controls in Internet Explorer and download it. Please follow the steps below:
    Click Tools -> Internet options.
    Switch to the Security tab, select the Trusted sites zone, and then click
    Sites.
    Type the URL of the SQL reporting server, click Add, and then click Close.
    Click the Custom level button, scroll to the ActiveX controls and plug-ins
    node.
    Click Enable for Download signed ActiveX controls, and then click OK.
    Then we need to have the
    EnableClientPrinting is set to true.
    In SharePoint Central Administration, click Application Management.
    Click Manage service applications.
    Click the name of your Reporting Services service application, and then click
    Manage in the SharePoint ribbon.
    Click System Settings.
    Select Enable Client Printing. The Enable Client Printing option is near the bottom of the page.
    Click OK.
    Reference:
    Enable and Disable Client-Side Printing for Reporting Services
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Error Message:  Unable to load Acrobat Reader control

    Error Message:  Unable to load Acrobat Reader control.  Please make sure it is correctly installed. The user I am dealing with has Adobe_Reader_9.4.4 & AdobeAcrobatStd911-L.  Can you give me some assistance as to why she is unable to open her file.

    That file only? And before version X, Adobe did not recommend having Acrobat and Reader installed in the same Win computer...

  • Unable to load HP printer driver-Error message!

    Hi,
    Just wondering if anyone can be of any assistance.
    I recently purchased a HP Photosmart 2575 all-in-one printer and installed the necessary software, which said it was successfully installed. However, whenever I boot up the G3 I keep getting the following message 'Unable to load the printer drive, open the applications Get Info dialog and increase the preferred memory size. If this does not help try quitting all other applications or reinstalling the printer software.'
    After clicking ok on this message about four times the message goes and I am able to print fine. Just wondering why this is happening. I have increased the memory allocation and also turnt on the virtual memory to see if this makes any difference, but all to no avail. I have also uninstalled and then reinstalled the software to see if this makes a difference, but that didn't help either.
    Any help would be greatly appreciated.
    Thanks in advance
    PS: The printer is connected via ethernet on my router to enable me to print from another machine

    Use Techtool Lite or Trash*Desktop (TD may delete Finder comments )to rebuild your desktop w/extensions off. Does a better job than manually & you avoid all the finger gymnatics. You just have to hold down the shift key to shut off extensions.
    Restart to turn the extensions back on again.
    If you want to rebuild manually, see KB article http://docs.info.apple.com/article.html?artnum=10182 Rebuilding Desktop File and Icon Recovery.

  • Unable to load icm printer profiles in Lightroom 5

    I am unable to access correctly loaded RGB printer profiles in Lightroom 5. 
    In the print module when color management profile "Other" is selected no loaded profiles appear; and Lightroom usually freezes.
    Using Photoshop v6 on same computer I can access all loaded printer profiles. I have reloaded LR5.
    Does anyone have a solution or work-around for this problem?

    The "Include Display Profiles" checkbox is at the bottom of the list that comes up if you click "Other..." in the Lightroom Print Job panel. If this is the point where Lightroom freezes you won't get to it of course. So then the question is what prevents Lightroom from loading that list?  Maybe someone else has suggestions, so hang on for a while.
    Anyway, whatever the extension, the point is that the profile in question has to be the correct one for that particular printer/paper/ink combination. Apologies if this is stating the obvious, but you don't really have a choice between several, you just pick the right one. They install with the printer driver and are named for instance "Epson <model> Premium Semigloss" and so on, different profiles for different paper types.
    Or you can make your own profiles. I believe the ColorMunki, for one, lets you create printer profiles as well as monitor profiles.

  • Error Message: Unable to load Acrobat Reader control.  Please make sure it is correctly installed.

    The above error message appears when my client tries to open PDF files from a website.  He is running Windows 7 with Internet Explorer 9.  This problem just started happening about one week ago.  Saving the PDF to a file and then printing from there works, but he has to open and print about 20-30 files per file that he does, so that is not feasible for him to do.
    I have uninstalled and reinstalled Adobe Reader X, with no luck (he never even had Acrobat Reader installed - ever).  I have uninstalled his anti-virus, but that didn't help.  I have checked for any updates that may have installed recently, but there were none.  He is also having this problem on his laptop, which is running Windows XP with Internet Explorer 8, so this leads me to believe that it is an Adobe issue.
    He did not feel like he should have to pay Adobe for them to figure out their own problem, so that was out of the question.  I can't say that I blame him.  Unfortunately, he works from home, so this has really put an impact on his business.  If anyone has seen this before, or if anyone has any solutions, please let me know!  Any and all help is appreciated!  I work on computer's for a living, so don't worry about over-explaining any solutions you may have.
    Thank you!

    That file only? And before version X, Adobe did not recommend having Acrobat and Reader installed in the same Win computer...

  • Unable to load acrobat reader control

    Adobe Standard 8
    Windows 7
    IE 8
    Getting this message opening some PDF files on the web.  Apparently just started today.  Other errors last week opening PDFs so I turned off display in browser and the error went away.

    Also check to see if you have Reader and Acrobat on the same computer. That is an unsupported configuration.
    if you need to uninstall Reader, you will need to re-install Acrobat.

  • Unable to load Site Control File

    Hello,
    The background :
    I am in the process of learning how to create a Management Pack for a distributed application in SCOM 2012 R2.</p><p>For this, I picked our SCCM Site server to use as an example. So, in short, am writing a management pack for SCCM 2007 Discovery.
    I know a management pack might already exist. I am trying to learn by using an architecture I'm familiar with so I need to create this from scratch.
    In order to discover SCCM Site installed on a server, I decided to use the SMS WMI namespace. By reading the
    SMS_ProviderLocation Instance, I am able to detect if the server has SCCM Site installed on it.
    My next step was to find out where the SMS database is hosted. I found
    ROOT\SMS\site_ABC\ namespace contains an instance of SMS_SCI_SiteDefinition where I can find the database name and server name which I can use to discover the other components of a distributed application.
    The problem :
    When I run the query Select * from SMS_SCI_SiteDefinition I get a generic error 0x80041001.
    More Information reveals the following:
    error description : " Unable to load site control file "
    error code : " 2160198400 (0x80c20300) "
    file name : " c:\qfe\nts_sms_fre\sms\siteserver\sdk_provider\smsprov\sspsitecontrolextractor.cpp "
    Now, I cannot find the QFE folder anywhere. The SCCM Site is working fine and the site_control_manager component has no errors. I can launch the SCCM console on that server without any errors and the site status messages do not contain any errors.
    Can someone please help me out with "detecting" an installed instance of SCCM site server using WMI? Is the above error cause for worry for the SCCM part of my brain?
    Thanks in advance for your guidance!

    Thanks for your response Don!
    The SMS_Site instance does not provide information of the database server and database name.
    The funny thing is when I browse use wbemtest to connect to root\SMS\site_XXX and enumerate classes, i do not find
    the SMS_SCI_SiteDefinition. 
    I find it when i enumerate recursively and can browse into the values. I'm not sure how could build a query against this now.
    Can anybody with a test instance of SCCM 2007 check this and let me know please?
    Everything you are looking for exist within WMI. You can use the documentation script as an example to get what you are looking for.
    http://www.enhansoft.com/pages/downloads.aspx
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Unable to load Canon MP160 printer driver

    I've had the hardest time using my Canon MP160 printer on my iMac (Mac OS 10.5). In fact, I'm not able to print at all.
    I have the printer connected via USB. It always has been. However, it only stopped working recently.
    I downloaded the drivers for the printer and scanner from Canon's web site. However, when I attempt to load the printer driver, the "Installing Canon IJ Printer Driver" window appears. It gets to the "Finishing Installation" part in the process. But it "hangs" at some point and does not complete. I've tried it twice. It hung at two different points in the process. I tried letting it run overnight. That was no good.
    I've also looked for the "Printer Setup Utility" and can't seem to find that anyplace. I'm wondering why I can't find that.
    If anybody could help me solve this, I'd be so thankful.

    Hello marconi10. Welcome to the HP Forums. I understand you are unable to install your printer on one computer, over a wireless connection. I'm going to suggest a very simple workaround, which if it works, will remove any complicated troubleshooting that would be necessary:
    Please try installing the printer with a USB connection. If this does not work, you know that there is an issue occurring with the computer.
    If this does work, the printer will be successfully installed. At that point, you can change the connection type from USB to wireless. For more information on how to do this, please reference this HP document: Convert from a USB connected printer to wireless
    If the printer will still not connect wireless, this will point out a computer issue. For additional information and troubleshooting, relating to the inability of installing the printer over a wireless network, please reference this HP document: 'Unable to Find Printer' Error Message Displays on the Computer During Wireless Network Installation
    Please respond with the results of your troubleshooting. I'm only here to help!
    Mario
    I worked on behalf of HP.

  • 301 unable to load plugin"controls" url'flowplayer.controls-32.13.swf What is this and how to reapair this?

    301 unable to load plugin"controls" url'flowplayer.controls-32.13.swf What is this and how to reapair this?
    I have no idea what to do.

    Probably because "latin-9" doesn't exist?
    # nano /usr/share/X11/xkb/symbols/fr
    xkb_symbols "latin9" {
    include "latin"
    include "nbsp(level3)"
    name[Group1]="French (legacy, alternative)";
    key <TLDE> { [ oe, OE, leftdoublequotemark, rightdoublequotemark ] };
    key <AE01> { [ ampersand, 1, dead_acute, periodcentered ] };
    key <AE02> { [ eacute, 2, asciitilde, Eacute ] };
    Try it without the dash (without the "-").
    And don't forget to mark it as solved (by editing the first post).

  • Unable to load HP 8600 printer driver on laptop

    Hi Folks,
    Just installed a new HP Officejet 8600 printer into my home network.  The network consists of 4 PC’s, two desktops and two laptops…all are running XP SP3 with the latest updates.  The HP printer and one of the desktops are connected by Ethernet to a wireless router.  The other desktop and both laptops are connected wirelessly via 802.11.  Installation of the printer driver was successful with both desktops and one of the laptops.  The other laptop, a Dell Latitude D520, fails on the final step of the installation process, after selecting the printer name following its detection on the network.  Avast! Internet Security and Malwarebytes run on all the machines and are disabled, along with Windows firewall, during the install process.  The following dialog is displayed:
    “Unsuccessful Network Installation – The printer was unable to be installed over the network.”
    No other error information is provided.  I’ve tried installing from the product CD (which is up to date) as well as the driver software downloaded from the HP support site, rebooting multiple times.  I also downloaded the recommended HP troubleshooting tool (HP Installation Failure – Unknown Device) and ran through the process a couple of times without success.  All of the machines, including the D520 laptop, can see each other as well as the HP printer.  There are no network issues I’m aware of.
    I’ve exhausted what little expertise I have in this area.  If anyone out there can think of a possible solution or provide some suggestions, I’d sure appreciate it.  Thanks much.

    Hello marconi10. Welcome to the HP Forums. I understand you are unable to install your printer on one computer, over a wireless connection. I'm going to suggest a very simple workaround, which if it works, will remove any complicated troubleshooting that would be necessary:
    Please try installing the printer with a USB connection. If this does not work, you know that there is an issue occurring with the computer.
    If this does work, the printer will be successfully installed. At that point, you can change the connection type from USB to wireless. For more information on how to do this, please reference this HP document: Convert from a USB connected printer to wireless
    If the printer will still not connect wireless, this will point out a computer issue. For additional information and troubleshooting, relating to the inability of installing the printer over a wireless network, please reference this HP document: 'Unable to Find Printer' Error Message Displays on the Computer During Wireless Network Installation
    Please respond with the results of your troubleshooting. I'm only here to help!
    Mario
    I worked on behalf of HP.

  • Unable to load database connector - using JRC w/report connecting to Oracle

    A simple Java program was created to test a Crystal Report using JRC. The Java program is a thick-client Swing desktop application (modified from an example of crxi_r2_migrating_rdc_to_jrc.pdf). The program failed to execute the report with the following error:
    Unable to load database connector u2018com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'
    It might be something simple to correct the problem, but I am not able to find related answers in the documentation and from the forum.
    CR version is XI R2. The Java program was compiled and run using jdk1.4.2_13. Oracle is 10.2.
    Do I have to use JDBC? or the CR Oracle driver will do? What needs to be setup? If I use JDBC, what do I need to setup (I tried to following the links in the forums or other documentation, but most of the links to http://support.businessobjects.com/.... are broken - i.e. re-route to the SAP support page but not directly linked to the articles)
    When the report JRCTestReport.rpt was saved with the option "Save Data With Report", it works fine. So the problem is only with Oracle database driver, the other jars are fine.
    In the report JRCTestReport.rpt the database properties are:
           DatabaseDLL             crdb_oralce.dll
           Password
           Server                        myTestDB
           Trusted_Connection    False
           User ID                      MyUser
    The crdb_oracle.dll is located at:
    C:\Program Files\Business Objects\Common\3.5\bin
    Files are stored in the following tree structure:
    <Testing Folder>
         JRCTest.java
         JRCTest.class
         WEB-INF
                   lib
                        All required JRC jars and CRConfig.xml
         Reports
                   JRCTestReport.rpt
    Java source code JRCTest.java
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import com.crystaldecisions.ReportViewer.*;
    // Use this for talking to JRC in-process
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.reportsource.*;
    public class JRCTest
         private static void createAndShowGUI()
              try
                   //Make sure we have nice window decorations.
                   JFrame.setDefaultLookAndFeelDecorated(false);
                   //Create and set up the window.
                   JFrame frame = new JFrame("JRCTest");
                   frame.setTitle("JRCTest");
                   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   ReportViewerBean viewer = new ReportViewerBean();
                                      System.out.println("ReportViewerBean.init");
                   viewer.init(new String[0], null, null, null);
                                      System.out.println("new ReportClientDocument");
                   ReportClientDocument rpt = new ReportClientDocument();
                                      try
                                              System.out.println("Openning Report...");
                                              rpt.open("JRCTestReport.rpt", 0);
                                      catch (Exception ex)
                                              System.out.println("Failed to open report");
                                              System.out.println(ex.toString());
                                              return;
                                      try
                                              System.out.println("logon...");
                                              rpt.getDatabaseController().logon("myUser", "myPass");
                                      catch (Exception ex)
                                              System.out.println("Failed to logon");
                                              System.out.println(ex.toString());
                                              return;
                                      System.out.println("ReportClientDocument.getReportSource");
                   IReportSource rptSource = rpt.getReportSource();
                   viewer.setReportSource(rptSource);
                                                    System.out.println("viewer.setReportSource");
                   frame.getContentPane().add
                        (viewer, BorderLayout.CENTER);
                   frame.setSize(700, 500);
                   frame.setVisible(true);
                   viewer.start();
              catch (Exception exception)
                   System.out.println(exception.toString());
         public static void main(String[] args)
              javax.swing.SwingUtilities.invokeLater(new Runnable()
                   public void run()
                        createAndShowGUI();
    Execution result:
    C:\tmp\CrystalJavaTest>java -classpath .;./WEB-INF/lib;./WEB-INF/lib/ReportViewe
    r.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concu
    rrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WE
    B-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/
    lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/Cry
    stalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalR
    eportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WE
    B-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;
    ./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.j
    ar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis
    .jar JRCTest
    Starting
    Crystal Report Viewer 2.1.21.2
    java.vendor = Sun Microsystems Inc.
    java.version = 1.4.2_13
    os.name = Windows XP
    os.version = 5.1
    os.arch = x86
    ReportViewerBean.init
    new ReportClientDocument
    Openning Report...
    logon...
    ReportClientDocument.getReportSource
    viewer.setReportSource
    ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.
    crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwRepo
    rtSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unkno
    wn Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unkno
    wn Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage
    (Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource
    .getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReport
    Source.getPage(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source
            at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:534)
    Unable to load database connector 'com.crystaldecisions.reports.queryengine.driv
    erImpl.DriverLoader'.

    After I switched the report to use JDBC, I am still getting the same error.
    Machine has multiple jdk, oracle 10g, Oracle11g client installed though. So I need to set my path to use the jdk from Crystal Report and Oracle 10g.
    The program was compiled and ran with the following path and CLASSPATH:
    set path="C:\Program Files\Business Objects\j2sdk1.4.2_08\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin\client";c:\oracle\ora102\bin
    set CLASSPATH=.;./WEB-INF/lib;./WEB-INF/lib/ReportViewer.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concurrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WEB-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/CrystalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalReportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WEB-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.jar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis.jar;C:/oracle/ora102/jdbc/lib/ojdbc14.jar
    I modified my java testing program to display more info:
    Modified program:
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import com.crystaldecisions.ReportViewer.*;
    // Use this for talking to JRC in-process
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.reportsource.*;
    import com.crystaldecisions.sdk.occa.report.exportoptions.*;
    import com.crystaldecisions.sdk.occa.report.data.*;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
    import com.crystaldecisions.sdk.occa.report.lib.IStrings;
    public class JRCTest2
       private static void createAndShowGUI()
          try
             System.out.println("Starting");
             //Make sure we have nice window decorations.
             JFrame.setDefaultLookAndFeelDecorated(false);
             //Create and set up the window.
             JFrame frame = new JFrame("JRCTest2");
             frame.setTitle("Testing 1, 2, 3");
             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             System.out.println("new ReportViewerBean");
             ReportViewerBean viewer = new ReportViewerBean();
             System.out.println("ReportViewerBean.init");
             viewer.init(new String[0], null, null, null);
             System.out.println("new ReportClientDocument");
             ReportClientDocument rpt = new ReportClientDocument();
             try
                 System.out.println("Openning Report...");
                 rpt.open("JRCTestReport.rpt", 0);
             catch (Exception ex)
                System.out.println("Failed to open report");
                System.out.println(ex.toString());
                return;
             try
                // try logon here to see if any exceptions
                rpt.getDatabaseController().logon("myUser", "myPass");
             catch (Exception ex)
                System.out.println("Failed to logon");
                System.out.println(ex.toString());
                return;
             IDatabase idb = rpt.getDatabaseController().getDatabase();
             Tables dtb = idb.getTables();
             IConnectionInfo conInfo = dtb.getTable(0).getConnectionInfo();
             PropertyBag attrs = conInfo.getAttributes();
             conInfo.setPassword("myPass");
             conInfo.setUserName("myUser");
             IStrings s = attrs.getPropertyIDs();
             for (int i=0; i < s.size(); i++)
                System.out.println(s.getString(i));
                System.out.println(attrs.getStringValue(s.getString(i)));
             System.out.println(" ");
             conInfo.setAttributes(attrs);
             attrs = conInfo.getAttributes();
             s = attrs.getPropertyIDs();
             // Print property again after setting attributes
             for (int i=0; i < s.size(); i++)
               System.out.println(s.getString(i));
               System.out.println(attrs.getStringValue(s.getString(i)));
             System.out.println(" ");
             System.out.println("ReportClientDocument.getReportSource");
             IReportSource rptSource = rpt.getReportSource();
             viewer.setReportSource(rptSource);
             frame.getContentPane().add
         (viewer, BorderLayout.CENTER);
             frame.setSize(700, 500);
             frame.setVisible(true);
             viewer.start();
          catch (Exception exception)
             System.out.println(exception.toString());
       public static void main(String[] args)
          System.out.println("main");
          javax.swing.SwingUtilities.invokeLater(new Runnable()
             public void run()
                createAndShowGUI();
    Running result:
    C:\tmp\CrystalJavaTest>java JRCTest2
    main
    Starting
    new ReportViewerBean
    Crystal Report Viewer 2.1.21.2
    java.vendor = Sun Microsystems Inc.
    java.version = 1.4.2_13
    os.name = Windows XP
    os.version = 5.1
    os.arch = x86
    ReportViewerBean.init
    new ReportClientDocument
    Openning Report...
    Trusted_Connection
    false
    Server Name
    dbHost
    Connection String
    Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
    Server Type
    JDBC (JNDI)
    Database Class Name
    oracle.jdbc.OracleDriver
    Use JDBC
    true
    URI
    !oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
    Database DLL
    crdb_jdbc.dll
    Trusted_Connection
    false
    Server Name
    dbHost
    Connection String
    Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
    Server Type
    JDBC (JNDI)
    Database Class Name
    oracle.jdbc.OracleDriver
    Use JDBC
    true
    URI
    !oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
    Database DLL
    crdb_jdbc.dll
    ReportClientDocument.getReportSource
    ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:534)
    Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
    Also got similar error when the path and classpath was switched to Oracle 11g.
    Is there a way to tell which file that it failed to load?
    Thanks
    Kin

  • Timesheet error (Only for one user on one task): This Web Part was unable to load

    Hi,
    We have a weird problem with Project server 2013.
    We are on the latest March CU 2015 update on MS Project and Project server.
    Problem:
    A resource(user) is being assigned to a task. When opening the Project with the MS Project client, you can see that the resource is effectively assigned.->OK
    The real problem is when the user goes to his timesheets. He don’t see this task anymore. Other users that are assigned to the same task can see this task in the Timesheets and can open it.
    When the user go back to a timesheet on a period where the task was working and visible, and he open that timesheets, he get an error: “This Web Part was unable to load”
    ULS log:
    [bucketHash:F0949503] There was an error while loading statusing information in the task details webpart for the specified project/assignment - Project UID: 231d4fab-e08b-44fb-8d49-04f7deff207d Assignment UID: 55e2c540-c8ae-42fa-8458-c1c6e98d98f8.
    This could be caused by an out-of-date link to the task details page, specifying invalid information, or it could indicate a potential problem with the project or assignment. Exception details follow. Type: 'Microsoft.Office.Project.PWA.StatusingLib.StatusingException',
    message: 'StatusingDataAccess.GetProjData could not find pre-cached data.  Attempted to load Guid - 231d4fab-e08b-44fb-8d49-04f7deff207d' and stack trace:    at Microsoft.Office.Project.PWA.StatusingLib.StatusingDataAccess.GetProjData(Guid
    docGuid)     at Microsoft.Office.ProjectDataEdit.Document.SvrDoc..ctor(Guid docGuid, ISvrDataAccess dataAccess, SvrDoc entDoc, SvrDoc resourcePool, Boolean bUseProjectResources)     at Microsoft.Office.Project.PWA.StatusingLib.StatusingDataEdit.InitSvrEditForDoc(Guid
    docGuid)     at Microsoft.Office.Project.PWA.CommonControls.TaskDetails.QueryData().
    [bucketHash:D7120B28] Webpart TaskDetailsPart failed in CreateChildControls. Unique ID: efbaf89c-01a5-e078-a033-bc18fe4d431c Microsoft.SharePoint.SPException: The Project and/or Assignment unique ID refers to a missing
    or invalid object.     at Microsoft.Office.Project.PWA.CommonControls.TaskDetails.QueryData()     at Microsoft.Office.Project.PWA.CommonControls.TaskDetails.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Control.AddedControl(Control control, Int32 index)     at Microsoft.Office.Project.PWA.WebParts.PWAResiliencyPart.CreateChildControls() StackTrace:  at Microsoft.Office.Project.Server.Native.dll: (sig=ad0ca0fd-3c62-4564-9144-b6fd1f587187|2|microsoft.office.project.server.native.pdb,
    offset=3C16) at Microsoft.Office.Project.Server.Native.dll: (offset=1265D)
    We tried already to republish the whole project with the ‘Save for Sharing’ workaround
     without success.
    Someone any idea?
    Since we are migrated to Project 2013, we have a lot of problems with Project Server. Too late to go back
    L
    Thanks in advance,
    Johan

    Hi Johan,
    The assignment of this user on the given task might be corrupted. Try to remove the resource from the task, publish the project, assign the resource again and publish again the project. If it is not working, try to unpublish the task (column "publish")
    and publih it again.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Unable to load DLL 'OraOps10w.dll': Access is denied.

    Below is our error message. This happens around 5 - 7AM daily, and we are struggling with identifying the root cause. It's hard for me to believe it's code related, but anything's possible. Still, what's odd is the app runs fine for a day then an IIS reset is done and everything is fixed. Is there any way this could be related to code and has anyone dealt with this error before? Could a job or some permission being run behind the scenes be using this same dll and cause it to be overwritten?
    Thanks, Bryan
    Timestamp: 3/4/2010 12:11:23 PM
    Message: HandlingInstanceID: 3d9a795c-1256-44c1-b018-f553d4023b12
    An exception of type 'System.TypeInitializationException' occurred and was caught.
    03/04/2010 07:11:23
    Type : System.TypeInitializationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : The type initializer for 'Oracle.DataAccess.Types.OracleDecimal' threw an exception.
    Source : Oracle.DataAccess
    Help link :
    TypeName : Oracle.DataAccess.Types.OracleDecimal
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void PostBind_Int32()
    Stack Trace : at Oracle.DataAccess.Client.OracleParameter.PostBind_Int32()
    at Oracle.DataAccess.Client.OracleParameter.PostBind(OracleConnection conn, OpoSqlValCtx* pOpoSqlValCtx, Int32 arraySize)
    at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
    at Oracle.DataAccess.Client.OracleCommandBuilder.DeriveParameters(OracleCommand command)
    at Microsoft.Practices.EnterpriseLibrary.Data.Odp.OdpDatabase.DeriveParameters(DbCommand discoveryCommand)
    at Microsoft.Practices.EnterpriseLibrary.Data.Database.DiscoverParameters(DbCommand command)
    Additional Info:
    MachineName : MISTERC
    TimeStamp : 3/4/2010 12:11:23 PM
    FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3f0a163eed2abd49
    ThreadIdentity :
    WindowsIdentity : NT AUTHORITY\NETWORK SERVICE
    Inner Exception
    Type : System.DllNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : Unable to load DLL 'OraOps10w.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Source : Oracle.DataAccess
    Help link :
    TypeName :
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Int32 AllocValCtxFromNoFmtStr(System.String, IntPtr ByRef)
    Stack Trace : at Oracle.DataAccess.Types.OpsDec.AllocValCtxFromNoFmtStr(String numStr, IntPtr& numCtx)
    at Oracle.DataAccess.Types.OracleDecimal.GetMaxValue()
    at Oracle.DataAccess.Types.OracleDecimal..cctor()

    Thanks a lot.
    I give permissions to ASP.NET account in directory C:\Oracle\product\10.2.0\client_4 (full control) and the application running ok.

Maybe you are looking for

  • Family Sharing enabled, cannot view my own purchases on iPhone anymore

    I have Family Sharing set up for my family. I am the organizer. I have my wife and my daughter added to Family Sharing. My daughter's account was added using "Create an Apple ID for a child". I am logged into my own iCloud account on my iPhone, as yo

  • HT1338 safari pdf file open error

    Dear. Sir I have recently downloaded Adobe Reader X, new version. I don't have any problem with this application when I open the stored pdf file in my mac. However, it has serious problem with opening a new pdf file on safari. When I download pdf fil

  • SSD in an MBP 1,1

    I installed an SSD in my 1,1 MBP to use as a knock-around machine. After a clean install of Snow Leopard, starting it up and playing around, I realized that it was running extremely hot. I thought it had to do with Spotlight re-indexing the new drive

  • Imac Replace Screen/Screen Failure?

    Hi All I'm thinking of getting the 21.5 imac but I have a bit of a concern about it since it's an all-in-one If the screen/monitor fails, is the entire imac stuffed?  So I have to get the entire imac replaced?? Just out of curiosity, how long would a

  • Imported Photos But Front Row Says "No Photos In Library"  --- What Gives?

    I imported many (about 3500) photos into iPhoto. When I launch Front Row, it says I have no photos imported. Does anyone know if I'm doing something wrong? Any info would be greatly appreciated. Thanks, - Brad Jacob