Skip to main content
Participant
November 20, 2024
Question

Basic Plugin not loading

  • November 20, 2024
  • 1 reply
  • 401 views

Hi,

I am new to Adobe SDK and I am trying out the BasicPlugin.api in my Adobe Acrobat (24.004.20272.0) trial version. I have done the following:

1) Download the  sample plugins code: https://opensource.adobe.com/dc-acrobat-sdk-docs/library/samples/Samples_Plug_in.html#basicplugin

2) build the solution using VS 2022.

3) Copied the BasicPlugin.api to C:\Program Files\Adobe\Acrobat DC\Acrobat\plug_ins

Now after I launched Adobe Acrobat, for the 1st time I saw an alert message indicating the basicplugin has loaded and the document I opened had 52 pages. Immediately I saw an error "Invalid plugin detected. Adobe Acrobat Reader will quit". 

Post this I keep on getting the error "Invalid plugin detected. Adobe Acrobat Reader will quit". 

Am I missing any steps to consume the plugin in my setup.

Thanks,

Rahul

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
November 20, 2024
Participant
November 20, 2024

Hi Bernd Alheit,

 

Thank you for the suggestion.

I did search for the issue on the acrobat sdk forum. Unfortunately, I did not find the solution to my problem. I saw few threads that matched my issue description, but the solution did not help me. I am still facing this issue. This is what I concluded after going through some of the threads.

  1. Key from Adobe is required only if the plugin is consumed in Acrobat reader. If the plugin is loaded in Adobe Acrobat, then signing is not required.

In my case I created the 64 bit basicplugin.api file in my dev box using VS 2022. I copied the .api file to the C:\Program Files\Adobe\Acrobat DC\Acrobat\plug_ins folder on a different VM, where my adobe Acrobat is installed. I have signed in to adobe acrobat using my credentials. Even with this I am getting the “invalid plugin error”.

Any specific pointer to fix this. Appreciate your help.

Rahul