Hello everyone,
I am working on an ASP.Net Project and i have used digital signature in my project and it is working perfectly fine in my system but when i run it on IIS server then my certificate is not opening and i am getting error like
"The current session is not interactive.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidO perationExcepti on: The current session is not interactive.
Source Error:
Line 53: // open store and show certificate picker
Line 54: store.Open(Open Flags.ReadOnly) ;
Line 55: X509Certificate 2Collection cert = X509Certificate 2UI.SelectFromC ollection(store .Certificates, "Trans Online System Private Limited", "Message", X509SelectionFl ag.SingleSelect ion);
Line 56: ContentInfo plainContent = new ContentInfo(cip herbytes);
Line 57: store.Close();
============"
Is anyone worked on digital signature before and help me out wht exactly is this error as i have worked a lot over IIS setting .
Waiting for replies
And thanks in advance
I am working on an ASP.Net Project and i have used digital signature in my project and it is working perfectly fine in my system but when i run it on IIS server then my certificate is not opening and i am getting error like
"The current session is not interactive.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidO perationExcepti on: The current session is not interactive.
Source Error:
Line 53: // open store and show certificate picker
Line 54: store.Open(Open Flags.ReadOnly) ;
Line 55: X509Certificate 2Collection cert = X509Certificate 2UI.SelectFromC ollection(store .Certificates, "Trans Online System Private Limited", "Message", X509SelectionFl ag.SingleSelect ion);
Line 56: ContentInfo plainContent = new ContentInfo(cip herbytes);
Line 57: store.Close();
============"
Is anyone worked on digital signature before and help me out wht exactly is this error as i have worked a lot over IIS setting .
Waiting for replies
And thanks in advance