B
BigDave
All,
In my WSE-enabled web service, I can't get past an "Object reference
not set to an instance of an object." error in
InitializeSecurityTokenManagers. I use a Policy file and certificate
authentication. I've tried running the AppPool as an admin, and I've
created and tried various certs. This error just doesn't give me
enough to go on, to go any further.
Any suggestions for an avenue to go down would be much appreciated. I
have pasted a section of my InputTrace.webinfo below.
Thanks,
Dave
<processingStep description="Entering SOAP filter
Microsoft.Web.Services3.Design.RequireSoapHeaderAssertion
+RequireSoapHeaderFilter" />
<processingStep description="Exited SOAP filter
Microsoft.Web.Services3.Design.RequireSoapHeaderAssertion
+RequireSoapHeaderFilter" />
<processingStep description="Entering SOAP filter
Microsoft.Web.Services3.Design.AnonymousForCertificateAssertion
+ServiceInputFilter" />
<processingStep description="Exception thrown: Object reference
not set to an instance of an object."> at
Microsoft.Web.Services3.Security.Configuration.SecurityConfiguration.InitializeSecurityTokenManagers()
at
Microsoft.Web.Services3.Security.Configuration.SecurityConfiguration.get_SecurityTokenManagers()
at
Microsoft.Web.Services3.Security.Configuration.SecurityConfiguration.GetSecurityTokenManagerByTokenType(String
tokenType)
at
Microsoft.Web.Services3.Security.Tokens.SecurityTokenManager.GetTokenFromKeyInfo(KeyInfo
keyInfo, SoapContext soapContext)
at Microsoft.Web.Services3.Security.EncryptedKey.LoadXml(XmlElement
element)
at Microsoft.Web.Services3.Security.Security.LoadXml(XmlElement
element)
at
Microsoft.Web.Services3.Security.Security.CreateFrom(SoapEnvelope
envelope, String localActor, String serviceActor)
at
Microsoft.Web.Services3.Security.ReceiveSecurityFilter.ProcessMessage(SoapEnvelope
envelope)
at
Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope
envelope)</processingStep>
</inputMessage>
In my WSE-enabled web service, I can't get past an "Object reference
not set to an instance of an object." error in
InitializeSecurityTokenManagers. I use a Policy file and certificate
authentication. I've tried running the AppPool as an admin, and I've
created and tried various certs. This error just doesn't give me
enough to go on, to go any further.
Any suggestions for an avenue to go down would be much appreciated. I
have pasted a section of my InputTrace.webinfo below.
Thanks,
Dave
<processingStep description="Entering SOAP filter
Microsoft.Web.Services3.Design.RequireSoapHeaderAssertion
+RequireSoapHeaderFilter" />
<processingStep description="Exited SOAP filter
Microsoft.Web.Services3.Design.RequireSoapHeaderAssertion
+RequireSoapHeaderFilter" />
<processingStep description="Entering SOAP filter
Microsoft.Web.Services3.Design.AnonymousForCertificateAssertion
+ServiceInputFilter" />
<processingStep description="Exception thrown: Object reference
not set to an instance of an object."> at
Microsoft.Web.Services3.Security.Configuration.SecurityConfiguration.InitializeSecurityTokenManagers()
at
Microsoft.Web.Services3.Security.Configuration.SecurityConfiguration.get_SecurityTokenManagers()
at
Microsoft.Web.Services3.Security.Configuration.SecurityConfiguration.GetSecurityTokenManagerByTokenType(String
tokenType)
at
Microsoft.Web.Services3.Security.Tokens.SecurityTokenManager.GetTokenFromKeyInfo(KeyInfo
keyInfo, SoapContext soapContext)
at Microsoft.Web.Services3.Security.EncryptedKey.LoadXml(XmlElement
element)
at Microsoft.Web.Services3.Security.Security.LoadXml(XmlElement
element)
at
Microsoft.Web.Services3.Security.Security.CreateFrom(SoapEnvelope
envelope, String localActor, String serviceActor)
at
Microsoft.Web.Services3.Security.ReceiveSecurityFilter.ProcessMessage(SoapEnvelope
envelope)
at
Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope
envelope)</processingStep>
</inputMessage>