Click here to Skip to main content
15,881,882 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.
Posted
Updated 3-Jan-17 4:37am
Comments
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.
FIPL Developer 27-Jan-23 9:39am    
Hello sir,
We have a windows application in (the dot net 2.0 framework). Using this application our client took out invoice print. Due to the new gov. rules and regulations, they want to take out digitally signed invoices in pdf format so they can upload them on the gov. portal.

Every client will have their own one or multiple "DSC token/ e-pass token 2003/smart card" given by emudhra. We have to use this USB token to digitally sign the pdf.

I found that you can digitally sign the PDF document using a USB token I need your help in this task.

What I did :
I can add a digital signature in pdf using a pfx file but as discussed with emudhra USB token and a pfx file are two different things.

Sir, I need your help to accomplish this task.
Please share your contact.

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[^]
 
Share this answer
 

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