Figured it out...
I just had to give IIS read access to the certificate. I don't think that
this was mentioned anywhere in the documentation.
>I am trying to run the Secure Conversation example in WSE 2.0.
> On the call to client.IssueSecurityContextTokenAuthenticated(token,
[quoted text clipped - 34 lines]
>
> David
I am having the following exception, maybe you can help me...:
Uncontrolled exception of type 'System.Web.Services.Protocols.SoapException'
en microsoft.web.services2.dll
additional information: System.Web.Services.Protocols.SoapHeaderException:
Server unavailable, please try later --->
System.Configuration.ConfigurationException: WSE032: There was an error
loading the microsoft.web.services2 configuration section. --->
System.Configuration.ConfigurationException: WSE040: Type
WSSecureConvService.CustomUsernameTokenManager, WSSecureConvService could not
be loaded. Please check the configuration file.
at System.Web.Configuration.HttpConfigurationRecord.Evaluate(String
configKey, SectionRecord section)
at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String
configKey, Boolean cacheResult)
at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String
configKey, Boolean cacheResult)
at System.Web.HttpContext.GetConfig(String name)
at
System.Web.Configuration.HttpConfigurationSystemBase.System.Configuration.IConfigurationSystem.GetConfig(String configKey)
at System.Configuration.ConfigurationSettings.GetConfig(String sectionName)
at
Microsoft.Web.Services2.Configuration.WebServicesConfiguration.Initialize()
it doesn't looks like it is the same problem... do you have any idea?
any help will be great...
> Figured it out...
>
[quoted text clipped - 39 lines]
> >
> > David
aualias - 27 May 2005 14:36 GMT
I'm just learning this stuff. Others in this newsgroup know a lot more than
I do, so here is my guess...
I think that you are right, that it is a different problem, but I would
check the permissions just to be thorough.
Also verify that the certificates have been installed correctly.
I looked at the web.config file from the example that I have been playing
with. Here is a section...
<serverToken>
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:SecurityTokenReference>
<!-- Replace the identifier below with your own certificate Id in
Base64String here
The certificate is from the Local Machine store's Personal
folder, and the certificate
Id can be retrieved by X509Certificate
-->
<wsse:KeyIdentifier
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X
509SubjectKeyIdentifier">bBwPfItvKp3b6TNDq+14qs58VJQ=</wsse:KeyIdentifier>
</wsse:SecurityTokenReference>
</KeyInfo>
</serverToken>
Make sure that your attributes (http://....) point to the correct locations
and that the KeyIdentifier is the correct one for your certificate.
Hopefully, someone who knows more that I will weigh in on this...
David
>I am having the following exception, maybe you can help me...:
>
[quoted text clipped - 72 lines]
>> >
>> > David