Access denied executing Javascript

Hello all
I need help please.
I have programmed a portal application where I have used a Javascript Library (tinyMCE editor). Everything works fine in Internet explorer and Mozilla firefox when I execute it in the portal we use for development. When I execute this same development in the productive machine it works in firefox but in explorer i received a javascript error: Access Denied and the editor doesn´t show properly.
Please, I need help with this. I don´t know where to look or what to do.
Any help will be rewarded with points.
Thanks in advance

Hi,
i want to replace the standdard html editor in the Web Page Composer with the tinyMCE. I followed the steps explained in this [document|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f04b5c5d-3fd2-2a10-8ab0-8fa90e3ac162]. When I launch the editor, for example by creating a new paragraph, I see the TinyMCE UI in the popup window but I can't access the functionality. A Javascript Error is also appearing : Access denied... So I tried to locate the error. I copied the source text of the popup window and created a new html file in km-content with the source code. When I am deleting the function call EPCM relaxDocumentDomain everything works fine. So I tried to implement the following code into the function relaxDocumentDomain:
EPCM.relaxDocumentDomain = function(){
try {
  if(noDomainRelaxation == 'true') {
      //Don't Relax the domain
} catch(err)
  var newDomain = this.getRelaxedDomain();
    if( newDomain != document.domain ){
      document.domain = newDomain;
    this.calculateDynamicTop();
and changed the following code in the tiny_mce.js from
document . write('< script id=__ie_onload defer src= \ 'java script:"" \ ';> < \ / script>');
to
document . write('< script id=__ie_onload defer src= \ 'java script:"" \ ';>noDomainRelaxation = 'true' < \ / script>');
But that does not work, because the the variable noDomainRelaxation is declared after the check in the relaxDocumentDomain function. Does anybody have an idea how to solve this problem? Is it perhaps possible to set the right document domain in the tinymce itself? Thanks.
Edit: Problem solved by using the latest TinyMCE Version.

Similar Messages

  • Access denied in javascript

    Hi all
    I have made additional software for the editor of the email bsp of the SAP CRM system.
    This new software is called in an popup from without the default SAP CRM email editor.
    Via an custom button.
    In the default SAP CRM email editor there are several javascript libraries available which are used in that BSP page.
    When i try to access them from without the new software within the popup. What should be possible.
    The parent window can always be found via the 'WINDOW.OPENER'
    It returns to me a javascript error : Access Denied.
    I have checked if everything is in the same domain, and that is the case.
    Also i made a custom bsp which opens the new software in a popup, and in that case it works.
    What could it be?
    Kind regards,
    Anton Pierhagen

    Hello,
    I have the same issue.
    I have relaxed the domain from my iframe so as I could launch some functions but when I try to click on an input field type Date, the popup cannot be displayed.
    From my parent :
    <script>
      function resizeIframe(width,height)
        document.getElementById('id_mon_iframe').width = width;
        document.getElementById('id_mon_iframe').height = height;
    </script>
    <iframe
    width="100%"
    name="frame_object"
    src="/sap/bc/bsp/sap/my_test/index.do"
    frameborder="0"
    id='id_mon_iframe'>
    </iframe>
    From my iframe :
          <script type="text/javascript" language="JavaScript">
           function relaxDomain(input)
             if (input.search(/^\\d+\\.\\d+\\.\\d+\\.\\d+$/) >=0 )
               return input;
             var lnDotPos = input.indexOf(".");
             return (lnDotPos >= 0) ? input.substr( lnDotPos + 1 ) : input;
           function oniframeload()
             var result = relaxDomain(document.domain);
             var width = 2100;
             var height = document.body.scrollHeight + 50;
             if(result != document.domain)
               document.domain = result;
             parent.resizeIframe(width,height);
           </script>
         </htmlb:form>
       </htmlb:page>
    </htmlb:content>
    JS Error message :
    Détails de l’erreur de la page Web
    Agent utilisateur : Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
    Horodateur : Sun, 21 Dec 2014 15:10:28 UTC
    Message : Accès refusé (Access Denied).
    Ligne : 125
    Caractère : 3
    Code : 0
    URI : http://xxxxx.xxxxx.xxx:xxxx/sap/public/bc/ur/Design2002/js/popup_ie6.js?6.0.17.0.0
    Anyone with an idea?
    Thx.

  • Portlet editor's rich text editor gives javascript error 'access denied'

    I created a header portlet using the Publisher's published content portlet template. When I try to edit the portlet content using the rich text editor in the portlet editor window, I get a javascript error in the status bar stating 'access denied'. I can't even type into the rich text editor window, it's totally disabled. Not that I see anything in there anyway. I'm logged in as admin. I've gone into the publisher explorer admin portlet and even 'published' the portlet's content, but to no avail. When I try to 'add header portlet' in my experience definition and try to use this portlet, nothing shows up, where the header portlet should be is just collapsed so my banner is just the top bar view bumped right on top of the nav view. (p.s. does anyone know how to take the alui doc's suggestion of 'disabling the topbar view and nav view' so that I can construct what I want entirely in a header portlet? Anyway, first things first, how do I get that access denied message to disappear in my header portlet's rich text editor and how the heck do I get it show up? Help.

    There's probably not a developer in the forum that doesn't uncheck that box the moment they rebuild their machine/ennvironment. Changing the format of error messaging is hardly a fix for the error itself. Personally, I'm uploading 'file content items' now. I create the content in notepad and then upload > file content item. Then create a portlet that uses the pre-existing (was installed w/ publisher using their pte) 'published content item' web service. Go into the portlet's settings and associate the portlet w/ the content item you uploaded. Voila.
    As far as using their rich text editor to create new content, I personally have no need anymore. However I'm sure our content managers will probably have to soon so I hope our latest installation will accommodate them w/o error, because I've never been aware of an actual fix to this problem.

  • Getting Error Message "Access Denied" and "Unable to Execute!

    Using jmf-2_1_1e-windows-i586.exe on Windows XP. When I open the executable it prompts me if I want to overwrite the existing files. If I do yes, then I get "Access Denied". If I do no, then I get "Unable to Execute!
    "C:\DOCUME~1\HP_ADM~1\LOCALSS~1\Temp\pft1~tmp\SETUP.EXE" /SMS
    Unable to execute the command line"
    What am I doing wrong?

    Sounds like you don`t have write permissions for that directory. Not a java problem.
    regards

  • Javascript "Access Denied" when disabling Ctrl+N in an Iframe

    Hello Gurus,
    I have disabled the CtrlN from whole IC WebClient application, however I realized that if we focus on Email Editor (whether Disabled or Enabled) I could still get CtrlN clicked for a new window.
    I tried the usual way as it is an IFRAME but now I am getting error "Access Denied".
    It seems to be a domain relaxing issue to me & I am curious if we have pages from same server why this error is coming.
    Any ideas, thoughts would be appreciated.
    Regards,
    Ankur

    Hello Raja,
    The issue seems to be unresolved. There is no way I could get rid of this error.
    The document relaxing code is there in generated JS file. It seems when an IFRAME is in designmode it couldn't trap events or maybe something like that.
    regards,
    Ankur

  • Why signed and get "access denied (java.io.FilePermission hello.txt read)"?

    I am learning the Java tools and policy to create some local browser application for personal use. So I signed a jar file with jarsigner, keytool and policytool and still trying to figure out why my browser application cannot read a simple local text file.
    My question are
    1. Why use java policy tool (policytool.exe)? If I signed a .jar with keytool and jarsigner, do I really need java policytool to write a policy?
    2. What is the maximum validity days? 365? or more? Do I need to sign again when validity expire?
    3. I don't want any of my local browser application gets to internet but only work with local files (read, write, or execute). how do I do that?
    4. how to use java security policy to grant access to the jar applet? where do I place and import the policy file so the hosting web browser and the applet can work?
    My java applet is a simple class that read a text line from a local file in the same folder, and pass the result to a calling web browser Javascript.
    Currently the result in the web page is the error message below, even though the jar is signed correctly.
    access denied (java.io.FilePermission hello.txt read)
    Someone please help and enlight the newbie!

    leoku wrote:
    I am learning the Java tools and policy to create some local browser application for personal use.Why would you wrap a mostly useless and unhelpful browser window around a Java app. for 'local' use?
    .. So I signed a jar file with jarsigner, keytool and policytool and still trying to figure out why my browser application cannot read a simple local text file.
    My question are
    1. Why use java policy tool (policytool.exe)? If I signed a .jar with keytool and jarsigner, do I really need java policytool to write a policy?No. In fact, don't stuff around with policy files - they are a path to madness.
    2. What is the maximum validity days? 365? or more?Keytool accepts an argument for the number of days to remain valid. I do not believe it has an upper limit, but it might be best to experiment with it and find out for yourself. Please report your findings back.
    (2a) Do I need to sign again when validity expire?No, but the end user gets a huge warning that the certificate has expired. Further, if it was a certificate that was certified by a CA, the 'always trust' check box which used to default to true, would now default to false.
    3. I don't want any of my local browser application gets to internet but only work with local files (read, write, or execute). how do I do that?I am not sure I understand, but if you only offer a JFileChooser for the applet to access resources, that should restrict it to resources off the local file-system. Of course, that would not restrict the end user from downloading something from the internet to their local disks, then accessing it using the applet.
    4. how to use java security policy to grant access to the jar applet? where do I place and import the policy file so the hosting web browser and the applet can work?The only place it will work is in the JRE directories of the end-user's machine. Even if you find a way to install your local policy file, do not go messing with the end-user's policy files.
    My java applet is a simple class that read a text line from a local file in the same folder,.. In the 'same folder' as what? (1)
    ..and pass the result to a calling web browser Javascript. That might be the problem. AFAIR, using JS with trusted applets causes the security to be tightened. Perhaps it could be fixed by calling System.setSecurityManager(null) on applet init(), but I have also seen references to using [AccessController.doPrivileged()|http://java.sun.com/j2se/1.4.2/docs/api/java/security/AccessController.html] to wrap the problematic code. I am hazy on the details of how/if that works.
    Currently the result in the web page is the error message below, even though the jar is signed correctly.
    access denied (java.io.FilePermission hello.txt read)
    1) If the answer to my question is what I suspect, there may be better ways to access the resource that are usable even in a sand-boxed app.

  • Access denied: HTTP - Host Request with Widget Foundation + Yahoo

    Hi,
    I have a problem with the new Yahoo widget engine's (4.5) suggested structure, when trying to execute an RFC request.
    An older version of my .kon file has a classic structure, and it works fine, I write the script into the .kon file, it looks like this:
            <action trigger = "onLoad">
            <![CDATA[
                     // Standard SAP Widget Foundation Libraries
                     include("js/utils/Common.js");
                     include("js/utils/PlatformUtil.js");
                     include("js/utils/Timer.js");
                     include("js/utils/DataLoader.js");
                     include("js/utils/RFCRequest.js");
                     request.execute(function(response) ...
            ]]>
            </action>
    When I try to use the new structure (the .kon file contains only the source of the script, no CDATA, just  'src = "Scripts/Main.js"' ), and execute the request from the source JavaScript file, then I get this error:
    utils.DataLoader]> Exception was catched: XMLHttpRequest.send(): Access denied: HTTP - Host Request.
    Saw anybody this problem already?
    Thanks,
    Gyuri

    Hi,
    Yahoo has added security control in widgets since 4.5. You should add tag <security> in your widget.xml
         <security>
              <http>all</http>
              <filesystem>full</filesystem>
              <command>true</command>
              <hotkey>true</hotkey>
         </security>
    http://widgets.yahoo.com/static/downloads/WidgetsReference_4.5.zip page 33.
    Eriks

  • GetElementById access denied

    Hello,
    I have 2 views (1 controller for each view).
    In one view, i tried to change the value in a textfield from the 2. view.
    I use the javascript-function:
    opener.document.getElementById(str_btn_f4_id).value = id;
    I get the javascript- error message: access denied
    Can you help me?
    Best regards
    Alberto

    Look at the below thread.
    Same issue discussed & resolved.
    Re: executing window.opener.FunName from Web IC pop-up = Permission Denied
    <b>*Reward each useful answer</b>
    Raja T

  • Access denied error while writing a file to the file system - myfileupload.saveas() throws system.unauthorizedexception

    hi,
    as part of my requirement , i have to perform read and  write  operations of  few files [ using the file upload control in my custom visual web part] and on submit button click.
    but while writing these files - with the help of  fileupload control - and when i use  myfileupload.saveas(mylocation);
    - i am saving these files into my D:\ drive of my server , where i am executing my code -, am getting access denied error.
    it throws system.unauthorizedexception.
    i have given full control on that folder where i was trying to store my attached files. and also  after following asp.net forums,
    i have added  iusr group added and performed all those steps such that, the file is saved in my D:\ drive.
    but unfortunately  that didnt happen.
    also
    a) i am trying the code with runwithelevatedprivileges(delegate() )  code
    b) shared the drive within the  d :drive where i want o save the files.
    c) given the full privieleges for the app pool identity- in my case , its
    network service.
    the  other strange thing is that, the same code works perfectly in  other machine, where the same sp, vs 2012  etc were installed .
    would like to know, any other changes/ steps i need to make it on this  server, where i am getting the  error.
    help is  appreciated!

    vishnuS1984 wrote:
    Hi Friends,
    I have gone through scores of examples and i am failing to understand the right thing to be done to copy a file from one directory to another. Here is my class...So let's see... C:\GetMe1 is a directory on your machine, right? And this is what you are doing with that directory:
    public static void copyFiles(File src, File dest) throws IOException
    // dest is a 'File' object but represents the C:\GetMe1 directory, right?
    fout = new FileOutputStream (dest);If it's a directory, where in your code are you appending the source file name to the path, before trying to open an output stream on it? You're not.
    BTW, this is awful:
    catch (IOException e)
    IOException wrapper = new IOException("copyFiles: Unable to copy file: " +
    src.getAbsolutePath() + "to" + dest.getAbsolutePath()+".");
    wrapper.initCause(e);
    wrapper.setStackTrace(e.getStackTrace());
    throw wrapper;
    }1) You're hiding the original IOException and replacing it with your own? For what good purpose?
    2) Even if you had a good reason to do that, this would be simpler and better:
    throw new IOException("your custom message goes here", e);
    rather than explicitly invokign initCause and setStackTrace. Yuck!

  • Root cause of error " Access denied. You do not have permission to perform this action or access this resource" - workflow - SharePoint 2013

    Good evening, technet community
    I hope you are doing well.
    When configuring my SharePoint workflow, I encounter the problem below:
    Problem Description:
    Let's say my domain is: test.com, my group user is: test\group , my user is: test\user1
    Except an admin account with full control at both "Web Application" and "Site Collection", all others account all have problem when creating a list item. After creating a list item, the workflow status is "cancelled" immediately
    with the following message:
    RequestorId: 262a35e4-99f4-40f0-929b-5d04b415f147. Details: System.ApplicationException: HTTP 401 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["10"],"SPRequestGuid":["262a35e4-99f4-40f0-929b-5d04b415f147"],"request-id":["262a35e4-99f4-40f0-929b-5d04b415f147"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Thu, 06 Nov 2014 12:14:28 GMT"],"Server":["Microsoft-IIS\/7.5"],"WWW-Authenticate":["NTLM"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
    {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform
    this action or access this resource."}}} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor,
    BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    - The workflow is still fail even I assign "full control" to my users group "test\group" – at Site Collection level.
    Surprisingly, I have successfully found a solution for this error message. However, I still have some points that I do not clearly understand. Let's start with my solution first.
    Solution:
    *** i. Assign permission policy at Web Application level – Central Admin site ***
    1. Central Administration ==> Application management
    ==> Manage Web application 
    2. Go to "permission policy", then create a new permission level. This permission level contains all "edit item" permission.
    3. Select "user policy", then I assign it directly to my user account: test\user1.
    *** ii. Assign "edit item" permission at Site Collection level ***
    1. Site Setting ==> Site permission
    2. Assign "Edit" permission to my test\group.
    (Actually I removed all permissions of my user group at Site Collection level. It seem my group has inherited permission from Web Application level, is that correct? )
    *** iii. Create a new list item and workflow runs ……. ***
    ==> My question is:
    1. Why I cannot assign permission to my users group - "test\group" -
     at "Web Application" level? Instead I have to assign permission policy for each users, one by one?
    2. Could you please let me know how to collect full detail error message of workflow status?
    Thank you very much! Have a nice weekend.

    Thank you for your very detail response.
    Point 1: Yes my 2 service: user profile & profile sync service are running. I performed "full synchronization" as well. Actually i've tried 3 another action plans before coming up with the solution i posted:
    *** Actions completed ***
    1. Activate the feature: workflow can use app permissions.
    Site actions > Site Settings > Site features >activate the feature below:
     Workflows can use app permissions
    2.
    Refresh trusted security token services metadata feed
    Get-SPTimerJob
    "RefreshMetadataFeed"
    | Start-SPTimerJob
    - then restart the machine.
    3. Start full user profile synchronization.
    Point 2:
    - Yes my user had Edit permission at workflow task list + list affected by workflow.
    I have just remove all permissions of my user at "Site Collection" level. However, when i show my user permissions at my workflow task list and my users still have "Edit" Permission ( assigned at Web Application level. These permissions
    still exist even after my workflow task list stop inheriting permission).
    ==> the problems probably belongs to "permission" at "Site Collection level". It seems "permission level at my Site Collection does not work". All users accounts are also suffer from the same issues except farm admin account
    ( which has full control at Web Application level).
    I would appreciate if your guys can guide me how to make "permission" at my "Site Collection level" work again?
    Thank you very much.

  • Failed to start hibernate.target: Access denied

    I upgraded my machine yesterday and  the Hibernate item in kmenu->Leave are missing. also "systemctl hibernate" dont work:
    $ systemctl hibernate
    Failed to execute operation: Sleep verb not supported
    Failed to start hibernate.target: Access denied
    log:
    Mar 08 22:50:56 arch polkitd[720]: Registered Authentication Agent for unix-process:2370:106040 (system bus name :1.86 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
    Mar 08 22:50:56 arch dbus[363]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.87" (uid=1000 pid=2370 comm="systemctl hibernate -i ") interface="org.freedesktop.systemd1.Manager" member="StartUnit" error name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/sbin/init ")
    Mar 08 22:50:56 arch polkitd[720]: Unregistered Authentication Agent for unix-process:2370:106040 (system bus name :1.86, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
    Suspend works fine.
    Last edited by ReiserFS (2014-03-09 12:35:46)

    I've got this same problem. For me it's because I haven't got a swap partition (even though I thought I set this machine up with one...). Perhaps you also don't have a swap partition, or maybe it's not mounted? Anyway, I would start with the Swap page of the wiki.

  • "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);

  • Access denied error for BW Report iView..Please help :(

    Hello All,
    I have created a BW Report iView..containing a Bex query.
    Have created the required BW system object too.
    When I preview this iView, it asks me for BW system authentication....since am not mapped to this BW system.
    Its alright till here......
    Problem:
    Now, when I copy paste the URL (URL generated when you preview this iView) into a new browser window, I get an error saying:
    " <b>An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Access denied (Object(s): <<i>iView path</i>>
    Exception id: 02:57_13/02/06_0034_6204550
    See the details for the exception ID in the log file</b> "
    I checked tha bove mentioned log and it says:
    <b>Permission check failed - Object <<i>iView path</i>>  Pcd.Use Principal: Information not available with current trace level#</b>
    Changed the iView authentication scheme to every value present but it did not resolve.
    Please help me resolve this.
    Awaiting Reply.
    Thanks and Warm Regards
    Ritu

    Hi Raja,
    Firstly thanks for a quick response.
    I did as per you suggested but it isnt working. Am getting the same error again.
    <u>Please refer to the log details below</u>:
    1.5#000F206F053800610000008100000A1000040CAA10AF2627#1139824470727#com.sap.portal.pcd.Gl.Admin#sap.com/irj#com.sap.portal.pcd.Gl.Admin#Guest#0##sapnw2_J2E_6204550#Guest#63f4e0f093d911da8b7b000f206f0538#SAPEngine_Application_Thread[impl:3]_1##0#0#Warning#1#/System/Server#Plain###Permission check failed - Object portal_content/Ritu/MIDAS/CEO_redalert Permissions: Pcd.Use Principal: Information not available with current trace level#
    #1.5#000F206F053800610000008300000A1000040CAA10AF2963#1139824470743#com.sap.portal.pcd.Gl.Admin#sap.com/irj#com.sap.portal.pcd.Gl.Admin#Guest#0##sapnw2_J2E_6204550#Guest#63f4e0f093d911da8b7b000f206f0538#SAPEngine_Application_Thread[impl:3]_1##0#0#Warning#1#/System/Server#Plain###Permission check failed - Object portal_content/Ritu/MIDAS/CEO_redalert Permissions: Pcd.Use Principal: Information not available with current trace level#
    #1.5#000F206F053800610000008600000A1000040CAA10AF4031#1139824470743#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Guest#0##sapnw2_J2E_6204550#Guest#63f4e0f093d911da8b7b000f206f0538#SAPEngine_Application_Thread[impl:3]_1##0#0#Error#1#/System/Server#Java###Exception ID:03:24_13/02/06_0059_6204550
    [EXCEPTION]
    #1#com.sapportals.portal.prt.runtime.PortalRuntimeException: Access is denied: pcd:portal_content/Ritu/MIDAS/CEO_redalert - user: Guest
         at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1932)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:230)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
         at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
         at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: com.sapportals.portal.pcd.gl.PermissionControlException: Access denied (Object(s): portal_content/Ritu/MIDAS/CEO_redalert)
         at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:390)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1066)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1072)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1072)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1072)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java:1168)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java:1115)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:909)
         at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:78)
         at com.sapportals.portal.pcd.gl.PcdURLContext.lookup(PcdURLContext.java:238)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1919)
         ... 26 more
    ==========================
    The auth scheme of this iView is set to default
    Please help me resolve this......
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu
    Message was edited by: Ritu  Hunjan

  • Access denied in my code - Error code:-2147467259

    Hi there,
    I'm a newbie with CR server technology. I installed yesterday a CR XI trial on my system to do a PoC for a customer who already uses CR. He gave me a rpt file to use in my program.
    I'm developing a program where the report is prepared as PDF and then sent by email and fax to certain receivers. I'm in the middle of the work now. Here a first look at my code:
    URL url = Thread.currentThread().getContextClassLoader().getResource(
    "rpt/1442_11791_OrdersbyVault_OrderA4.crystal9_v4_alg.rpt");
    ReportClientDocument clientDoc = new ReportClientDocument();
    clientDoc.setReportAppServer("localhost");
    String file = new File(url.getFile()).toString();
    // Open report
    clientDoc.open(file, 0);
    This code is inside a EJB session bean which should provide the report later as byte[] to another bean which will send it.
    When I execute the bean it usually fails with this exception:
    SRVE0014E: Nicht erfasste Ausnahme für service() durch Root ausgeöst /test.jsp: com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Zugriff verweigert. Überprüfen Sie die Verzeichniseinstellungen für Dateien, auf die Sie zugreifen können.---- Error code:-2147467259 Error code name:failed
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.do(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)
    at de.szb.bt.service.reporting.reporting.ReportingServiceBean.execute(ReportingServiceBean.java)
    at de.szb.bt.service.reporting.reporting.EJSLocalStatelessReportingService_a07b2911.execute(EJSLocalStatelessReportingS
    ervice_a07b2911.java:29)
    at com.ibm._jsp._test._jspService(_test.java:138)
    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
    at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
    at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
    at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:254)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
    at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:89)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
    It fails with an access denied. I know the file is there, I debugged the path and it looks good for me:
    "C:workspacesgfi_it-mediaCashmanagementEJBejbModule pt1442_11791_OrdersbyVault_OrderA4.crystal9_v4_alg.rpt"
    I'm running the RAS as LocalSystem user so it should have the needed rights to access the file. I haven't found a fitting solution to this yet. I tried to use the publishing assistant tool to add it to a repository but ths didn't help. Any suggestion?
    Thanks in advance!
    Kai

    <p>Hello Kai,</p><p>You appear to be trying to use the RAS server, which is one of the servers included with Crystal Reports Server, to do "unmanaged" reporting - i.e., run a Crystal Report report that has not been "published" and is managed by the Crystal Report Server.</p><p>Note that RAS is configured to restrict access to umanaged rpt file to a folder and its subfolder on the system.  This folder is specified in the Central Configuration Manager (CCM).  Is the location of the rpt file within this folder or subfolder?  I&#39;d check that first.</p><p>Sincerely,</p><p>TU </p>

  • Error while crawling LOB contents. ( Access denied by Business Data Connectivity. )

    Hi,
    When I execute Incremental or Full Crawl I get 17000 error and only 1 success.
    The error is:
    Error while crawling LOB contents. ( Access denied by Business Data Connectivity. )
    I went to Central Admin > Security > Specify Web application Policy > Search for the service account for crawl and it's "svc_SPSearch"
    I went to Central Admin > Application Management > Manage Service Application > BDC Service > I select all the affected external sources > then Set Object Permission in ribbon > Added "svc_SPSearch" with execute rights > then
     kick incremental crawl...
    After this I still get 17000 error, 1 success.. Still an error.
    I am not sure how the crawler's trust to FAST infrastructure works.
    Your response is appreciated. Thanks!
    -Fran

    I have the same issue. 
    I have Configured the BDC Service application using SQL external content. The connection was successful and I am able to see the external content in the List "BDC Demo" . But when I search in the BDC Demo site it gives nothing.
    So I checked in the crawl logs and identified that it shows " 1 " under error. to further drill down the issue , I went to click on "1" and see the error message : Error while crawling LOB contents SharePoint 2013 .
    I have created an external DB named BCSDemo_DB for which I have granted my search Service account read& write permission.
    I have added the same account under administrators for both secure store and BCS service applications. 
    I have done index reset , done a full crawl but the error still occurs.
    Can someone please advise if I am missing something.
    Regards

Maybe you are looking for

  • Need to create a flipbook from an ID CS4 "book" not a document

    I've created a 600+ page coursebook in InDesign CS4 which consists of 15 ID documents. I have put all these (15) documents in an InDesign "book". From this ID "book", how do I make a flipbook. Or from the "book" I create a PDF. How can I create a fli

  • Audio waveform is just a single bar.  How do I fix this?

    Hello dear community, I started editing in FCPX recently and I have had this issue where the audio waveform does not always update when I make updates or it just shows this weird bar w/ the peaks. Can someone please help me with this? I 've tried zoo

  • EAGLE Layout Editor problems

    Evening fellow archers I have an x64 ed of arch, on an AMD64, 2gigs of ram. I've downloaded the free version of eagle - ftp://ftp.cadsoft.de/eagle/program/5.4/ - -5.4.0.run When I try to run it, the following error is given: #:sudo ./eagle-lin-5.4.0.

  • Gmail Setup on LG Exalt

    I upgraded my mothers old flip phone to the LG Exalt because she wanted to get her gmail on her phone.  There is an APP on the phone for gmail but gmail rejects attempts to log in.  First they said we needed to lower the security level on gmail to al

  • Canon HV20 Final Cut Pro

    I have A canon Hv20 HDV camera and im trying to import my clips and I go to easy setup and under format click HDV and under use i click HDV-1080i60 and when i click setup it says cannot locate the following external device HDV (1440 x 1080) 60i what