473,386 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Digital Signature -How to access certificate stored in IIS in asp.net .

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.InvalidOperationException: The current session is not interactive.

Source Error:

Line 53: // open store and show certificate picker
Line 54: store.Open(OpenFlags.ReadOnly);
Line 55: X509Certificate2Collection cert = X509Certificate2UI.SelectFromCollection(store.Cert ificates, "Trans Online System Private Limited", "Message", X509SelectionFlag.SingleSelection);
Line 56: ContentInfo plainContent = new ContentInfo(cipherbytes);
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
Apr 23 '08 #1
0 2260

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Targa | last post by:
Can anyone point me to resources relating to web based signature capture? I'm working on an ASP application that will be used on mobile tablet PCs. I need to add the ability for someone to sign...
5
by: John Campbell | last post by:
Hi everyone I've been doing my best to understand the specifics of implimentating XML Digital Signatures, but I seem to be missing a fundamental concept. Let me start with a description of the...
1
by: Arkady Frenkel | last post by:
Hi! I try to make digital signature of the blob and check it , but on check ( signature created and seems OK ) I catch exception : "An XmlDocument context is required to resolve the Reference Uri...
0
by: CLarkou | last post by:
I bought a digital signature for my MSaccess application in Office 2003. I select TOOLS\Digital Signatures in Visual Basic Editor and I am not able to see my digital signature in the available...
1
by: Marco Moioli | last post by:
Hi, I have a problem with a X509 digital signature. I want to sign a Word 2003 document saved in .xml format. the problem is that after the signature, Word 2003 don't want to open the document. ...
0
by: IgorB | last post by:
Hi! Is there a way in ASP to verify digital signature by using one of public keys contained within the application's PSE (Personal Security Environment) file? Or if this is not possible, can it...
1
by: ckpoll2 | last post by:
Hi, I have a rookie question for you. I have a database where people create a form that has to be signed. Rather than print off a hard copy, I'd like the spot for the signature to have a digital...
0
by: rene.rugerio | last post by:
I am developing an application using dot net fw 2.0 I am using the signedcms for the digital signature. I certainly do not understand why this generates long string as a result of the signing,...
0
by: Jesus Suarez | last post by:
Hello people, i find a applet for digital signature in browser. thanks
0
by: krazysmile | last post by:
Hey everyone. Im coming from this thread: http://www.thescripts.com/forum/thread117164.html Cant reply there, so im making a new one, also the last post is very old. Im trying to sing an email...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.