Click here to Skip to main content
15,884,353 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi All,
I am developing an asp.net c# web-application to sign documents on the server side. I am using a USB dongle to sign the documents. When i developed on the development box, I can able to sign the document. But when the same code is hosted on IIS , I cannot able to sign the document. I am not getting any exception too. The error provided is An Internal error occurred.

I got stuck on this stage. Please help me on this issue.
Posted
Updated 23-Apr-20 9:05am
Comments
ZurdoDev 9-Sep-14 8:00am    
The USB will have to be plugged into the server right? Because that is where the code is running that is trying to access the USB.
S.Prasath 9-Sep-14 8:01am    
Absolutely. Its connected.
ZurdoDev 9-Sep-14 12:44pm    
1. Reply to comment so that the user is notified.
2. Then it is probably a permissions issue. Check which user is running the app pool in IIS.
S.Prasath 9-Sep-14 22:45pm    
May be. But I have a question like "Do the IIS(with full rights) itself cannot able to access the external hardware(USB Token)?"
ZurdoDev 10-Sep-14 7:12am    
Depends on what identity the app pool is using.

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