Error: security settings prevent acces to this property or method

Hello everybody,
I'm facing an error when i open up a portfolio which i've performed some javascript. This script has the function to position over a specific document
contained in portfolio and  when i open up it through Adobe Reader, it shows me the following error:
NotAllowedError: Security settings prevent access to this property or method. Collecition.initialDoc:6:Document-level:onOpen
I checked reader properties in preferences and javascript is allowed.
How can i resolve this issue?
Thanks.

Did you read the documentation of the  property or method?

Similar Messages

  • Page rotate script not working(not allowed error security settings prevent access to this property)

    HI,
    I am using a script to rotate each pages in pdf file when clicking a button. I have added a script to rotate file in the rotate button's click event as a javascript.It is working in acrobat but not in adobe reader. Pleae see the script
    nStart = 0;
    nEnd = this.numPages - 1;
    nRotate = 90;
    try
    if (this.numPages > 0)
               this.setPageRotations(nStart , nEnd , nRotate)
    catch(e)
    app.alert("Processing error: "+e)
    But I'm getting this  error in adobe reader not in acrobat.'not allowed error security settings prevent access to this property or method'. What is the problem. Please anybody tell me.

    OK, so here's what you do:
    - Create a new file in a plain-text editor (I recommend Notepad++), and paste this code into it:
    safeExecMenuItem = app.trustPropagatorFunction(function(code){
        app.beginPriv();
        app.execMenuItem(code);
        app.endPriv();
    mySafeExecMenuItem = app.trustedFunction(function(code){
        app.beginPriv();
        safeExecMenuItem(code);
        app.endPriv();
    Close Reader if it was open and then save this file as "MyScripts.js" and place it in the following directory (this is for Windows):
    C:\Program Files (x86)\Adobe\Reader 11.0\Reader\Javascripts
    If you want it to work in Acrobat as well place the file also under:
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Javascripts
    Now to rotate the pages clockwise attach this code to your button (in Acrobat, of course):
    mySafeExecMenuItem("RotateCW");
    And to rotate them counter-clockwise, use this code:
    mySafeExecMenuItem("RotateCCW");
    Open your file in Reader and the buttons should rotate the pages when clicked...

  • SaveAs - Security settings prevent access to this property or method.

    Hi,
    This question seems to have been dealt with in this forum on a few occasions but I am still have trouble with it:
    I have written a script to add a footer containing the file name to a PDF and then save the PDF:
    app.addMenuItem( { cName: "newdoc", cUser: "Add Footer", cParent:
    "File", cExec: "AddFooter()", nPos: 0 } );
    function AddFooter()
    for (var p = 0; p < this.numPages; p++)
    var fd = this.addField("Date", "text", p, [10,5, 300,28]);
    fd.textSize=10;
    fd.value = this.path  ;
    var SaveFile = app.trustedFunction(function()
      app.beginPriv();
      this.saveAs(this.path);
      app.endPriv();
    When I try to execute this script I receive an error:
    Security settings prevent access to this property or method.
    Any assistance would be much appreciated.
    eddiec :-)

    At which line do you get the error message? Do you use Adobe Acrobat?

  • Unable to rotate pdf with script(not allowed error security settings prevent  error)

    I am using a script to rotate each pages in pdf file when clicking a button. I have added a script to rotate file in the rotate button's click event as a javascript.It is working in acrobat but not in adobe reader. Pleae see the script
    nStart = 0;
    nEnd = this.numPages - 1;
    nRotate = 90;
    try
    if (this.numPages > 0)
               this.setPageRotations(nStart , nEnd , nRotate)
    catch(e)
    app.alert("Processing error: "+e)
    But I'm getting this  error in adobe reader not in acrobat.'not allowed error security settings prevent access to this property or method'. What is the problem. Please anybody tell me.

    I have got it working usig by installing a script on the local machine. Thanks

  • Scripting Error: Line 25 Object doesnot support this property or method

    Hi,
    Environment :
    BS Version: 11i(11.5.9)
    Component: Web ADI
    Descripiton: When trying to upload journals through Web ADI we are getting the below error.
    "Scripting Error: Line 25 Object doesnot support this property or method"
    Please help on this issue.
    Thanks,
    Arun Babu R

    Hi hsawwan,
    Thanks for your reply.Actually after working on it we found that is the browser issue. The issue was resolved.
    ThanQ,
    Arun Babu R

  • Web Service posting via SOAP.request - Security settings prevent access...

    I'm trying to call a web service via the SOAP.request object in javascript embedded into my Interactive Form.  I've successfully done this with SAP NetWeaver 7.0 trial version however now I'm having this issue on a production setup.  The PDF generates fine and I can fill out the form and everything.  I checked the properties of both PDF documents (one that works from the trial and one that doesn't from the prod box) and they are the same, expect the one that works is PDF Version 1.6, and the one that doesn't is PDF Version 1.7.
    Here's the client-side error:
    Acrobat EScript Built-in Functions Version 8.0
    Acrobat Annotations / Collaboration Built-in Functions Version 8.0
    Acrobat Annotations / Collaboration Built-in Wizard Functions Version 8.0
    Acrobat Multimedia Version 8.0
    Acrobat SOAP 8.0
    NotAllowedError: Security settings prevent access to this property or method.
    SOAP.request:31:XFA:data[0]:mainform[0]:btnRelease[0]:click
    Here's the snippet of JavaScript code:
    var response = SOAP.request();
    Here are the security properties of the malfunctioning PDF:
    Security Method: No Security
    Can be Opened By: All versions of Acrobat
    Printing: Allowed
    Document Assembly: Not Allowed
    Content Copying: Allowed
    Content Copying for Accessibility: Allowed
    Page Extraction: Not Allowed
    Commenting: Allowed
    Filling of form fields: Allowed
    Signing: Allowed
    Creation of Template Pages: Allowed
    How do I determine what the culprit is?

    Michael,
    PDF Version 1.6 means Adobe Reader 7.0.x family and PDF version 1.7 means Adobe Reader 8.0.x or 9.0.x if I am not wrong.
    Also if you check LiveCycle Designer Help (Using LiveCycle Designer ES > Working with Data Sources > About data sources > Working with data connections) it clearly says that with LiveCycle Designer 8.0 secured web services are not supported and there are additional security settings for Reader 8.0 onwards, that may be causing the issue.
    Chintan

  • NotAllowedError:  Security settings prevent...

    Hello I'm just starting to work with acrobat and javascript. Testing somethings out I created a script : this.importTextData and I get the error below. Any ideas? Thank you!
    NotAllowedError: Security settings prevent access to this property or method.
    Doc.importTextData:2:Batch undefined:Exec

    Where did you place the code and what is the exact code that you used? To invoke a method you need to include parentheses:
    this.importTextData();
    Without any parameters there should not be any security warning if used with Acrobat. If you're trying to use it with Reader it can't work unless the form has been Reader-enabled with LiveCycle Reader Extensions and the corresponding usage right included.

  • Security Settings prevent the usage of this method :-(

    hi,
    since i began using adobe LiveCycle products (well one month by now), mainly the LC Designer, i'm getting the same error by using certain methods (here i have to free translate out of the german):
    "NotAllowedError: security settings prevent the usage of this property or method. App.trustedFunction:14:XFA:all[0].sf_tab[0]:initialize
    is there someone, who can explain, what's do be done to get rid of it?
    thanks,
    valerio

    It looks like your trying to run a function defined at the document level (ie: from within an event on a field) but a trusted function must be defined at the folder level (ie: in a .js file in the Acrobat /JavaScripts/ folder). That how trusted functions get their priveledges, when Acrobat is started, it evaluates the JavaScript in the .js files, sees that the function is marked as trusted and gives it the special priveledges it needs for when it is called. Here's an example of script you could put in a .js file:
    saveFunc = app.trustedFunction(function (path) {
    app.beginPriv();
    try {
    event.target.saveAs(path);
    } catch (err) {
    console.println("Error: " + err);
    app.endPriv();
    Then in your form you would simply call saveFunc().
    Another thing I just noticed, I don't believe you will be able to use the Document.newPage() method from an XFA form (form from Designer) whether you run it from a trusted function or not. Acrobat is blocked from being able to make changes like this to an XFA form, because the underlying structure of an XFA form and an AcroForm is so different that even if you could make it work you wouldn't get the results you'd expect.
    Chris
    Adobe Enterprise Developer Support

  • When i drag and drop an image on my site. it gives the following error. "Unable to access local files due to browser security settings. To overcome this, follo"

    I am using the firefox version 17 and when i drag and drop an image on my website. It gives me the following error.
    Unable to access local files due to browser security settings. To overcome this, follow these steps: (1) Enter "about:config" in the URL field; (2) Right click and select New->Boolean; (3) Enter "signed.applets.codebase_principal_support" (without the quotes) as a new preference name; (4) Click OK and try loading the file again. Or go to the homepage for a link to the tutorial on how to do it.
    I have completed the above steps and it is still showing the same error message. Any help would be highly appreciated.
    Thanks.

    Thanks kumars ,
    I have a specific drag and drop area on our website. This works fine for all earlier releases of Firefox after these security settings
    "(1) Enter "about:config" in the URL field; (2) Right click and select New->Boolean; (3) Enter "signed.applets.codebase_principal_support" (without the quotes) as a new preference name; (4) Click OK and try loading the file again."
    Bust these settings not work for me in Firefox 17.
    Yes the drag and drop functionality is java script based and i am not using any script blocker addons.

  • Your current security settings do not allow this file....

    Trying to download the latest version of iTunes and get the message "Your current security settings do not allow this file to be downloaded." I have made no changes at all, previous to attempting to download this update and have never had a download problem previous to this. I turned off my antivirus and set my browser security to its' lowest security level; still get the same message.

    Uh...that would be a tad difficult. I'm not supposed to have it. No one is...yet. I keep in touch with a friend I worked with as a PC tech about 10 years ago at a Best Buy (while in college.) He does Beta testing, sends me odds and ends (that typically wreck my system) and this one halfway works (actually less than half the features.) But, I've escaped bad software in the past using it. Sometimes, however, it prevents good software from loading as well. That's why I have asked if anyone else reported this kind of thing.
    The name, if you can find it, is 'Illegal Opcodes Anti-Trash.' Illegal Opcode is a screen name, by the way. And, it was written using Visual Basic. That's about all I can give you; that's pretty much all I know.
    If anyone else can verify something similar to this, let me know. I could uninstall it (Anti-Trash) and try again, but I just read other peoples problems and I'm a little leary to say the least. My current version of iTunes still works fine, so why risk it.
    Thanks for the feedback,
    Bradley

  • Cannot change date and time settings, popup "These files can't be opened: Your internet security settings prevented..."

    When I try to change my date and time settings I get a Windows Security popup that reads: "These files can't be opened.  Your Internet security settings prevented one or more files from being opened. C:\Windows\system32\rundll32.exe"
    I have Windows 7 64 bit.  I also have McAfee SecurityCenter installed.  I have tried turning off my firewall temporarily, but the problem persists.  I am not sure if it is some type of virus.  If anyone could give me some information
    as to what could be causing this I would appreciate it.  Thanks in advance.

    Hi,
    Perhaps, this issue is caused by a sign of corruption.
    Please try to use sfc/scannow to check the System Files.
    Also, You may refer to the following link.
    http://www.sevenforums.com/general-discussion/71526-cant-change-date-time-2.html 
    Important Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Error in allInOne.js: Object doesn't support this property or method

    We are having an issue deploy our website (Developed in .Net) on a specific server. When we try to visualize a report on any browser we get this error:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; OfficeLiveConnector.1.4; OfficeLivePatch.0.0)
    Timestamp: Wed, 7 Apr 2010 17:52:31 UTC
    Message: Object doesn't support this property or method
    Line: 10
    Char: 281690
    Code: 0
    URI: http://{IP ADDRESS}/WebUserInterface/aspnet_client/system_web/2_0_50727/crystalreportviewers12/allInOne.js
    We have install the Crystal reports 2008 runtime and the Crystal report 2008 sp2.5 runtime. Both of them give me the same results.
    It's killing me because i have installed the same solution on many other server without any issue.
    Ben
    P.s. The Web server is  a Window Server 2003 R2 standard edition

    Perhaps using [modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] will at least tell us what dlls are loading. Look at the CR dlls. There should not be any v11 files loaded by your app.
    You may also start considering obtaining phone support for this one. I have a feeling this will take more than just forums to solve...
    Phone support can be obtained here:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek

  • Why doese this message appear"Your current security settings don't allow this file to be downloaded"

    no one helped me in this post, why Adobe Company doesn't have an answer to my question?
    please, i need your help
    "Dear Helpers,
    We used to use adobe reader 6 in our foundation to view pdf files on the internet, and since we had upgraded to the new version of adobe (to adobe 7 and X) the browser (IE 8) couldn't open any pdf file, and always returning this message: "Your current security settings do not allow this file to be downloaded".
    we have a group policy that doesn't allow the users to download files from the internet, but when we were using adobe reader 6, this message have not occurred while opening pdf file online, and everything was fine,"
    Please help me in this issue
    Thanks in advance
    Kind regards

    Hi eleanora27327971,
    I don't think there's a problem with the PDF file that you converted--that sounds more like a browser setting. What browser are you using? Are you able to download files from other websites? Or, are you able to log in to https://cloud.acrobat.com using a different web browser, and download from that browser? (See System requirements | Acrobat.com for a list of supported web browsers.)
    Tell me a bit more about your setup (what operating system, browser and version), and I should be able to point you in the right direction.
    Best,
    Sara

  • Trying to convert Pages to Word doc, but keep getting this error message:  TypeError:  Object doesn't support property or method 'invalidate'  JavaScript console contains more details.   Any ideas on how to get past this?

    Trying to convert Pages to Word doc, but keep getting this error message:  TypeError:  Object doesn't support property or method 'invalidate'  JavaScript console contains more details.   Any ideas on how to get past this?

    Right. If you are using delegated privs and sudo, make sure that sudo is configured to pass on the PERL5LIB and ORACLE_HOME environment variables at least.

  • Security settings: prevent "save as..." !?

    Hello there, I am using Acrobat 9 standard and would like to know how I can manage to set up security settings of a document in such a way that the "save as..." menue-entry will be disabled.
    I can manage to prevent printing and saving the same document again - no problem. But I need to make sure that the reader of a document does not save it under a different name.
    How can this be done?
    Thanks for any advice.
    Wolfgang Armbruster

    We _are_ using Acrobat Reader to display these files within an Intranet. If you open such a file as an embedded PDF in Firefox you will see a buttonbar at the top with icons to print and to save and so on.
    I do not have problems to make the print icon greyed out and unusable. But I need to do the same thing with the "save as" icon.
    And are you really saying this can not be done? Acrobat support told me before buying the software "this can be done"... though they will not tell me how... I need to clarify this in some forums...
    So I'm still hoping to get better advice...!?

Maybe you are looking for