Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

Authentication failure of Compatibility Provider for Security (SSPI)

$
0
0

Hi

I have a wcf service.

I receive an error when I call a method:

Authentication failure of Compatibility Provider for Security (SSPI). It is possible that the server is not running on an account with the identity 'host / gppesvlcli1205.gp.inet'. If the server is running on a service account (as a network service), specify ServicePrincipalName as the server's EndpointAddress identity. If the server is running on a user account, specify the UserPrincipalName of the account as the server's EndpointAddress identity.

My web config:

<?xml version="1.0" encoding="utf-8"?><!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  --><configuration><connectionStrings><add name="SDioDbConnectionString" connectionString="Data Source=10.4.40.131\EDI_DESA;Initial Catalog=DIO;User ID=user_oportunidad; Password=Tgest123456&amp;&amp;; MultipleActiveResultSets=True;App=SDioContext" providerName="System.Data.SqlClient" /></connectionStrings><!--
    For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.

    The following attributes can be set on the <httpRuntime> tag.<system.Web><httpRuntime targetFramework="4.5" /></system.Web>
  --><system.web><compilation targetFramework="4.5" strict="false" explicit="true"/><httpRuntime targetFramework="4.5" maxRequestLength="51200" executionTimeout="120" /><trace enabled="false" pageOutput="false" /></system.web><system.serviceModel><extensions><behaviorExtensions><add name="error" type="Tgs.SDIO.AL.Host.Utils.ErrorBehavior, Tgs.SDIO.AL.Host" /></behaviorExtensions></extensions><services><service name="Tgs.SDIO.AL.Servicios.Implementacion.Comun.ServicioComunSDio" behaviorConfiguration="BehaviorServicio"><endpoint binding="wsHttpBinding" contract="Tgs.SDIO.AL.Servicios.Interfaces.Comun.IServicioComunSDio" /></service><service name="Tgs.SDIO.AL.Servicios.Implementacion.Seguridad.ServicioSeguridadSDio" behaviorConfiguration="BehaviorServicio"><endpoint binding="wsHttpBinding" contract="Tgs.SDIO.AL.Servicios.Interfaces.Seguridad.IServicioSeguridadSDio" /></service><service name="Tgs.SDIO.AL.Servicios.Implementacion.Trazabilidad.ServicioTrazabilidadSDio" behaviorConfiguration="BehaviorServicio"><endpoint binding="wsHttpBinding" contract="Tgs.SDIO.AL.Servicios.Interfaces.Trazabilidad.IServicioTrazabilidadSDio"/></service><service name="Tgs.SDIO.AL.Servicios.Implementacion.Oportunidad.ServicioOportunidadSDio" behaviorConfiguration="BehaviorServicio"><endpoint binding="wsHttpBinding" contract="Tgs.SDIO.AL.Servicios.Interfaces.Oportunidad.IServicioOportunidadSDio"/></service></services><bindings><wsHttpBinding><binding maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647" closeTimeout="00:30:00" openTimeout="00:30:00" receiveTimeout="00:30:00" sendTimeout="00:30:00" messageEncoding="Text"><readerQuotas maxDepth="2000000" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /></binding></wsHttpBinding><basicHttpBinding><binding name="basicHttp" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647"><readerQuotas maxArrayLength="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" maxDepth="2147483647" maxBytesPerRead="2147483647" /></binding><binding name="RAIS_AccesoSoap" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647"><readerQuotas maxArrayLength="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" maxDepth="2147483647" maxBytesPerRead="2147483647" /></binding><binding name="RAIS_UsuarioSoap" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647"><readerQuotas maxArrayLength="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" maxDepth="2147483647" maxBytesPerRead="2147483647" /></binding></basicHttpBinding></bindings><client><endpoint address="http://gppesvlcli1204/RAIS_sdio_WS/RAIS_AccesoSistema.asmx" binding="basicHttpBinding" bindingConfiguration="RAIS_AccesoSoap" contract="WsRaisAccesoSistema.RAIS_AccesoSoap" name="RAIS_AccesoSoap" /><endpoint address="http://gppesvlcli1204/RAIS_sdio_WS/RAIS_Usuario.asmx" binding="basicHttpBinding" bindingConfiguration="RAIS_UsuarioSoap" contract="WsRaisUsuario.RAIS_UsuarioSoap" name="RAIS_UsuarioSoap" /></client><behaviors><serviceBehaviors><behavior name="BehaviorServicio"><!-- Para evitar revelar información de los metadatos, establezca los valores siguientes en false antes de la implementación --><serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" /><!-- Para recibir detalles de las excepciones en los fallos, con el fin de poder realizar la depuración, establezca el valor siguiente en true. Para no revelar información sobre las excepciones, establézcalo en false antes de la implementación --><serviceDebug includeExceptionDetailInFaults="true" /><serviceThrottling maxConcurrentCalls="1000" maxConcurrentInstances="1000" maxConcurrentSessions="1000" /><error nombre="ServicioErrores" habilitado="True" ruta="${basedir}/LogErrores" /></behavior></serviceBehaviors></behaviors><protocolMapping><add binding="basicHttpsBinding" scheme="https" /></protocolMapping><serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"><serviceActivations><add relativeAddress="ServicioComunSDio.svc" factory="SimpleInjector.Integration.Wcf.SimpleInjectorServiceHostFactory, SimpleInjector.Integration.Wcf" service="Tgs.SDIO.AL.Servicios.Implementacion.Comun.ServicioComunSDio" /><add relativeAddress="ServicioSeguridadSDio.svc" factory="SimpleInjector.Integration.Wcf.SimpleInjectorServiceHostFactory, SimpleInjector.Integration.Wcf" service="Tgs.SDIO.AL.Servicios.Implementacion.Seguridad.ServicioSeguridadSDio" /><add relativeAddress="ServicioTrazabilidadSDio.svc" factory="SimpleInjector.Integration.Wcf.SimpleInjectorServiceHostFactory, SimpleInjector.Integration.Wcf" service="Tgs.SDIO.AL.Servicios.Implementacion.Trazabilidad.ServicioTrazabilidadSDio"/><add relativeAddress="ServicioOportunidadSDio.svc" factory="SimpleInjector.Integration.Wcf.SimpleInjectorServiceHostFactory, SimpleInjector.Integration.Wcf" service="Tgs.SDIO.AL.Servicios.Implementacion.Oportunidad.ServicioOportunidadSDio"/></serviceActivations></serviceHostingEnvironment></system.serviceModel><appSettings><add key="CodigoAplicacion" value="SDIO"/><add key="IdSistema" value=""/><add key="CodigoEmpresa" value="1"/><add key="CorreoSalida" value="sdio@tgestiona.com.pe"/><add key="NombreSistemaCorreoSalida" value="SDIO"/><add key="SmtpServer" value="172.28.11.30" /><add key="SmtpPort" value="25" /></appSettings><system.webServer><modules runAllManagedModulesForAllRequests="true" /><!--
        Para examinar el directorio raíz de la aplicación web durante la depuración, establezca el valor siguiente en true.
        Establézcalo en false antes de la implementación para evitar revelar información sobre la carpeta de aplicación web.
      --><directoryBrowse enabled="true" /></system.webServer><runtime><gcServer enabled="true" /></runtime></configuration>


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>