Cannot add a signature to a Microsoft Office document. Signing error Error calling method on NPObject Digital signature in Office document

Dear pilgrim2180, maybe you and I don’t understand each other ... Let’s go in order from the very beginning:

We have deployed our own certificate authority based on MS Windows Server 2008 in our network. This authority issues certificates to users for signing documents and outgoing e-mails. After a short period of testing (about 2 months), certificates were issued to all users and the appropriate settings were made.

Custom configurations:

  • MS Windows XP / MS Windows Vista
  • MS Office 2007 Standard

After implementation, it turned out that on some PCs of users (with MS Windows 7 Pro / MS Windows XP) the above problem occurs and the document is not signed. :(

Now about the article you cited: I do not quite understand why such difficulties? Signing a document is done in three steps. "Office Icon" -> "Prepare Document" -> "Add Digital Signature".

PS: In addition to MS Office documents and e-mail, a digital signature is not used for anything.

We really do not understand each other, because I repeat to you again that both files and macros are signed.

If the document you want to sign contains macros, then this signature can certify both the document and the macro project.

You can create your own digital signature certificate by selecting the second option in the pop-up window for adding a digital signature on the first run.

A digital signature, unlike a signature line, is not visible, but only puts the document into read mode. By adding an icon to the status bar. Like any digital certificate that is installed for documents or Office macros.

Help Office:

Unlike a signature line, an invisible digital signature is not visible in the document content, but allows the recipient of the document to determine that the document has a digital signature by displaying it or by looking for a button. signatures in the status bar at the bottom of the screen.

Well, if you have problems with certificates, then the article will help you:

Digital signature in an Office document

Introduction to Digital Signatures

Compatibility

During form template creation, you can enable digital signatures so that users can add them either to the entire form or to specific parts of the form. In Microsoft Office InfoPath 2007, you can also create a browser-compatible form template. A browser-compatible form template is a form template created in InfoPath using a special compatibility mode. A browser-compatible form template can be browser-activated when it is published to a server running InfoPath Forms Services. Browser-activated form templates can allow digital signatures to be added to specific parts of forms that users fill out. When digital signatures are enabled for form parts, those signatures only apply to data in those specific form parts.

The rest is the security problems of those computers that do not accept digital certificates. It already needs to be looked at, on each, individually, which of the programs is blocking the execution of data.

Do not look for God, not in a stone, not in a temple - look for God within yourself. Seeker, let him find.

The error occurs due to the fact that the VipNet CSP CIPF was not registered during the initial connection to the 1C-Reporting service. We invite you to read the registration instructions.

Product Registration InstructionsvipnetCSP.

1. To register the product "VipNet CSP", go to "Start" → "All Programs" → "ViPNet" → "ViPNet CSP" → "Configuring the ViPNet CSP Cryptographic Provider" ( rice. 1.).

Rice. 1.

2. A window will open in front of you the following kind (rice. 2.), select the "Register ViPNet CSP" item and click the "Next" button.


Rice. 2.

3. In the next window, select the “Request for registration (get registration code)” item and click the “Next” button ( rice. 3.).


Rice. 3.

4. In the "Registration request method" window ( rice. 4.), select "Via the Internet (online)". In this case, your computer must be connected to the Internet. Click "Next".


Rice. 4.

5. In the "Registration data" window ( rice. 5.) fill in all fields and enter your serial number for ViPNet CSP (The serial number was specified during registration (Picture 5), it was also sent during registration to the e-mail address you specified (Picture 5)). Click "Next".


Rice. 5.

6. If the registration was successful, the installer will notify you ( rice. 6.). Click the Done button.


Rice. 6.

7. The ViPNet CSP Settings window will open ( rice. 7.). Click the "OK" button in it.


Rice. 7.

The product is registered.

When working with various services that use the "Electronic Digital Signature" (EDS), the user may encounter the error "Error calling method on NPObject". This dysfunction may occur with digital signing electronic documents, generating electronic keys, when entering Personal Area electronic banking, when trying to login to the resources of state service portals, and so on. In this article, I will tell you what this error is and how to fix Error calling method on NPObject on your PC.

Error text "Error calling method on NPObject"

Translated from English, the text of this error sounds like "Error called method in NPObject" and usually denotes an error situation in the code of programs written in Visual C ++ or Javascript.

A similar problem is most often encountered by users of Mozilla Firefox and Google Chrome browsers who work with various network resources (programs) that use an electronic digital signature (EDS) in their work.

The specific causes of the problem may be as follows:

How to fix Error calling method on NPObject

To solve the Error calling method on NPObject problem, I recommend doing the following:

  1. Restart your computer. Sometimes this can be effective;
  2. If you are not an IT specialist, then, first of all, I recommend writing a letter (or calling) to the technical support of the resource (or software product), when working with which there is given error, and describe the problem;
  3. Check if the date and time are displayed correctly on your computer. If they "lost" - move the mouse cursor over the date and time display in the lower right corner of the screen, press the right mouse button, select "Date and time settings" in the menu that appears and change the date and time to the correct indicators;

  4. Temporarily disable (delete) external extensions (add-ons) for your browser;
  5. If the digital signature tool is implemented as a plug-in for your browser, then completely remove this plug-in from your browser, restart your PC, and then try to install this plug-in again;
  6. Completely reinstall your existing stationary programs for digital signature (if any);
  7. Clear your browser's cache. For example, on Chrome, this is done by going to the settings, then click on "Show advanced settings", find the "Clear history" button, select "All time" on top. Put a tick on the option "Images and other files saved in the cache", uncheck the other options and click on "Clear history";

  8. Clear the Java cache. Go to Control Panel - Programs, find "Java" there. Click on this icon, the control panel will open. We find the section "Temporary Internet Files" and there we click on "Settings". We find the “Delete Files” button, click on it and confirm the deletion of temporary files (“Delete Temporary Files Settings”) by clicking on “Ok”;

  9. Revoke old certificates and request new ones, after receiving new certificates, change passwords. After changing the passwords, remove the old certificates, for which in Java go to the "Security" tab, then in "Manage Certificates", select the old certificate and click on "Remove".

In Windows OS, this is done by clicking on the "Start" button, in the search bar, type certmgr.msc and press enter. In the certificates window that opens, click on the "Personal" tab, find the old certificate and delete it.

Conclusion

If a signing error Error calling method on NPObject appears on your computer, I recommend that you first contact the technical support of a digital product (resource) that works with an EDS, where they can quickly identify the source of the problem (using logs) and take a set of actions to eliminate it. Otherwise, I recommend that you follow the set of tips listed above, they will help you get rid of the Error calling method on NPObject error on your PC.

In contact with