News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
Error importing from pvk file.  
by Tim McClure [tim dot mcclure at ge dot com]
posted on 2005/09/20

When I run my application as a windows service I received the following exception:
2005-09-20 13:33:23 ERROR Exception = Org.Mentalis.Security.Certificates.CertificateException: Could not import the private key from the PVK file.
at Org.Mentalis.Security.Certificates.Certificate.AssociateWithPrivateKey(String pvkFile, String password, Boolean exportable)
at CassiniEx.Server.GetCertificate(String keyFile, String certFile, String password)
at CassiniEx.Server.StartSecureSocket(Int32 newPort, Int32 newPortIndex)

My program works in the windows IDE using the same certificate and private key.

I haveno clue why it is failing as a service. Any help will be greatly appreciated.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.