Mathematical Script fails after protecting & saving PDF

Hello, we are creating a form which includes a small graph to calculate a difference in two portfolios' Risk and Return %'s.  We want to be able to protect and save the document.  We, also, would like to re-open the document at a later point and update the values. Our script works fine when we enter the values, protect and save it; however, it fails after we re-open it with the password and enter the value; eg. it will simply show the previous calculated value.  Thank you for any input on fixing this issue.

Just a follow-up comment from my partner:
"we are password protecting and the calculated value becomes static when removing password"
- and here is a copy of our formula too if it helps:
ROR_difference.rawValue = ((ROR_Proposed.rawValue - ROR_Current.rawValue) / ROR_Current.rawValue)
Thanks!

Similar Messages

  • Assembler failing after form saved using ES3 designer(original works saved using ES2)

    I am having an issue with a form that was created in ES2.  If you use the form created in ES2, the assembler process works fine.  Once you open the form and save it using ES3, the process fails.  Any idea what to look for, or anybody else see this behavior?  I have also created a new form using the the old form as a template and it also fails. 

    Here is some additional information.
    Error thrown by assember process:
    Caused by: com.adobe.internal.pdfm.xfa.XFAServiceException: PDFM_S28008:
    XFA Dynamic assembler failed to stitch a fragment.: Invalid node type:
    ADBE_JSDebugger
    The fault occurred on line 2.
    After some more research today.  I have found saving in ES3 designer adds
    this to the file:
    <!-- 
    ><destination>pdf</destination><pdf><! 
    ><fontInfo/></pdf></agent><present><!    ><pdf><! 
    -->
    On Mon, Jun 3, 2013 at 8:39 AM, Jeremy Ostendorf <[email protected]

  • Drag script fails after I animated the objects

    I create a static page, with various objects, and made them draggable (with the help of resdesign)
    I than decise to animate the obects coming into the screen - so initially they are off the stage, and then they animate in.
    However once the brief animation has finished, and I try to drag the objects, they do all sorts of things, jump off the stage, or dissappear etc - horrible.
    The draggable code is in composition ready, so is the code taking the position of the assest as they are at frame 0 (now off the stage) and not from their resting point at 1.5 seconds?
    This is certainly a learning curve!
    Thanks for any advice!!
    Alistair

    What it's returning, the value U"\n\t\t", means a Unicode string consisting of a newline and two tabs. That so happens to be exactly what's in your XML file for the one child node in each area-code element. Here's an example from your file:
            <--- it's the stuff between here
        and here-->       
    The main thing I puzzled over when looking at your script is how this was working before? Are you sure that's your original script? It might be possible to craft an XPath query to return the first node NAME below an area-code element, but I'm not sure how off the top of my head. You're almost always looking for the contents of a node. What I'd suggest you do, if possible, is use a better XML schema. Something like this:
    <?xml version="1.0" encoding="ISO-8859-1"?>
      MidWest
      NorthEast
      West
    Which can then be referenced using a simple fast XPath query like this:
    /arearoutes/route[@AC='111']
    The result would be what you're looking for today in your Switch statement, a simple string "MidWest" or similar. If you're absolutely married to your old XML schema, we can try to help, but do the above if you can. You might also check out the W3 Schools XPath Tutorial.

  • Intermittent "Power Shell Script failed to run" after installing SQL MP 6.5.4.0

    We recently installed the SQL MP.  One thing I am struggling with is this "Power Shell Script failed to run" that occasionally comes up, but, not always on the same server, and not always at the same time. 
    It says it ran past the configured timeout of 300 seconds. 
    The post that seemed to have me on the right track was
    https://social.technet.microsoft.com/Forums/en-US/c539a55d-dd48-438f-b7d5-06ed2cecf6e9/powershell-script-failed-to-run-alerts-from-sql-management-pack-6410?forum=operationsmanagergeneral
    However, even after getting one of the several scripts that have been generating the error, out of the extract management pack, it has parameters that need to be fed to it that I have no idea what they are....
    Example.  ActiveRequestsDataSource.ps1 requires $computername, $connectionstring, $tcpport, $sql_wmi_namespace, and $servicename. 
    The computername is easy enough...  so is tcpport.  but, the others... not so much. 
    I am fairly certain I will be able to run these manually, if I just knew the parameters...  I am also fairly certain we are getting these because at the time of the check, resources on that server are tied up for one reason or another. 
    Can someone please help?  This is killing me. 

    Hi,
    As this issue happens after you installing SQL MP, so from my point of view, it seems like caused by the runas account for the SQL MP is not configured well, I would like to suggest you follow the article below to configure runas account for the management
    pack:
    Configuring Run As Accounts and Profiles in OpsMgr – A SQL Management Pack Example
    http://blogs.technet.com/b/kevinholman/archive/2010/09/08/configuring-run-as-accounts-and-profiles-in-r2-a-sql-management-pack-example.aspx
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • [SOLVED] Evince failed to open any PDF documents after upgrade

    I have a x86 version Archlinux on a 32-bit intel platform. After recent upgrade, the Evince package was updated to 2.32.0-3, which fails to open any PDF documents. It gives a notification says "Unable to open document: File type PDF document (application/pdf) is not supported".
    No other package was installed/removed. It just stop working after the upgrade.
    Looking forward for any suggestions/solutions. Thanks in advance~~
    Last edited by d7wang (2010-10-09 10:32:40)

    Thank you so much.
    The problem is solved as soon as I replaced the modified freetype2 from AUR with the official package. There seems to be something incompatible with the upgraded system.

  • Images fail to appear in pdf when saving as pdf in formscentral

    Images fail to appear in pdf when saving as pdf in formscentral, am I doing something wrong?
    Image is saved as a jpg and appears on the Formscentral form but is not there on the pdf

    Sorted it out the image was in CMYK format, saved it to RGB, and it worked

  • Why unable to sign PDF with certificate after applying Nitro PDF password protection? (despite it explicitly allowing signing with certificates)

    I used Adobe Reader XI to sign PDFs with certificate, which worked perfectly. Except that the PDF could still be edited by other programs (for example, Nitro PDF) after the signing (but not the fill out fields and the signature). To apply password protection makes sense to avoid changes in the PDF being made after it has been signed. So I applied password protection via Nitro PDF that allows only enter fill-out fields and signing. But when I open it with Adobe Reader, the filling out works fine, but the signing part is not available to click on it (all of the buttons under "Sign" tab are grey). When I go on the Security properties with Adobe Reader, I can explicitly see that signing of this PDF is allowed and yet the option is not open to use for me anymore.
    Any ideas on why it is the case and what I could do about that?
    Many thanks!
    O.

    Actually yes, I just asked my colleague to assist me with this, he password-protected the PDF with Acrobat 8, explicitly allowing for signing and fill-out functions, it also appears in Adobe Reader under security properties as "allowed", but it is not open to use in the Reader for me anymore (grey buttons).

  • Failed to display CR after export to PDF in Browser

    Post Author: asnila
    CA Forum: Exporting
    Hi,
    I had a problem to display CR after export to PDF in browser. No message error displayed except the browser is blank.
    Below is the code that i had been used.
    Dim RptFilePath As StringDim RptExportOpt As CrystalDecisions.Shared.ExportOptionsDim ExportLocation As New CrystalDecisions.Shared.DiskFileDestinationOptionsDim ExportPath As StringRptFilePath = "C:\Project\reportPro.rpt"myReport.Refresh()myReport.SetDatabaseLogon("root", "", "localhost", "dbpro")ExportPath = "C:\Project\reportPro.pdf"ExportLocation.DiskFileName = ExportPathRptExportOpt = myReport.ExportOptionsWith RptExportOpt.DestinationOptions = ExportLocation.ExportDestinationType = ExportDestinationType.DiskFile.ExportFormatType = ExportFormatType.PortableDocFormatEnd WithmyReport.Export()Response.ClearContent()Response.ClearHeaders()Response.ContentType = "application/pdf"Response.WriteFile(ExportPath)Response.Flush()Response.Close()MyConnection.Close()
    Fyi, i'm using Crystal Report 10 embedded with VS 2005. Please help me.

    It looks like the 2 DLLs you mentioned, are getting corrupted or modified due to some operation that might have been performed on them. Can you please try the below mentioned instructions and see if that gets your application to install without any errors:
    1. Try installing your business app.
    2. When you see the error message as stated, try running the below mentioned commands: (Start | Run | Type cmd and hit Enter)
        regsvr32 LTKRN11n.dll /i /s
        regsvr32 LTKRN11n.dll /s
        regsvr32 LTDIS11n.dll /i /s
        regsvr32 LTDIS11n.dll /s
    3. The above commands should fix the issues in the mentioned DLLs and allow normal installation of your business app.
    Hope this gets your app to work and install properly.

  • SCOM 2012 SP1 - PowerShell Script failed to run - 3 alerts appear after every reboot of the SCOM Server

    Brand new SCOM 2012 SP1 install with Update Rollup 1 applied
    Single server, local SQL install, SQL Server 2012 SP1
    Hyper-V VM running on Server 2012.  VM has 8GB Ram, single vCPU
    Going through initial management pack importing and configuration, at this point I have the Windows Server 2012 and SQL 2012 MP's installed.
    See screenshot
    http://i.imgur.com/l0Molh1.png
    I am getting the following alerts in my SCOM console and cannot find a resolution to fix the issue.  I don't want to set an override, as an override will prevent the PowerShell alert in other instances, where I might want to receive an alert.
    Looking at the alert description, it states "The Data Access service is either not running or not yet initialized"
    The SCOM Console launches and responds fine, and I get no other errors.  I check the Data Access service and it is online.  I have left the system alone for a couple of hours and no other errors.  I then closed those alerts and restarted the
    server, and they came right back in, so I know that this is something that is happening at either server startup of during the start of the SCOM services.
    Is it possible that SCOM is trying to execute these scripts and the Data Access service has not come online yet?
    Has anyone else come across this before?

    Please try the method in the following thread:
    Note: As there is operations related to Registry, please perform a backup before doing this.
    OpsMgr 2012 - Power Shell Script failed to run 
    http://social.technet.microsoft.com/Forums/de-DE/systemcenterde/thread/4be37f8d-1e7b-450c-8cb9-f1e95f3b2bd0/
    Thanks.
    Nicholas Li
    TechNet Community Support

  • Is it possible for me to script Illustrator to save as PDF and attach to email ?

    Hi,
    I am after a script to save my current working file as PDF (with some settings) and then bring up a blank outlook email with that file attached ?
    I do a lot of artwork and have to get it approved, I am getting bored of manually saving to PDF then going to find the file and then clicking send to > mail recipient etc etc
    You know the drill guys.
    So would it be possible for me to just run a script that does all that for me ready to insert the persons name or even add the persons name within the script ?
    thanks
    Lee

    Well, as the kids' paper-crafts book I used to try to put together which frustrated the hell out of me, mockingly read on the bottom of the instructions: "ТЕРПЕНИЕ И ТРУД ВСЕ ПЕРЕТРУТ"
    That is, patience and perseverance will overcome all. 
    To use the below, you've gotta get Autohotkey_L, I believe, and it's not that hard to use.. but it takes some time to learn the various things if you want to write your own ones like this:
    {{YOUR_OWN_HOTKEY_HERE}}::
      MyTempFile = C:\Users\{{YOUR_USER_NAME}}\last_proof_sent.txt
      Run {{YOUR_JSX_SCRIPT}}.jsx                                                  ;Save the PDF proof - the script needs to write a temp text file in a place somewhere, which writes the full name of your saved PDF!
                                                                                                              ; I called my temp text file "last_proof_sent.txt"
      CurrentDateTime := A_Now                                                        ;get current time
      sleep, 500
      FileGetTime, FileTime, %MyTempFile%                                              ;get mod date of this temp file
      TimeCounter = 0                                                                                ;initialize time counter for waiting for PDF to save
      While(CurrentDateTime > FileTime and TimeCounter < 1000)                    ;waiting period to see if temp text file has updated since start of this script
      sleep, 20
      TimeCounter++
      FileGetTime, FileTime, %MyTempFile%                                                      ; each time get the modification date of the temp text file
      If(CurrentDateTime < FileTime){
      FileRead, MyPDFFileName, %MyTempFile%                                                  ;read the contents of temp file for location of PDF file path (It was written there by your JSX script, hopefully)
      If Not ErrorLevel{
      m := ComObjActive("Outlook.Application").CreateItem(0)
      m.Subject := "Greetings to all"                                                                      ; <---- Subject -----
      m.To := "address here"                                                                                    ; <---- Recipient -----
      m.HTMLBody := "email body"                                                                          ; <---- Email message body -----
      m.Display
      m.attachments.add(MyPDFFileName)                                                             ;  This is the attachments!
      } else {
      MsgBox, Error Reading the temporary file %MyTempFile%
      } else {
      MsgBox, "Sorry, action timed-out."
    return
    *** I have tested this on one file where I had a test folder on my desktop.  The ExtendScript likes to put the file path like "~Desktop/", but I used myFile.fsName to get the full "C:/Users/Me..." name in case it was gonna be confusing to AHK.

  • Adobe Xi 11.0.10 not printing saved pdfs

    I have Windows 7 Home Premium 64 bit.  Adobe Reader XI was automatically updated to the Dec 2014 version 11.0.10 MUI. Since then I am unable to print any newly saved pdfs nor any of my old pdfs that I have been printing for years.  I AM able to print pdfs if taken directly from the web and not saved first. It is not about my printer, I have both downloaded the most recent driver as well as tried printing to a different printer.  It is tax season and I can't print pdf IRS forms.  HELP!
    After selecting from the print dialog box, regardless of what parameters I select, I get a window that says "Could not be printed" and an OK box which I click then a window that says "There are no pages selected" (but there are, I've tried selecting individual pages as well as print all) and another OK box.

    THANK YOU pwillener!  I tried your first suggestion (view documents to Never) and it didn't seem to work (but I hadn't restarted, so not sure it had taken effect).  After I did your second suggestion (disable protected mode) I rebooted my machine and VOILA I was able to print and fill in pdfs again.  Thank you SO VERY much!!!!

  • "Save as... eps" fails after 253 pages

    Hello,
    Save long pdf as single eps pages fails after 253 pages (osx lion 10.7.5, acrobat pro X) getting error 11.
    It's a known issue? How to work around?
    Thanks a lot
    ps. Acrobat pro 9 works fine exporting all pages

    No prob saving the same document  with AA9. All pages are exported from multipage pdf to single page eps files.
    No images in document, just vectorial text I have to maintain ...and eps format it's ok.
    With AA9 I've done this many times always with good result but now get this prob with AApro10.
    Thanks for reply

  • Ewfmgr: Failed getting protected volume configuration with error 1

    Hello,
    I created a Windows 7-64 image for an Ivy-Bridge VME card. The image contains EWF with RAM-REG.
    The disk was divided into 2 partitions with the windows installer and the image was successfully installed.
    As I'm using RAM-REG, all
    the disk was allocated.  
    After the image was installed I tried to run "ewfmgr c:" and got the current status.
    Then I created a GHOST image and wrote the image on a new card with a clean disk.
    After Windows booted, running "ewfmgr c:" gave:
    Failed getting protected volume configuration with error 1
    I found few threads on this issue but failed to understand what is the right solution.
    Can you help ?
    Thanks,
    Zvika  

    The Problem is always Volumeid related (diskid)
    Explaination:
    Sysprep creates new bcd for the System. - Therefore it's recommended to use sysprep (and SID and so on..) but if you're lazy or don't have Domain Controller and so on or always use physical seperated (better not Internet connected) machines you would be
    totaly fine with non-syspreped Images. You only Need updated/new bcd.
    Captured wim has 'old' bcd (if there is no seperated MSR Partition) you can update this 3 entries within winpe and your Image will boot:
    bcdedit /store c:\boot\BCD /set {BOOTMGR} device boot
    bcdedit /store c:\boot\BCD /set {DEFAULT} device PARTITION=C:
    bcdedit /store c:\boot\BCD /set {DEFAULT} osdevice PARTITION=C:
    (boot could also be Partition=c: or all entries could be boot - and /store is not needed as in winpe bcdedit automatically Redirects the commands into the other/System (found) bcd. But i always recommand to specify the bcd store you want to edit, like in
    this lines)
    The definition of "C:" in this Parameter is 'translated' into volumeid/diskid. - So in the bcd is not "C:" it's some DiskID.
    Instead of the 3 entries you can just create a whole new bcd with updated volumeid/diskids. --> It would be enough to run bcdboot /s C:\ (or whatever the current boot (c:\) Partition is.
    EWF needs to be reconfigured as it also works with Volume/Diskids. So it needs additional command while running (online).
    ewfcfg /install-configuration for win7
    rundll32 ewfdll.dll,ConfigureEwf for win xpe/wes2009.
    Windows Embedded Developer and Scripting Guy //Germany (http://www.wesnext.com)

  • Troubleshooting PostPrepare script failed with exit code 1

    i get a 'PostPrepare' script failed with exit code '1' message on one of the bundles, and i think i am missing some obvious thing
    it is a simple file bundle, to distribute a pdf printer:
    it distributes 2 files:
    ADIST.PPD to /usr/share/cups/model
    pdf-printer to /usr/lib/cups/backend
    (script based upon Cool Solutions: A CUPS PDF Printer for your SUSE Linux Enterprise Desktop
    then it should execute a pre-installation script that executes:
    Code:
    #!/bin/bash
    rccups restart
    mkdir -p /export/share/pdf
    chmod -R 777 /export
    lpadmin -p Desktop-PDF -v pdf-writer:/export/share/pdf/ -E -P /usr/share/cups/model/ADIST5.PPD -D "PDF Writer for CUPS" -L "PDF on desktop"
    manually placing the files on these locations and executing the script works fine
    on the machine i get (device set to log debug and above)
    Code:
    22 Jul 2010 09:33:00 INFO BundleManager Executing preprepare scripts for PDF printer
    22 Jul 2010 09:33:00 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:00 INFO WebCache Attempting to retrieve 'https://zlmserver/zenworks-pkgmgt/repo/getBundleFile/3ba56c5bc95bb2874273a7d0cae07d14/8/sled-11-i586/ADIST5.PPD' (try 1)
    22 Jul 2010 09:33:01 INFO WebCache Successfully retrieved https://zlmserver/zenworks-pkgmgt/repo/getBundleFile/3ba56c5bc95bb2874273a7d0cae07d14/8/sled-11-i586/ADIST5.PPD
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 INFO WebCache Attempting to retrieve 'https://zlmserver/zenworks-pkgmgt/repo/getBundleFile/3ba56c5bc95bb2874273a7d0cae07d14/8/sled-11-i586/pdf-writer' (try 1)
    22 Jul 2010 09:33:01 INFO WebCache Successfully retrieved https://zlmserver/zenworks-pkgmgt/repo/getBundleFile/3ba56c5bc95bb2874273a7d0cae07d14/8/sled-11-i586/pdf-writer
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 INFO BundleManager Executing postprepare scripts for PDF printer
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 INFO BundleManager Successfully prepared bundles
    22 Jul 2010 09:33:01 INFO BundleManager Beginning bundle transaction
    22 Jul 2010 09:33:01 INFO BundleTransaction Beginning bundle transaction: 1 installs, 0 removals.
    22 Jul 2010 09:33:01 INFO BundleTransaction Executing preinstall scripts for PDF printer
    22 Jul 2010 09:33:01 INFO SystemCatalog Saving system catalog containing 9 bundles
    22 Jul 2010 09:33:01 ERROR BundleTransaction Novell.Zenworks.Zmd.BUNDLE_INSTALL_ERROR: Novell.Zenworks.Zmd.BUNDLE_INSTALL_ERROR
    Novell.Zenworks.Zmd.Public.ZenException: 'PreInstall' script failed with exit code '1'
    22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Bundle transaction failed: 'PreInstall' script failed with exit code '1'
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 ERROR BundleManager Transaction failed: Bundle transaction failed: 'PreInstall' script failed with exit code '1'
    22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Parent failed/aborted
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Parent failed/aborted
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Parent failed/aborted
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Parent failed/aborted
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 ERROR ActionManager Failed to execute scheduled action (install (bundles=3ba56c5bc95bb2874273a7d0cae07d14)): Bundle transaction failed: Bundle transaction failed: 'PreInstall' script failed with exit code '1'
    Novell.Zenworks.Zmd.Public.ZenException: Bundle transaction failed: Bundle transaction failed: 'PreInstall' script failed with exit code '1'
    22 Jul 2010 09:33:01 INFO BundleTransaction Bundle transaction ended.
    clients: sled11sp1 i586
    server: sles11 x64 + zlm732
    the files are not copied to their destination
    the target directories are available, writable by root (obviously) there are no files with the same name available, adding a trailing slash to the target path does not help (but other bundles have no trailing slash and run ok)
    questions:
    where are the temporary files copied to?
    where/how can i find what might be causing the preinstall error?
    should i delete previous versions of the bundle in zlm

    until you delete the previous version in zlm and do a rug ref... or is this as designed
    When you make changes to the bundle you need to apply them. That creates a new version and then you need to deploy that new version. Apply and deploy are on the same page. But I guess you know that.
    If you already did that and still had problems, it might be the zen loader that needs a little bit more time. Once you hit deploy, a zen queue entry gets created that informs the zen loader to update the bundle xml file in the file repository. That file is delivered to the managed device when it queries for bundle information. So if that bundle xml contains the old version, the client will see that.
    Problems here can be that the zen loader simply needs a few seconds longer then when you change to the device and run rug ref. Or there can be other queue entries that get processed and the bundle xml update is just in the queue and waiting. The zen loader has 5 slots for processing queue entries.
    On the zlm server you can run "zlman ql I" for in progress entries and "zlman ql N" for new state entries that ned to be processed.
    Or you can use the short script I posted (Cool Solutions: Monitor ZLM queue entries with Nagios) that shows you in one line how many and what type of queue entries currently exist. This is what I always use to get a overview about the queue status.
    Rainer

  • R12 : System Failed to generate the PDF Document.

    I am trying to create a PO thru auto create but I hit inquire > View Document , I encountered an error: System Failed to generate the PDF Document. Please contact your system administrator. We just updgrade our instance from 11.5.2.10 to r12.1.2. Any thoughts?
    Thanks,
    Leo

    Please see if these docs help.
    System Fails To Generate PDF Document After Clicking "PDF Document" On Supplier Notification When Different Languages Are Used [ID 1078546.1]
    PO Email From Tools>Communicate At Same Time of Approval Corrupts PDF File Transmits As .HTML & System Failed to Generate PDF [ID 1287488.1]
    Thanks,
    Hussein

Maybe you are looking for