"Access denied" when opening report on RAS Server

I'm sure I'm doing something wrong, but I've only been able to open a report using the rassdk protocol from the server where my java code is running.    This is fine, but I was hoping for efficiency sake that I could have reports reside on the RAS server itself.
My ras server definitely has a Crystal report called EBTest.rpt in the c:\temp directory.  I run this code...
ReportClientDocument rcd = new ReportClientDocument();
rcd.setReportAppServer(ReportConstants.RAS_HOST);
rcd.open("c:\\temp\\EBTest.rpt", OpenReportOptions._openAsReadOnly);
rcd.close();
According to the JavaDoc, this should work, but I get this error ...
Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Access denied. Please check directory setting for files you can access.---- Error code:-2147467259 Error code name:failed
     at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
     at com.crystaldecisions.proxy.remoteagent.s.a(Unknown Source)
     at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
     at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
     at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(Unknown Source)
     at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
Am I missing something trivial?  
Thanks,
Eric

Now that I've got it working, I expected that the RAS-local approach would be much faster than the RAS-remote, but I didn't find that to be the case in a quick test that I did.  Is this what you'd expect?  Or is there a different part of the ReportClientDocument interaction that would be more efficient. 
From what I've seen, the ReportClientDocument construct and open() are one of the expensive aspects of the report rendering.
Enclosed are the results from a test I did:
--PERF--20 iteration test for 'Test local report initialization'
--PERF--WARMED UP in 3359 ms
--PERF--,Iterations          ,Total Time (mS)     ,Avg(ms)/Iteration   ,Transactions/sec   
--PERF--,20                  ,35515               ,1775.75             ,0.5631423          
--PERF--20 iteration test for 'Test remote report initialization'
--PERF--WARMED UP in 1828 ms
--PERF--,Iterations          ,Total Time (mS)     ,Avg(ms)/Iteration   ,Transactions/sec   
--PERF--,20                  ,37109               ,1855.45             ,0.5389528          
And here's the bulk of the code that generated those results...
int numIterations = 20;
PerformanceUtils.runPerformanceTest("Test local report initialization", numIterations, new Command(){
     public void execute() {
          try{
               ReportClientDocument rcd = new ReportClientDocument();
               rcd.setReportAppServer(ReportConstants.RAS_HOST);
               rcd.open("D:\\Program Files\\Business Objects\\BusinessObjects Enterprise 12.0\\Samples\\EN\\Reports\\triCalendarPeriod___-___Find___-___Months.rpt", OpenReportOptions._openAsReadOnly);
               rcd.close();
          }catch(Exception e){
               throw new RuntimeException(e);
PerformanceUtils.runPerformanceTest("Test remote report initialization", numIterations, new Command(){
     public void execute() {
          try{
               ReportClientDocument rcd = new ReportClientDocument();
               rcd.setReportAppServer(ReportConstants.RAS_HOST);
               rcd.open("rassdk://./test/data/crystal/triCalendarPeriod___-___Find___-___Months.rpt", OpenReportOptions._openAsReadOnly);
               rcd.close();
          }catch(Exception e){
               throw new RuntimeException(e);

Similar Messages

  • 'access denied' when opening from Office

    Hello,
    I've experienced this 'access denied' message too. Now I realized that when opening AdobeReader manually all works fine.
    But when Reader is closed and is opened by Office after saving as PDF file - it still shows this error message.
    There's nothing wrong with the file - when opening manually from inside of Reader.
    Is it a problem with commandline execution?
    I'm sorry for any problems you got - especially from reading my english...

    What app are you running - Final Cut Pro or Final Cut Server?
    x

  • "Access Denied" when opening a PDF in a browser

    Hi,
    I have a problem I can't solve.
    I'm creating a intranet website. In this, i want display PDF but the browser reply "Access DenIed".
    I stock my PDFs in a network drive where i have the rights on folders and files.
    I try to unckeck "Enable protected mode" but no change.
    I try to open with another PDF reader (Foxit) and it works, but i want keep Adobe by default reader
    for my users.
    I have the last version of Abobe Reader XI (11.0.05.3).
    Thanks.

    ... and/or
    Configure Adobe Reader to not use a Web Browser to open PDF documents... (see the Adobe.com for admx files to apply this setting by group policy) (
    http://forums.adobe.com/thread/392489 )
    Start>Adobe Reader>Edit>Preferences>Internet>uncheck "Display PDF in browser"
    It seems that Adobe have recently changed the location of that setting in Adobe Reader (at least on 11.0.4).  They've now hidden it under Edit > Accessibility > Setup Assistant > Then on page 5 of 5, there's a tick box to toggle 'Display PDF
    documents in the Web Browser'.
    However, it doesn't work like it used to though, as it won't just open a PDF in Adobe Reader instead of the browser.  It will instead ask to disable Enhanced Protected Mode to run acroPDF.dll. 
    And if you try disabling the Adobe PDF reader add-on in Manage Add-ons to try and force it to open in Reader, then when you visit a PDF link, you just get the same blank page (shown below) with the black crossed out circle in the top left, but without the
    message bar at the bottom of the window.  The only way to open the PDF is to either turn off Enhanced Protected Mode and allow acroPDF.dll to run or if there's an original link to the PDF, right click and select 'save-as'.
    I think it's about time Adobe released an x64 PDF viewer...  Or at least there should be an open/save dialogue box in IE.
    If you've got Reader 11.0.4 installed, you can try it for yourself with this PDF link:
    http://helpx.adobe.com/pdf/adobe_reader_reference.pdf
    (The below screenshot is with 'Display PDF documents in the Web Browser' UN-ticked in Adobe Reader settings, so it should open in Reader instead.  But it doesn't.  And with the Reader add-on disabled you get the same page, but without the
    message at the bottom.)

  • "Access denied" when opening the timeline

    I have FCP 6.0.6.  I dragged a picture into the timeline, and the browser shut down.  When I tried to reopen the timeline, it said "access denied."  How can I reopen the timeline?  I really don't want to have to start over.

    What app are you running - Final Cut Pro or Final Cut Server?
    x

  • Access Denied when Open Offline File.

    Dear All,
    User has Network Share (with full permission to access files and Folders), I have configure it as an Offline folder (Always available). 
    Problem is that when on network he can access and open all the files. But when he goes offline (No Network), he can open all the Folders but when he tried to open some files few of them are giving errors. "Access Denied"
    Encryption is not enable.
    Can anyone please suggest the resolution.
    Thanks
    Kamran 
    Best Regards

    Hi,
    Please make sure all these file are enabled offline.
    Please see if this article is helpful to you:
    Users may receive an "Access is denied" error message if you make files and folders available for offline use
    http://support.microsoft.com/kb/275461
    Meanwhile, try this:
    1.Make sure that your files and folder have been synchronized. Reinitializing the cache prior to synchronizing will
    cause you to lose any data that isn’t synchronized.
    2.Click Start, type regedit in the Start Search box, and then press
    ENTER.
    If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
    3.Locate the following registry subkey, and then right-click it:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CSC
    4.Point to New, and then click Key.
    5.Type Parameters in the box.
    6.Right-click Parameters, point to New, and then click DWORD (32-bit)Value.
    7.Type FormatDatabase, and then press ENTER.
    8.Right-click FormatDatabase, and then click Modify.
    9.In the Value data box, type 1, and then click OK.
    10.Exit Registry Editor, and then restart the computer.
    Karen Hu
    TechNet Community Support

  • Access denied when opening project using project professional client application

    Hi,
    I have some users who are members of 'Team Members for Project Web App'.
    They can open projects using the browser just fine.
    But, if they try to open it using the menu  :  Projects Tab > Open > In Microsoft Project,
    the project professional client application starts but shows an error : 'you do not have the required permissions to perform the operation'
    Is there some restrictions for 'Team Members for Project Web App' with the project professional application?

    Indeed team members should not be added to the PM group. But they should not either edit directly the proejct plan. The process is the following:
    The PM assignes a resource on a task, either from PWA or MS Project Pro,
    The PM publishes the project plan,
    The TM goes to the task link in the quick launch menu on the left side,
    The TM enters the actual work done on his assignments and submit it to the PM,
    The PM goes to the approval center, sees the task updates waiting for approval, approves or rejects the task updates,
    The PM opens the project plan, updates the remaining work and publishes again the project the the task updates are taken into account and send to the TM.
    See this
    reference for Project Server 2010 but still applicable for 2013.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Access Denied Error Opens when Installing HP Monitor Software (Windows 7)

    im getting the following error trying to upgrade my screen driver.
    "Access Denied Error Opens when Installing HP Monitor Software (Windows 7)"
    I found this error in the help area but it doesnt address the problem, it simply describes the device manager instalation procedure, which I am using , and which results in the error.

    Hi debgibson,
    What is the monitor model number and what is the PC model number?
    ...an HP employee just trying to help where I can, but not speaking on behalf of HP.

  • Get "Access Denied" when click open a PDF file

    Hi Friends,
    Get "Access Denied" when click open a PDF file linked from SharePoint 2013 page.
    What are the route causes any one is remove the permissions are stopped the inheritance permissions of the library.
    Can anyone face the same issue please help me.
    Thanks,
    Tiru
    tirupal

    Hi,
    If you are able to open the same document earlier,then  anonymous access enabled on your doc library then.
    If you are facing this problem in first time,then you do not have required permission (may be custom permission level has been set ) on it.
    Murugesa Pandian.,MCTS|App.Development|Configure

  • Photoshop cs4 access denied when trying to install from disc in Windows 7 64bit.

    Photoshop cs4 access denied when trying to install from disc in Windows 7 64bit. I tried it in
    safe mode and it starts to install but get an error there as well.
    What do I do?

    So when you put the disk in it won't run correctly? When the disk is inserted you should have a window pop up with 2 options. 1 to install and the other to see what is on the disk. Choose to explore or open the disk. Go to the CS4 folder where the photoshop .exe file is (that will run the setup), right click on the .exe file and choose run as Admin and it should start. See if it will install. If not then read below.
    I am not sure how far you got in the install before so chances are you will have to run the CS4 cleanup utility. 2 levels to run at but don't use 1 or 2 just type in the number 3.
    http://www.adobe.com/support/contact/cs4clean.html
    You may need to run the windows installer cleanup utility too
    http://support.microsoft.com/kb/290301
    Before you try to reinstall the software ensure that adobe reader is not installed. If it is remove it. It has caused issues in the past with vista and CS4 installs.
    Also turn off windows Defender and any anti-virus software. You can keep UAC on in Windows 7.
    During the CS4 install at 90 percent it will almost stop and may take 5 to 10 mins to finish. This is normal. What a pain huh......
    After install is finished, reboot
    After reboot, go to the CS4 64 bit or 32 bit icon (depends on 32 or 64 bit Windows 7) in start area, right click on CS4 64 bit (if you have windows 7 64 bit) and choose properties, compatibility tab and then check run as Admin at the bottom area. Hit apply, ok to close out.
    Now start CS4 and run the updater.

  • I receive "Database access denied" when trying to add component 4543BD

    I receive "Database access denied" when trying to add component 4543BD to my schematic. This component was added from a previous version. I'm using Multisim version 12.0.0  Student edition.
    Solved!
    Go to Solution.

    Hi Diarra,
    I checked my database and  the  4543 is not in the Student Edition. If you opened a schematic that was created in a higher version such as the Educaiton Edition and copied the part to your database, when you place this part you will get the access denied message. 
    Attached is a schematic with the part, you can open it and build you circuit around it.
    Tien P.
    National Instruments
    Attachments:
    4543.ms12 ‏62 KB

  • I get access denied when I try to search on your site.

    Please help me. I get access denied when I try to search on your site. I have emptied cache. I tried Safe Mode the way you suggested. Still access denied (though my printer then would not respond to me and I spent $85 to have my It consultant fix that problem.

    Hi,
    You've opened 3 different threads for the same issue. Please only open '''ONE''' thread per support request.
    Continue here [https://support.mozilla.org/en-US/questions/995124?esab=a&s=&r=3&as=s /questions/995124]
    Closing thread

  • Access Denied when Student Uploads Course in Drop Box

    All of a sudden we are getting access denied when a student tries to upload a course. We have not changed anything on our end. The tabs on the course page are set to drop box for student. The credentials sent over are:
    StudentBody@urn:mace:itunesu.com:sites:school.edu;Student@urn:mace:itunesu.com:s ites:school.edu:SPC16001002134
    The SPC16001002134 is the course identifier.
    Access to the course for student is set to download:
    Access Level: Download
    Credential Definition: Student@urn:mace:itunesu.com:sites:school.edu:${IDENTIFIER}
    Group Access Label: Student

    Hi,
    I need a bit more information. Can you please post your site's domain so that I can inspect it? It appears you have replaced this with school.edu.
    Thanks.

  • ORA-31050: Access denied when try to register XMLSchema

    Dear All
    I got ORA-31050: Access denied
    when tried to run to load XML schema with DBMS_XMLSCHEMA.registerSchema
    Can you advise me what privilege should I grant to the user?
    I tried grant XDBADMIN role but it does nto help
    Thank you in advance
    Artem Rodin

    Dear Mark!
    I realy need you help!
    I can successfully register schema which has complexType declaration as root element, like
    <schema targetNamespace="http://www.oracle.com/PO.xsd"
         xmlns:po="http://www.oracle.com/PO.xsd"
         xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="PurchaseOrderType">
         <sequence>
              <element name="PONum" type="decimal"/>
              <element name="Company">
                   <simpleType>
                        <restriction base="string">
                             <maxLength value="100"/>
                        </restriction>
                   </simpleType>
              </element>
              <element name="Item" maxOccurs="1000">
                   <complexType>
                        <sequence>
                             <element name="Part">
                                  <simpleType>
                                       <restriction base="string">
                                            <maxLength value="1000"/>
                                       </restriction>
                                  </simpleType>
                             </element>
                             <element name="Price" type="float"/>
                        </sequence>
                   </complexType>
              </element>
         </sequence>
    </complexType>
    <!--element name="PurchaseOrder" type="po:PurchaseOrderType"/-->
    </schema>
    But I failed if in the root there is element like
    <schema targetNamespace="http://www.oracle.com/PO.xsd"
         xmlns:po="http://www.oracle.com/PO.xsd"
         xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="PurchaseOrderType">
         <sequence>
              <element name="PONum" type="decimal"/>
              <element name="Company">
                   <simpleType>
                        <restriction base="string">
                             <maxLength value="100"/>
                        </restriction>
                   </simpleType>
              </element>
              <element name="Item" maxOccurs="1000">
                   <complexType>
                        <sequence>
                             <element name="Part">
                                  <simpleType>
                                       <restriction base="string">
                                            <maxLength value="1000"/>
                                       </restriction>
                                  </simpleType>
                             </element>
                             <element name="Price" type="float"/>
                        </sequence>
                   </complexType>
              </element>
         </sequence>
    </complexType>
    <element name="PurchaseOrder" type="po:PurchaseOrderType"/>
    </schema>
    I got the following error stack
    ORA-01031: insufficient privileges
    ORA-06512: at “XDB.DBMS_XDBZ0”, line 218
    ORA-06512: at “XDB.DBMS_XDBZ”, line 6
    ORA-06512: at line 1
    ORA-06512: at “XDB.DBMS_XMLSCHEMA_INT”, line 0
    ORA-06512: at “XDB.DBMS_XMLSCHEMA”, line 26
    ORA-06512: at “XDB.DBMS_XMLSCHEMA”, line 131
    ORA-06512: at “DVLP.PRIME_BRIDGE”, line 73
    ORA-06512: at line 7
    I guess you can reproduce this in-house,
    It's not my schema it is taken from
    XML Database Developer’s Guide - Oracle XML DB
    Structured Mapping of XMLType 5-3
    Example 5–1 XML Schema Definition, po.xsd
    As far as I understand in the second case Oracle tries to create a table to store XML content and fails to do it.
    User that I used has DBA role. What other privileges should I grant to the user? And/or I should grant some additional privileges to "XDB" user?
    This issue has become critical for me, so I am highly appreciate any assistance
    Many thanks in advance
    Best regards
    Artem Rodin

  • I get access denied when I add a page to a workset in EP 7

    I get access denied when I add a page to a workset in EP 7.
    Please advice.

    Hello,
    This seems to be a permission issue. Assign the user id proper permission, say system_admin_role and then try.
    Regards
    Deb

  • Access denied while opening any PDF the second time / Zugriff verweigert beim zweiten Öffnen eines beliebigen PDF

    Reader produces "Access denied" while opening any PDF the second time. A LogOut/LogIn or restart is necessary to open a PDF again successfully. User works with a PC (Win7). The file is located on the desktop in a Windows 2008/2012 AD, user profile on networkshare. The same procedure with a file located on any other networkshare or locally on harddisk works without error. Analysis with processmonitor indicates that the file seems to load and then is cancelled for some unknown reason. The problem is somehow growing, beginning with 1 PC and exists now also in our Citrix environment (2 users). Access rights seem to ok and the same on all tested shares (full Access or Change rights).
    Der Reader bringt den Fehler "Zugriff verweigert", wenn man das zweite mal ein PDF öffnen will. Dabei ist der Fehler völlig unabhängig davon, ob man das gleiche oder ein anderes PDF öffnen will. Um wieder erfolgreich ein PDF zu öffnen, ist ein Ab- und Anmelden bzw. ein Neustart des PCs (Win7) nötig. Umgebung ist eine Windows 2008/2012 AD, Profil liegt im Netz. Der Fehler tritt nur bei PDFs auf, die auf dem User-Desktop liegen. Sind die Dateien irgendwo anders im Netz oder lokal auf der Festplatte, kommt der Fehler nicht. Eine Analyse mit dem Prozessmonitor zeigt, dass das Laden des PDFs irgendwann gecancelt wird, warum auch immer. Das Problem scheint sich auch langsam auszuweiten. Es hat mit einem PC begonnen und tritt nun auch in unserer Citrix Umgebung bei bis jetzt 2 Usern auf. Die Berechtigungen scheinen überall ok und gleich zu sein (Volluzgriff oder Ändern).

    ls -l /var/run/lighttpd/
    And how are you spawning the php instances? I don't see that in the daemons array anywhere.
    EDIT: It looks like the info in that page is no longer using pre-spawned instances, but lighttpd adaptive-spawn. The documentation has been made inconsistent it looks like.
    You will note that with pre-spawned information, the config looks different[1].
    You need to do one or the other, not both (eg. choose adaptive-spawn, or pre-spawn..not both).
    [1]: http://wiki.archlinux.org/index.php?tit … oldid=8051 "change"

Maybe you are looking for

  • How to trace an event

    Hi,   I want to trace an event. I goto transaction swels and switch on and I create a material using MM01 and then I goto transaction swels and switch off. There after I execute transaction swel. But I get trace on and trace off only. Material creati

  • IDVD and DVD Studio Pro hang and crash since 10.5.6 update

    Seems like there are a lot of problems since this 10.5.6 update... I came here b/c of a prob with iDVD and DVD Studio Pro not working anymore. Was just trying to "Share/Export" an iMovie project to iDVD (and then tried again with DVD Studio Pro) and

  • How to search for a particular word in a long document?

    How to search for a particular word in a long document?

  • Store presentacion catalog in database instead of file

    Hello, do you know if it is possible to store de the presentacion catalog in database instead of file system Thanks in advacne

  • Allow user defined values during run time

    Hi , I have created a VI wherein I have 3 inputs as enums, I also want to give the user the capability to enter runtime values which are not present in the drop down for the enum , is it possible ? I see an option in the propeties of the enums as "al