The exception is raised in the following line of the code:
SecurityContext Token sct
= client.IssueSec urityContextTok enAuthenticated (token, issuerToken);
The exception is the following:
uncontrolled exception of type 'System.Web.Ser vices.Protocols .SoapException'
en microsoft.web.s ervices2.dll
additional information: System.Web.Serv ices.Protocols. SoapHeaderExcep tion:
Server unavailable, please try later --->
System.Configur ation.Configura tionException: WSE032: There was an error
loading the microsoft.web.s ervices2 configuration section. --->
System.Configur ation.Configura tionException: WSE040: Type
WSSecureConvSer vice.CustomUser nameTokenManage r, WSSecureConvSer vice could not
be loaded. Please check the configuration file.
at System.Web.Conf iguration.HttpC onfigurationRec ord.Evaluate(St ring
configKey, SectionRecord section)
at System.Web.Conf iguration.HttpC onfigurationRec ord.GetConfig(S tring
configKey, Boolean cacheResult)
at System.Web.Conf iguration.HttpC onfigurationRec ord.GetConfig(S tring
configKey, Boolean cacheResult)
at System.Web.Http Context.GetConf ig(String name)
at
System.Web.Conf iguration.HttpC onfigurationSys temBase.System. Configuration.I ConfigurationSy stem.GetConfig( String configKey)
at System.Configur ation.Configura tionSettings.Ge tConfig(String sectionName)
at
Microsoft.Web.S ervices2.Config uration.WebServ icesConfigurati on.Initialize()
Any help will be great.
Thanks.
SecurityContext Token sct
= client.IssueSec urityContextTok enAuthenticated (token, issuerToken);
The exception is the following:
uncontrolled exception of type 'System.Web.Ser vices.Protocols .SoapException'
en microsoft.web.s ervices2.dll
additional information: System.Web.Serv ices.Protocols. SoapHeaderExcep tion:
Server unavailable, please try later --->
System.Configur ation.Configura tionException: WSE032: There was an error
loading the microsoft.web.s ervices2 configuration section. --->
System.Configur ation.Configura tionException: WSE040: Type
WSSecureConvSer vice.CustomUser nameTokenManage r, WSSecureConvSer vice could not
be loaded. Please check the configuration file.
at System.Web.Conf iguration.HttpC onfigurationRec ord.Evaluate(St ring
configKey, SectionRecord section)
at System.Web.Conf iguration.HttpC onfigurationRec ord.GetConfig(S tring
configKey, Boolean cacheResult)
at System.Web.Conf iguration.HttpC onfigurationRec ord.GetConfig(S tring
configKey, Boolean cacheResult)
at System.Web.Http Context.GetConf ig(String name)
at
System.Web.Conf iguration.HttpC onfigurationSys temBase.System. Configuration.I ConfigurationSy stem.GetConfig( String configKey)
at System.Configur ation.Configura tionSettings.Ge tConfig(String sectionName)
at
Microsoft.Web.S ervices2.Config uration.WebServ icesConfigurati on.Initialize()
Any help will be great.
Thanks.
Comment