When deleting the signature using Acrobat 9.0 -server threws an exception error displays

Hi Everyone,
I have built an application using VC++ ,in my application i try to sign a document using Acrobat 9.0 ,it gets properly signed and when i try to remove the signature it throws an exception that " Server threws an exception" ,the same code if executed in Acrobat in 7.0 is properly working.
The code is as below
DISPID dispid2;
OLECHAR *methodName2 = { L"removeField" };
dispparam1.cArgs = 1;
dispparam1.rgvarg = new VARIANT[ dispparam1.cArgs ];
dispparam1.rgvarg[ 0 ].vt = VT_BSTR;
dispparam1.rgvarg[ 0 ].bstrVal = varResult.bstrVal;
dispparam1.cNamedArgs = 0;
dispparam1.rgdispidNamedArgs = NULL;
hr = jso->Invoke( dispid2, IID_NULL, GetUserDefaultLCID(),
DISPATCH_METHOD, &dispparam1, NULL, NULL, NULL );
here after executing this line the hr throws "Server thres an exception"
What could be the reason please throw ur ideas.
Regards,
Nethaji

While deleting manually using acrobat 9.0 we are able to deleted it. But while deleting the same through code we get the following exception
hr = jso->Invoke( dispid2, IID_NULL, GetUserDefaultLCID(),
DISPATCH_METHOD, &dispparam1, NULL, &exceptionInfo,
&puArgErr );
ExceptionInfo = "NotAllowedError: Security settings prevent access
to this property or method."
puArgErr = 0
Exception id : 0x80020009
How to give the permission to invoke this method?

Similar Messages

  • Query in Deleting the Signature using Acrobat 9.0

    Hello Folks,
    We have used resetForm() method before removefield() in our coding
    Observed result:
      Our application uses VC++,If the document has one Digital Signature using the fix(Mentioned below) we can able to delete the signature in the document  but when the  document has many number of Digital Signatures the fix is not working.It threws an exception
    ·        “NotAllowedSecurity: Security settings prevent access to this property or method”
    ·        The exception Id for the above exception is “0x80020009”
        Note: The behavior is wrt to Acrobat 9.0, but the code is working fine for Acrobat 7.0 and 8.0 versions. 
    If we try the scenario in our application, on timestamp the document with Acrobat 9.0 and then signing the document with the same acrobat 9.0 and when deleting the signature using our application  again our fix is not working it throws the above exception.
    The code details are given below
    //Get Nth Field is done
    DISPID dispidRestet;
    OLECHAR *methodReset = { L"resetForm" };
    hr = jso->GetIDsOfNames( IID_NULL, ( OLECHAR** )&methodReset, 1, GetUserDefaultLCID(), &dispidRestet );
    if( hr != S_OK) {
      *errCode = kPSWErrIDispatchGetIDOfNames;
      return FALSE;
    dispparam.cArgs = 1;
    dispparam.rgvarg = new VARIANT[ dispparam.cArgs ];
    dispparam.rgvarg[ 0 ].vt  = VT_BSTR;
    dispparam.rgvarg[ 0 ].bstrVal = varResult.bstrVal;  
    dispparam.cNamedArgs  = 0;
    dispparam.rgdispidNamedArgs  = NULL;
    hr = jso->Invoke( dispidRestet, IID_NULL, GetUserDefaultLCID(), DISPATCH_METHOD, &dispparam, NULL, NULL, NULL );
    if ( hr != S_OK ) {
      *errCode = kPSWErrIDispatchInvoke;
      m_pAvdoc->Close(0);
      ret = FALSE;
    EXCEPINFO exceptionInfo;
    DISPID dispid2;
    OLECHAR *methodName2 = { L"removeField" };
    hr = jso->GetIDsOfNames( IID_NULL, ( OLECHAR** )&methodName2, 1, GetUserDefaultLCID(), &dispid2 );
    if ( hr != S_OK ) {
      *errCode = kPSWErrIDispatchGetIDOfNames;
      return FALSE;
    dispparam.cArgs = 1;
    dispparam.rgvarg = new VARIANT[ dispparam.cArgs ];
    dispparam.rgvarg[ 0 ].vt  = VT_BSTR;
    dispparam.rgvarg[ 0 ].bstrVal = varResult.bstrVal; 
    dispparam.cNamedArgs  = 0;
    dispparam.rgdispidNamedArgs  = NULL;
    hr = jso->Invoke( dispid2, IID_NULL, GetUserDefaultLCID(), DISPATCH_METHOD, &dispparam, NULL, &exceptionInfo, NULL );//here hr throws the exception for multiple signed documents
    if ( hr != S_OK ) {
      *errCode = kPSWErrIDispatchInvoke;
      m_pAvdoc->Close(0);
      ret = FALSE;
      //return FALSE;
    else{
    m_pPddoc->Save(1,strPDFFile);
    m_pAvdoc->Close(true);
    Plese guide us how to over come the exception
    Regards,
    DOCNet.

    Hi Leo,
                 Thanks for your reply!!!.:-)
              Both the signatures are done by me only.    
              The thing is the code works fine for one signature, but it throws an exception for documents having many signatures.
              Can you guide me how to proceed further.

  • Rollback is not working when "The server threw an exception" error

    Hi
    These are my transaction steps
    1) Call the StartTransaction method of the company object (Function AA)
    2) Add  Goods Issue (Rollback if error occurs) (Function BB)
    3) Create record with oRecordSet object (Rollback if error occurs) (Function BB)
    4) Add Journal Entry (Rollback if error occurs) (Function CC)
    5) Add Goods Receipt (Rollback if error occurs) (Function DD)
    6) Create record with oRecordSet object (Rollback if error occurs) (Function DD)
    7) Call EndTransaction (with commit) to complete the whole process (Function AA)
    These are working fine usually.
    But problem is when user has "The server threw exception" error message.
    Whole transaction must be rollback but still step 2 and 3 records are exist on DB.
    Rollback is working fine with another error messages.
    I programmed call Rollback transaction if calling function has any error.
    Function BB, CC and DD are calling from Function AA.
    I never have "The server threw an exception" error on my development machine with B1 2005 PL 51.
    This is happened only  LIVE server with B1 2005 PL 51.
    B1 was upgraded from PL29 to PL51 recently becaseu of Locking issue.
    Then Locking issue was solved but have "The server threw an exception" error and rollback is not working properly.
    I hope someone can help me!!!!.
    Thank you
    2) & 3) steps

    Hi Joanne,
    There are 2 things to check here.
    1. is the Transaction
    2. is the RPC_E_SERVERFAULT.
    for the first one,
    in step 2, just before you add the Good Issue, can you try to check first if you are still in a transaction ?
    Just to make sure.
    If it is, maybe you should open a ticket to SAP support.
    BTW, Which version is your Live environment ?
    for the second one,
    try to search the error in this forum. there is a lot of posting about this.
    The problem might also go away if you upgraded your SBO.
    Please search and see if there is anything the same with your problem.
    Regards
    Edy

  • How do you unlock fields when clearing the signature using the SignatureServcie?

    I have a workflow built using Process Management and is available through Workspace.  A claimant completes their expense report, digitally signs the form and submits it to their approver.  The form is setup to lock a set of fields after signature.  The approver then has the option to approve or disapprove the form.  When they disapprove the workflow clears the digital signature using Clear Signature Field operation in the SignatureService and routes it back to the claimant.  When the form is opened by the claimant the digital signature has been cleared as expected, but the fields are still locked.  Is there an autoamted way to unlock them?  Is this a service configuration issue or is there another service operation we need to call after clearing the signature? 
    We did try using Javascript to set the readonly property on the field with no luck. Any thoughts?
    We are developing on ES3 and will be upgrading to ES4 in the next week.

    You need to link the image.  See the example for the Canada flag below.
    <img src="http://forums.ni.com/ni/attachments/ni/130/6908/1/Canada-small.PNG" border=0>
    Replace with the image you like.  This goes into the signature box within the profile tab of the personal settings.
    RayR

  • How can I find the location of the signature used in the Adobe Reader signature feature?

    How can I find the location of the signature used in the Adobe Reader signature feature? I've been using the signature feature for a while now and it works great and I'd like to use it on another computer. However, I forgot where I stored the signature. Adobe finds it with no problems (the signature pops up when I click "Place Signature"), but I have no idea where it is.

    Hello,
    It's here - C:\Documents and Settings\username\Application Data\Adobe\Acrobat\10.0\Security\
    For more information, please refer - Cannot create a digital ID/signature
    ~Deepak

  • My hp support assistance wont run. it keeps stopping during updates and when deleting the temporary

    My hp support assistance wont run. It keeps stopping during updates and when deleting the temporary internet files. So it never finishes the process.. help

    The failure to remove the Temporary Files could just be due to having your internet connection active during the removal process.  For most folks, the amount of data in this directory is minimal.   If you want / need to remove the files, you could close your browser(s), make sure your Internet music and TV connections are closed, and then try removing the files manually:
    Path to Folder:
    C:\Users\--YourAccountNameHere--\AppData\Local\Microsoft\Windows\Temporary Internet Files
    Warning: 
    Do NOT remove the "Temporary Internet Folder" itself.  Go "inside" the folder before removing anything.
    ==================================================​==================================
    The HP Support Assistant is great when it works -- and not so great when it won't cooperate.  You can try removing the program from your computer and installing it again.  That may work.
    Control Panel > icon view > Programs and Features >
    Scroll down, find, and Uninstall HP Support Assistant.
    Restart your computer after uninstalling the existing version of Support Assistant.
    Install Support Assistant
    HP Support Assistant
    Using HP Support Assistant (Windows 8)
    Troubleshooting HP Support Assistant
    NOTE:  At writing, there are possible issues with HPSA version 7.x -- you might want to sitck with version 6.x for now.
    ==================================================​====================================
    If you have issues removing your version of HPSA:
    Fix problems with programs that can't be installed or uninstalled
    ==================================================​===================================
    Workaround to get Updates:
    If all avenues fail to bring joy and it just won't work, you can still get your updates from your computer's website.
                                                      ​         Install Software and Drivers from HP Website
    Go to the top of the HP forum page to Support and Drivers
    If prompted, Enter your Country or Region and
    Enter your Computer Model information,
    Go to Software and Drivers...
    Enter your Operating System in the Drop-down menu...  Scroll down
    Select desired Category
    Expand and decide if you need to install that package.
    Assure that you download and install only the most recent versions of each driver or program.
    Save the appropriate *.exe installation package on your computer
    NOTE the name and the location - the *.exe file will likely save to "Downloads “
    Install the Software / Driver installation package:  If you have ‘Admin’ control, you may highlight the package(s) and “double-click” to install, else Right-Click, Select ‘run as Administrator’ and install.
    NOTE:  There is sometimes a lot of information at the computer’s website.  Be sure to take an extended look at what’s available.
    ==================================================​====================================
    Good Luck!
    Kind Regards,
    Dragon-Fur

  • Do I need a several membership when I want to use Acrobat Pro ?

    I have a membership of the Adobe Creative Cloud. But when I want to use Acrobat Pro , inclusive Formscentral I have to get an additionally mebership. What can I do ?

    Creative Cloud includes Acrobat Pro. FormsCentral has a variety of plans.
    What makes you say you need an additional membership - what specific problems?
    What system do you have?

  • Adobe Software License Agreement pops up over and over when I try to use Acrobat. Even after I "Acce

    Adobe Software License Agreement pops up over and over when I try to use Acrobat. Even after I "Accept".

    I have the same problem as Pam101. I am on OS X 10.9 and Safari 7 (actually on 2 iMacs). The one iMac is fine but the other with the same versions and settings Adobe Reader will not work. What happens is the Adobe Reader icon appears on the dock, bounces once and that's it. When trying to open a .pdf file from a website a new tab is opened on Safari, the background is black and there is a pop up message (black test on a white background) that reads: "Adobe PDF Before proceeding you must first launch Adobe Acrobat and accept the End User License Agreement." This is all very well but if Adobe Reader will not launch how on earth is it possible to accept the End User License Agreement terms? Very, very annoying, especially since it all works just fine if I launch a .pdf file from a website using Chrome. What is going on here and who do I talk to in order to fix this problem - Apple or Adobe?

  • TPSDLS idoc to be triggered only when deleting the delivery

    Hi,
    We have a requirement: We should be trigerring the TPSDLS idoc only when deleting the delivery in SAP. Currently, we generate the TPSDLS idoc when creating and deleting the delivery.
    The Changes we tried did not help us in anyway.As we are seeing deliveries created with no-output type linked to them and when deleting them, does not provide any TPSDLS idoc.Not sure, how deliveries are created without any output type assocaited to them and what could solve them.
    Any help would be appreciated.
    Thanking You,
    Anish Asokan

    a

  • I'm using a Intel Core 2 Duo Mac OS X 10.4.11. When installing the Seagate FreeAgent GoFlex portable hard drive, I find an error in the logs - "dyld: Symbol not found: ___stack_chk_guard". How do I fix this? Thanks,

    I'm using a Intel Core 2 Duo Mac OS X 10.4.11. When installing the Seagate FreeAgent GoFlex portable hard drive, I find an error in the logs - "dyld: Symbol not found: ___stack_chk_guard"
    Referenced from: /Volumes/Mac Installer/MacInstall.app/Contents/MacOS/MacInstall
      Expected in: /usr/lib/libSystem.B.dylib
    How do I fix this? Thanks,

    OK, OSX can read that but not write, but...
    A few options...
    You could format that HDD as Fat32/MS-DOS, but you'd be limited to 4 GB Filesizes.
    NTFS-3G Stable Read/Write Driver...
    http://www.ntfs-3g.org/
    MacFUSE: Full Read-Write NTFS for Mac OS X, Among Others...
    http://www.osnews.com/story/16930
    MacDrive for the PCs... allows them to Read/Write HFS+...
    http://www.mediafour.com/products/macdrive/

  • When I try to use FT on my MBP, connected to a 24" display, and close the shell, the display camera says it is not turned on. I have looked and looked for a solution. Can someone help? Thanks

    When I try to use FT on my MBP, connected to a 24" display, and close the shell, the display camera says it is not turned on. With the MBP open, FT works fine. I have looked and looked for a solution. Can someone help? Thanks

    Hello BassoonPlayer,
    Since you are using one of the the school's Macbooks, it is quite possible that the time and date are not properly set on the computer that you are using.  FaceTime will not work if you do not have the proper time zone set up for the location that you are in.  This past week, there were a two other Macbook users I've helped by simply telling them to set the Date/Time properly.  By the way, you described your problem very well, which makes it easier for us to help you.  Hope this solves your problem -- if not, post back and I can suggest other remedies.
    Wuz

  • HT5622 When I tried to use my saved credit card, I made an error & it didn't work. Now, although the error is corrected, I keep getting a message that the card is declined. Can I fix this, or will the error time out?

    When I tried to use my saved credit card, I made an error & it didn't work. Now, although the error is corrected, I keep getting a message that the card is declined. Can I fix this, or will the error time out?

    Hello KGDJ,
    Thanks for using Apple Support Communities.
    When there is a mismatch between the iTunes Store's records and your credit card company's records, you will receive an error message
    For more information on this, take a look at:
    iTunes Store: My credit card's security code or zip code does not match my bank's records
    http://support.apple.com/kb/ts1646
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorizations have the correct information on file.
    Best of luck,
    Mario

  • Attribute change run fails - "Error when deleting the data record /B05/X.."

    Hello,
    I get the error message "Error when deleting the data record /B05/X.." on doing the change run.
    I have already done RSRV on this objects and found no errors, but still the activation fails.
    please give your suggestions ASAP to fix the issue as it is on production system.
    Thanks.

    Attribute change run could fails due to 2 reasons-
    (1) attribute xchange run is already runnnig for any toher object(monitor lock) (check by thi prog-RSDDS_CHANGERUN_MONITOR)
    (2) data is loading deleting from the object on which attribut changerun is running.(go in a manage tab and check)
    check this two conditions and rerun the attribute changrun again from program - RSDDS_AGGREGATES_MAINTAIN and give the master data name in the selection.
    Hope it helps you.

  • Delete the DNS delegations pointing to this server

    Good morning,
    I'm getting ready to decommission my Windows Server 2008 R2 server and replace it with a Windows Server 2012 R2 (completely new hardware).  After I decommission my current DC I will reboot it, change its IP address and name and then reboot it again.
     I am then going to give the new server the old IP and name of my old DC (so basically the name and IP address of the active DC will not change).  I'll then promote this server back into the domain.   Since the new DC in the end will have the
    same IP and NAME as the old DC, should I uncheck the "Delete the DNS delegations pointing to this server" when I decommission the old DC since the new one would have the same name?  Thanks!

    You can uncheck it and then promote it. Once done, make sure that the new DC is set under
    Name Servers tab in your zones properties.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • When connecting to cube via msmdpump.dll, an error pops up saying the following system error occurred: the server threw an exception

    users are able to pick the SSAS database and cube, it's at the final step and suddenly excel had this error:
    The following system error occurred: the server threw an exception...
    Other users have no such issues at all
    any ideas?
    thanks
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Hi Cat_ca,
    Glad to hear that your issue had been solved by yourself. Thank you for your sharing.
    Regards,
    Charlie Liao
    TechNet Community Support

Maybe you are looking for

  • JSF Converter how to use property in faces-config

    I have made an Converter for my listbox, and it is working. Now I want to use a property to change the behavior of the converter. My faces-config looks like this: <!-- Converters -->      <converter> <converter-for class>model.PacemakerBranche</conve

  • Reservation Stock In MMBE

    Hi friends, I would like to know the table in which the reservation stock has been stored.Iv checked in mard marc mbew but it does not update the quantity of reservation I also checked in rseb table but the quantity does not match with MMBE report.Pl

  • How to logon to oracle at home

    I am running Windows 2000 and I downloaded a copy of Oracle but I can't seem to logon. What kind of username, password and host string should be used for SQL Plus? Thanks

  • Problem solving pivot or not to pivot

    Problem: my current code is not viewing data as expected will come back re-write the question

  • Initialize a string to null or ""

    String s; When we declare a variable with type String, we need to initialize it. Or we will get compile error "variable s might not have been initialized" My question is which way we should do? 1) String s = null; 2) String s = ""; Or it really depen