Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2006

Tip: Looking for answers? Try searching our database.

Random Cryptography_CSP_NoPrivateKey Error.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MoonLiver - 17 Oct 2006 20:31 GMT
I have an inconsistent error as seen below. Does anyone know how I can
get more specific details from the cause of this error, or what could
be causing it?

Thanks
Brad
TIA

System.Security.Cryptography.CryptographicException:
Cryptography_CSP_NoPrivateKey at
Microsoft.Web.Services2.Security.Cryptography.RSACryptoServiceProvider.SignHash(Byte[]
rgbHash, String oidHash) at
Microsoft.Web.Services2.Security.Cryptography.RSASHA1SignatureFormatter.SignHash(Byte[]
rgbHash) at
Microsoft.Web.Services2.Security.Cryptography.RSASHA1SignatureFormatter.Sign(Stream
data) at
Microsoft.Web.Services2.Security.MessageSignature.ComputeAsymmetricSignature(AsymmetricKeyAlgorithm
key) at
Microsoft.Web.Services2.Security.MessageSignature.ComputeSignature() at
Microsoft.Web.Services2.Security.Security.SerializeXml(SoapEnvelope
document) at
Microsoft.Web.Services2.Security.SecurityOutputFilter.ProcessHeader(Security
security, SoapEnvelope envelope) at
Microsoft.Web.Services2.Security.SecurityOutputFilter.ProcessMessage(SoapEnvelope
envelope) at
Microsoft.Web.Services2.Pipeline.ProcessOutputMessage(SoapEnvelope
envelope) at
Microsoft.Web.Services2.Messaging.SoapSender.FilterMessage(SoapEnvelope
envelope) at
Microsoft.Web.Services2.Messaging.SoapSender.BeginSend(SoapEnvelope
envelope, AsyncCallback callback, Object state) at
Microsoft.Web.Services2.Messaging.SoapClient.BeginSendOneWay(String
methodname, SoapEnvelope envelope, AsyncCallback callback, Object
state) at
Microsoft.Web.Services2.Messaging.SoapClientAsyncResult..ctor(SoapClient
client, String methodname, SoapEnvelope envelope, AsyncCallback
callback, Object state) at
Microsoft.Web.Services2.Messaging.SoapClient.SendRequestResponse(String
methodname, SoapEnvelope envelope) at
Microsoft.Web.Services2.Security.SecurityTokenServiceClient.RequestSecurityToken(SecurityTokenMessage
request, String methodName) at
Microsoft.Web.Services2.Security.SecurityContextTokenServiceClient.RequestSecurityContextToken(SecurityToken
baseToken, SecurityToken issuerToken, AppliesTo appliesTo) at
Microsoft.Web.Services2.Security.SecurityContextTokenServiceClient.IssueSecurityContextTokenAuthenticated(SecurityToken
baseToken) at
MyCompanyNamespace.Classname.RequestNewSecurityContextToken(SoapContext
requestContext) at MyCompanyNamespace...
Mike Logan - 17 Oct 2006 20:51 GMT
Ensure the user has access to the certicate by using the WSE Certificate tool.
Signature

Mike Logan

> I have an inconsistent error as seen below. Does anyone know how I can
> get more specific details from the cause of this error, or what could
[quoted text clipped - 43 lines]
> MyCompanyNamespace.Classname.RequestNewSecurityContextToken(SoapContext
> requestContext) at MyCompanyNamespace...
MoonLiver - 17 Oct 2006 22:33 GMT
Mike,

Thank you for your feedback. I have ensured that the user has
permission from the WSE Certificate Tool. This problem is intermitent.
Every so often it occurs.

Brad

> Ensure the user has access to the certicate by using the WSE Certificate tool.
> --
[quoted text clipped - 47 lines]
> > MyCompanyNamespace.Classname.RequestNewSecurityContextToken(SoapContext
> > requestContext) at MyCompanyNamespace...

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.