Getting error message when running a script to make an .doc attachment open

This script:
var cPath = "|" + this.path + "|U:\uFEFF" + this.dataObjects[1].name;
app.openDoc(cPath);
Open PDFs fine but when I try to open a docx document I get an error message:
NotAllowedError: Security Settings prevent access to this property or method.

When trying to open a non-PDF file, you must specify to use a converter, by
setting the parameter bUseConv to true (which can only be done in a
privileged context). Also, I'm not familiar with this type of path... Are
you using this to open a file attached to the active PDF? Does it work?
Have a looked at the openDataObject-method of the Document object? It is
meant to launch PDF attachments of a file (but it can't be used for any
other file format).

Similar Messages

  • Error message when running MultiPageImporter script

    Hello,
    I had posted this in the Adobe forum, and it was suggested I move it over here.
    I have a 300+ page document - original is 8.5x5.5.
    I want to print it on 8.5x11 sheets - landscape - so two pages are on each sheet.
    BUT - I want to have my two copies printed - and then cut the pages in half to end up with two full books...
    So if I print two copies, I need page 1 and page 1 on the same side on the same page - page 2 twice on the back...
    I was directed to a script download:
    Actually an InDesign script makes it possible.
    Create a new 8.5 x 11 document.
    Install this script
    http://indesignsecrets.com/downloads/MultiPageImporter2_5.zip
    Run the script twice, changing the x offset 5.5 inches (relative to top left) for the second run.
    I have downloaded the script and am trying to run it in InDesign CS6.
    I get this error when I run:
    Any suggestions as to how I can make this work?
    Thanks !
    Amber

    Here is another way to do this, in case someone is interested: Open your PDF in Acrobat and go to tools> Pages> Extract pages as separate files. Put these pages in a folder and duplicate it. Open the duplicate folder, select all files and do a batch re-name, adding "a" at the end of the name (before the extension.pdf). I use the Mac plug-in "Path finder" for this, but I think you can also do it in Bridge, Grep, and probably other programs. Move the re-named files into the folder with your original extracted PDFs. When viewed by name, the file order should be 1,1a  2,2a  3,3a  and so on. Open the last page in Acrobat and go to File> Tools> Insert from file> Shift select all of the pages (except the one you have open) and insert. I'm not sure why, but the pages will be added in reverse order. Save your new PDF. Make a one page InDesign file at 5.5x8.5 (facing pages) and use the Place multipage PDF script to add your PDF. Export to spread pages. If you don't want to print in reverse order, I think most printers have a reverse order option, there are also scripts available to reverse the order of PDFs, or you can use this web too:
    Reverse PDF Page Order

  • Getting Error Message when Running MRKO for Settlement  of Consignment

    Hi Experts ,
    When I am trying to run MRKO to settle the consignments , i am getting the below  error message ,can you please advice the reason for this and how we can resolve this error meesage . Using MRKO and trying to settle the documents .
    Error: *TAXPS cannot be determined in non-tax items*
    Thanks for your Support and Comments.
    Regards,
    Veera.

    Hi
    For MRKO settelement (for consignment/pipeline) you must maintain the purchase info record.
    In the P.I.R PRICE and  TAX CODE is mandatory, in your case the tax code you entered is not taken by the system just check the tax code or change the taxcode and create a p.o and post goods issue and try MRKO.
    Thanks

  • Pop-up error messages when running a script?? make them go away!

    v1.5.1, build 5440.
    I've been running a development setup script for some months now.
    It has errors in it, it creates synonyms or grants for objects that no longer exist. ( It's not been worth my time to correct it, because I just run it and ignore the errors for now. I'll tidy up when I'm building the installers.)
    Suddenly, today, sql developer has decided to pop-up a message window to tell me about each error. I have to press ok for it to continue. On top of the annoyance factor that a task that took 5 seconds now takes 60, the message is totally useless because it doesn't tell me which object does not exist! In other words, I will still have to read the output log anyway!
    I haven't changed any of my settings, though I did have to restore to an old version of my connections file when it got corrupted (again).
    So, why/how did these messages decide to show up, and more importantly, how can I make them go away?

    You could check with [http://help.yahoo.com/l/us/yahoo/helpcentral/ Yahoo Help] to see if other users have seen this problem with Yahoo Mail ... for example, I found [http://answers.yahoo.com/question/index?qid=20111027204141AANNBYY this] where a user had a similar problem that had to do with Messenger contacts:
    Thanks for this. Follow-up: Found out 15' ago after a lot of clickety-click that you can mousey up to the upper left of the screen. Click "Options." If you see a "Messenger" option, then open that up and select "only my Contacts can message me." That seems to have gotten rid of "yummicrush698."
    -----

  • Getting Error message when running viewer

    This is the only information in the message Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher \TempDesktoplate Builder for Word\fonts Run XDO Start
    Can someone tell me that the program is looking for?

    ok its sorted

  • Getting error message when i am trying to update the excel file using script task in ssis package

    Hi Guys,
    I am getting error message when I am trying to update the excel. Please find the error messages as below
    Error at Update File [Update File]: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Application' is not defined., ScriptMain.vb, 32, 32
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Workbook' is not defined., ScriptMain.vb, 33, 25
    Error at Update File [Update File]: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.
    Warning at Update File [Update File]: Found SQL Server Integration Services 2008 Script Task "ST_050fcae972904039b4f0fe59b7528ece" that requires migration!
    and the code that   I am using is
    Dell - Internal Use - Confidential
    ' Microsoft SQL Server Integration Services Script Task
    ' Write scripts using Microsoft Visual Basic
    ' The ScriptMain class is the entry point of the Script Task.
    Imports System
    Imports System.Data
    Imports System.Math
    Imports Microsoft.SqlServer.Dts.Runtime
    Imports Microsoft.Office.Interop.Excel
    <System.AddIn.AddIn("ScriptMain", Version:="1.0", Publisher:="",
    Description:="")> _
    <System.CLSCompliantAttribute(False)> _
    Partial
    Public Class ScriptMain
    Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
    Enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
    Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
    End Enum
    Public Sub Main()
            Dts.TaskResult = ScriptResults.Success
    'Dim proc As System.Diagnostics.Process
    'kill all instances of excel
    'For Each proc In System.Diagnostics.Process.GetProcessesByName("EXCEL")
    ' proc.Kill()
    'Next
    Dim excelnacomm As
    New Microsoft.Office.Interop.Excel.Application
    Dim wbnacomm As Microsoft.Office.Interop.Excel.Workbook
            wbnacomm = excelnacomm.Workbooks.Open("http://test.xlsx")(renamed
    the excel)
            wbnacomm.RefreshAll()
            wbnacomm.Save()
            wbnacomm.Close()
            excelnacomm.Quit()
            Runtime.InteropServices.Marshal.ReleaseComObject(excelnacomm)
    End Sub
    End
    Class
    Please let me know what could be the reason
    Smash126

    Download:
    Microsoft Office 2010: Primary Interop Assemblies Redistributable
    How to: Add or Remove References By Using the Add Reference Dialog Box  /  How to:
    Add and Remove References in Visual Studio (C#)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • I am getting error messages when importing CD's. I keep getting a message saying 'unable to connect to CDDB server'. I run itunes on a macbook pro. Any ideas/solutions?

    I am getting error messages when importing CD's. I keep getting a message saying 'unable to connect to CDDB server'. I run itunes on a macbook pro. Any ideas/solutions?

    Don't worry I've sorted it! I just had to turn off Reminders as well in iCloud. Calendar then worked fine, even when I turned Calendar and Reminders back on.

  • I get an error message when running a back-up from my Macbook Pro: The backup disk image Macbook.sparsebundle could not be accessed (error-1) and the backup did not complete? What is the issue?

    I get an error message when running a back-up from my Macbook Pro: The backup disk image Macbook.sparsebundle could not be accessed (error-1) and the backup did not complete? What is the issue?

    Try Here  >  http://pondini.org/TM/C12.html
    More Info here  >  http://pondini.org/TM/Time_Capsule.html

  • SSRS 2008 Created Commssion Report, now getting error message when I run this ( need Help)

    in SSRS 2008 2 years ago created Commission with sub reports added, it was working fine, some how started to get error  
    message when we entered some invoice # see below screen shot of error message
    but same time if I enter different invoice # it process the report without any error message , donot understand the problem
    what's causing this issue, I have looked each sub report,
    can some one suggest any idea,
    I have spent hrs to figure it out, no luck so far.
    thanks in advance
    see the 2nd screen shot with report process
    any help will be greatly appreciated

    Hi Wendy
    thanks for your reply
    I tried creating new report , I have 1 main report and 3 sub report on this
    on main report when I enter some invoice# and accountnum  data shows up with no problem,
    but same time if I enter different invoice# and accountnum , there is no data return  on same query, I have checked my query so many times, donot understand this issue, what's causing this problem, since all the data pulling from same tables, why its
    not pulling for some invoices,
     other strange thing , I created this report , year ago, there was no problem until now,
    all of the sudden this problem just shows up,'
    I am not that expert in sql , can I really use advise
    see below by query , if you can tell me what's wrong with my query I will be really greatfull I have spend so much time to figure it out, but so far no luck
    SELECT        VENDTRANS.DATAAREAID, SALESTABLE.SALESID, VENDTRANS.VOUCHER, SALESTABLE.SALESTYPE, SALESTABLE.SALESSTATUS, VENDTRANS.TRANSDATE,
                             CUSTINVOICEJOUR.INVOICEAMOUNT, VENDTRANS.INVOICE, VENDTRANS.PAYMMODE, VENDTRANS.ACCOUNTNUM, VENDTRANS.TRANSTYPE,
                             VENDTRANS.LASTSETTLEVOUCHER, VENDTRANS.TXT, CUSTINVOICEJOUR.INVOICEACCOUNT, CUSTINVOICEJOUR.INVOICINGNAME,
                             VENDTRANS.LASTSETTLEDATE, LEDGERJOURNALTRANS.ACCOUNTTYPE, LEDGERJOURNALTRANS.AMOUNTCURCREDIT, LEDGERJOURNALTRANS.LINENUM,
                             CUSTINVOICETRANS.INVOICEDATE
    FROM            SALESTABLE INNER JOIN
                             CUSTINVOICETRANS ON SALESTABLE.DATAAREAID = CUSTINVOICETRANS.DATAAREAID AND SALESTABLE.SALESID = CUSTINVOICETRANS.SALESID
    INNER JOIN
                             CUSTINVOICEJOUR ON CUSTINVOICETRANS.INVOICEID = CUSTINVOICEJOUR.INVOICEID AND CUSTINVOICETRANS.SALESID = CUSTINVOICEJOUR.SALESID
    AND
                             CUSTINVOICETRANS.INVOICEDATE = CUSTINVOICEJOUR.INVOICEDATE INNER JOIN
                             VENDTRANS ON CUSTINVOICETRANS.INVOICEID = VENDTRANS.INVOICE AND CUSTINVOICETRANS.DATAAREAID = VENDTRANS.DATAAREAID
    AND
                             CUSTINVOICEJOUR.DATAAREAID = VENDTRANS.DATAAREAID AND CUSTINVOICEJOUR.INVOICEDATE = VENDTRANS.TRANSDATE INNER JOIN
                             LEDGERJOURNALTRANS ON VENDTRANS.DATAAREAID = LEDGERJOURNALTRANS.DATAAREAID AND
                             VENDTRANS.ACCOUNTNUM = LEDGERJOURNALTRANS.ACCOUNTNUM AND CUSTINVOICETRANS.LINENUM = LEDGERJOURNALTRANS.LINENUM AND
                             VENDTRANS.INVOICE = LEDGERJOURNALTRANS.INVOICE AND VENDTRANS.VOUCHER = LEDGERJOURNALTRANS.VOUCHER AND
                             VENDTRANS.PAYMMODE = LEDGERJOURNALTRANS.PAYMMODE AND VENDTRANS.TRANSDATE = LEDGERJOURNALTRANS.TRANSDATE
    WHERE        (VENDTRANS.DATAAREAID = N'AR1') AND (SALESTABLE.SALESTYPE = 3) AND (SALESTABLE.SALESSTATUS = 3) AND (VENDTRANS.ACCOUNTNUM = @Accountnum)
                             AND (VENDTRANS.INVOICE = @Invoice) AND (LEDGERJOURNALTRANS.ACCOUNTTYPE = 2)

  • Error Message when running BI Publisher

    Hi-
    Getting the following error message when running a custom report, report has been defined but still getting the error message in HCM 9.2 with PeopleTools 8.53
    Template definition MAC_CONF_STM not found in the report definition. (235,2012) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:GetTemplate PCPC:15048 Statement:325
    Called from:PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:GetTemplateRuntime Statement:1778
    Called from:PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport Statement:1115
    Called from:BA_VALIDATION.ConfirmStmtPrint.OnExecute Name:PrintConfirmStmt Statement:53
    Called from:W3EB_ENR_SUMMARY.GBL.W3EB_ENR_PB_WRK.ODEM_CONF_STMT_PB.FieldChange Statement:2
    Any idea regarding the error message
    Regards,
    MACD

    Did your custom report ever ran successfully in the environment you are getting the error.
    Most of the time not all the report definition and associated definitions are migrated to the next environment.
    Have a look at following doc:
    E-BI/XMLP: How To Migrate BI/XML Publisher File Definition Objects? (Doc ID 659919.1)

  • Get error message when trying to launch bridge from CC 64 bit.

    Get error message when trying to launch Bridge from Photoshop CC 64 bit.  "Cannot complete command because extension cannot be loaded."  Need fix.  Thanks.

    Hi Adobe Bubba,
    Please uninstall the software, run the cleaner tool, restart your machine and install again.
    Cleaner tool: http://www.adobe.com/support/contact/cscleanertool.html .
    Regards,
    Romt Sinha

  • Error message when running form

    hi everybody,
    im getting this error message when running a simple form.
    Positional Parameter after key command line.
    Can anyone please help.
    thnk u

    Check the path to your form. Forms does not like spaces in the path or fmx filename, but the error doesn't explain the problem at all!

  • Error Message--ITunes runs in 64-bit mode. Uncheck the Open in 32-bit mode in Get info for ITunes. However it is UNCHECKED. I cannot access itunes at all.What now?

    Error Message--ITunes runs in 64-bit mode. Uncheck the Open in 32-bit mode in Get info for ITunes. However it is UNCHECKED. I cannot access itunes at all. What now?

    Fallout75, good catch on the eXo plugin.  To remove it, in the Finder click "Go" on the menu bar and pull down to "Go to Folder" and then type ~/Library/iTunes/iTunes Plug-ins
    When that Finder window opens, you should see an "eXo" subdirectory.  Just delete that "eXo" folder and iTunes should start without the error.

  • Receiving Error Message when running sh rep_populate.sh

    Following directions at http://www.oracle.com/technology/tech/linux/htdocs/yum-repository-setup.html
    Receiving Error Message when running sh rep_populate.sh trying to create local yum repositories and configure up2date and yum to install and update packages from them.
    THIS PROGRAM IS DEPRECATED!
    You should be generating xml metadata instead.
    Please see http://linux.duke.edu/metadata
    After executing following instructions and replacing server name with our server name.smmj.com
    Client Setup
    1. Import the GPG key
    rpm --import /usr/share/rhn/RPM-GPG-KEY
    2. Configure up2date to use the yum repository. Edit /etc/sysconfig/rhn/sources. Comment out line
    up2date default
    to
    #up2date default
    and add the following lines. Replace <repository_server> with the hostname of the machine that is hosting the yum repository. Comment and uncomment individual repositories as needed.
    Enterprise Linux 5
    (commented uncommented)yum el5_$ARCH_latest http://<repository_server>/yum/EnterpriseLinux/EL5/latest/$ARCH/
    (commented uncommented)yum el5_$ARCH_addons http://<repository_server>/yum/EnterpriseLinux/EL5/addons/$ARCH/
    #yum el5_$ARCH_oracle http://<repository_server>/yum/EnterpriseLinux/EL5/oracle/$ARCH/
    #yum el5_ga_$ARCH_base http://<repository_server>/yum/EnterpriseLinux/EL5/ga/base/$ARCH/
    #yum el5_u1_$ARCH_base http://<repository_server>/yum/EnterpriseLinux/EL5/1/base/$ARCH/
    #yum el5_u2_$ARCH_base http://<repository_server>/yum/EnterpriseLinux/EL5/2/base/$ARCH/
    #yum el5_u3_$ARCH_base http://<repository_server>/yum/EnterpriseLinux/EL5/3/base/$ARCH/
    #yum el5_ga_$ARCH_patch http://<repository_server>/yum/EnterpriseLinux/EL5/ga/patch/$ARCH/
    #yum el5_u1_$ARCH_patch http://<repository_server>/yum/EnterpriseLinux/EL5/1/patch/$ARCH/
    #yum el5_u2_$ARCH_patch http://<repository_server>/yum/EnterpriseLinux/EL5/2/patch/$ARCH/
    #yum el5_u3_$ARCH_patch http://<repository_server>/yum/EnterpriseLinux/EL5/3/patch/$ARCH/
    and running additional instructions
    2. Run up2date to install python-urlgrabber.
    up2date -i python-urlgrabber
    Receiving following error
    There was some sort of I/O error: <urlopen error (-2, 'Name or service not known')>
    Further when trying to replace /etc/yum.repos.d/ULN-Base.repo ULN-Base.repo unable to find file, file that is there
    is called public-yum-el5.repo
    Made following changes in that file
    Enterprise Linux 5
    [el5_latest]
    name=Enterprise Linux $releasever - $basearch - latest
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/latest/$basearch/
    gpgcheck=1
    enabled=1
    [el5_addons]
    name=Enterprise Linux $releasever - $basearch - addons
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/addons/$basearch/
    gpgcheck=1
    enabled=0
    [el5_oracle]
    name=Enterprise Linux $releasever - $basearch - oracle
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/oracle/$basearch/
    gpgcheck=1
    enabled=0
    [el5_ga_base]
    name=Enterprise Linux $releasever GA - $basearch - base
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/ga/base/$basearch/
    gpgcheck=1
    enabled=0
    [el5_u1_base]
    name=Enterprise Linux $releasever U1 - $basearch - base
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/1/base/$basearch/
    gpgcheck=1
    enabled=0
    [el5_u2_base]
    name=Enterprise Linux $releasever U2 - $basearch - base
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/2/base/$basearch/
    gpgcheck=1
    enabled=0
    [el5_u3_base]
    name=Enterprise Linux $releasever U3 - $basearch - base
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/3/base/$basearch/
    gpgcheck=1
    enabled=0
    [el5_ga_patch]
    name=Enterprise Linux $releasever GA - $basearch - patch
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/ga/patch/$basearch/
    gpgcheck=1
    enabled=0
    [el5_u1_patch]
    name=Enterprise Linux $releasever U1 - $basearch - patch
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/1/patch/$basearch/
    gpgcheck=1
    enabled=0
    [el5_u2_patch]
    name=Enterprise Linux $releasever U2 - $basearch - patch
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/2/patch/$basearch/
    gpgcheck=1
    enabled=0
    [el5_u3_patch]
    name=Enterprise Linux $releasever U3 - $basearch - patch
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/3/patch/$basearch/
    gpgcheck=1
    enabled=0
    Then ran following commands
    up2date -u
    Output
    There was some sort of I/O error: <urlopen error (-2, 'Name or service not known')>
    yum update
    http://<ice.smmj.com>/yum/EnterpriseLinux/EL5/addons/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
    Trying other mirror.
    http://<ice.smmj.com>/yum/EnterpriseLinux/EL5/latest/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: el5_latest. Please verify its path and try again
    We would like a simple and correct way of doing this or we will be forced to switch to another os and another provider
    Thanks, for your help

    We purchased Licensed version of Red Hat Linux Oracle for our network server. My boss wanted a simple way of installing Samba on it so that the server can be used for file and printer sharing. We have an active directory on our network and couple of other Windows servers as well as other Red Hat servers. He wants to install Samba on that licensed version so that it can primarily be used for file storage and sharing, he wants to be able to connect with gui type interface to this server from windows machines and linux machines and he wants for this Red Hat Linux Oracle machine to show up in active directory.
    Aparently when we went to Applications, Add Remove Software in Red Hat Fedora Samba was not in there.
    When we go to System, Administration, Server Settings, Services, Samba is also not there.
    Nowhere can we find an easy way of installing samba on this Linux OS.
    I went to your site, signed in, (previously there was only 1 channel available there, I have just recently found and added all the channels that were aplicable to our system) and downloading them now to another version of the same type of Licensed Red Hat Linux Oracle. Hopefully when I use Software Updater in System Tools it will load the packages we are loking for (from the channels I selected on your website). Once that is done I think I could just go to add remove software and install the packages that I need from there.
    I am still not sure why I set out to install repositories on this version of Linux, perhaps I mistakenly thought that once everything is installed (according to directions at http://www.oracle.com/technology/tech/linux/htdocs/yum-repository-setup.html) on the machine in question I would be able to use that same machine to get the packages for that same machine. We were in such a rush and desperate to put the server on to the network it did not dawn on me that this scenario is designed to have one serve on the network that holds repositories and other machines connect to it for packages.
    I think I am on the right track in my logic, log in to your site with the CSI number, user name and password, select ALL the channels versus only one, save the search, then from the machine update packages, then add new software and Samba Should be in there. I would like to hear your thoughts on this.
    This version of Linux seem like a very reliable version of OS and I would hate to give up on it, especially since we already bought licenses for it, its just that we don't have that much experience with it and I would upreciate all the info that you can give us for it. I am sure that everyone at SMMJ will upreciate you for it.

  • Error message when running Transaction Code = ME84

    hi,
    i am getting an error message when running Transaction Code = ME84
    Error is 'No processing (error message P5 017), No data for chosen selection'
    can someone please guide me on this ?

    Hi Mahendra,
    There are several reasons for the release not happeneing.
    1. The issue could be in the selection of release type
    2. Scope of selection
    3. Strategy profile
    Please check whether the selection parameters are considered are right for release to happen.
    Regards,
    Harish

Maybe you are looking for