Click here to Skip to main content
15,177,507 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,I am working on a application which is design and code to digitally sign my PDF file stored inside the local folder, Using SignLib.dll and emudhra USB token ,I am been able to accomplish my task while I am debugging my application on my Visual Studio 2010. but Once I published my application on IIS (Tried on Local IIS as well) I am getting the error in the console "Sys.WebForms.PageRequestManagerServerErrorException: Digital certificate is not set.".
I am stuck in the application and unable to find any solution.
Please anyone giude me on this. I will be very thankful if it done.

What I have tried:

Tried on local system IIS , but it not working there either.
Updated 3-Jan-17 5:37am
Member 13991425 4-Oct-18 4:07am
Hi I need a favour from you, I need to sign my pdf with USB hard token, I am not able to get code or help from internet, can you please help me out how do I start, Till now I am able to read signature from USB Token but not able to understand how do I put that into pdf file.

1 solution

It seems like your error is pretty clear.

"Sys.WebForms.PageRequestManagerServerErrorException: Digital certificate is not set."

You either have not set your digital certificate or you need to allow IIS access to your cert store.

I would look at the following and research your issue further on how to give IIS permission to your cert store.

allow IIS access to certificates - Google Search[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900