[edit = gfoidl] Siehe auch http://entwickler-forum.de/showthread.php?t=57378
hallo
die NTLMv2 Einstellung bei Server und Client hat es für die CallBack WCF Anwendung nichts gebracht. Der Server weist die Clientanmeldeinformationen zurück.
Ich habe mit der Möglichkeit mit
Es ist leider der Fehler nicht zu beheben.
hier ist die gesamte Konfig nochmal:
bitte um Tipps bzw. Lösungswege.
vielen Dank.
Burkut
hallo
die NTLMv2 Einstellung bei Server und Client hat es für die CallBack WCF Anwendung nichts gebracht. Der Server weist die Clientanmeldeinformationen zurück.
Ich habe mit der Möglichkeit mit
HTML Code:
<userNameAuthentication userNamePasswordValidationMode="Windows" /> <windowsAuthentication includeWindowsGroups="false" allowAnonymousLogons="true" />
hier ist die gesamte Konfig nochmal:
HTML Code:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.serviceModel> <services> <service name="HallService.HalloService" behaviorConfiguration="HalloServiceBehaviors"> <endpoint address="http://MyServerIP:9001" binding="wsDualHttpBinding" contract="Contracts.IHalloService" name="HalloService_HTTP"/> <endpoint address="net.tcp://MyServerIP:9002" binding="netTcpBinding" contract="Contracts.IHalloService" name="HalloService_TCP"/> <endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex" /> <host> <baseAddresses> <add baseAddress="http://MyServerIP:9000"/> </baseAddresses> </host> </service> </services> <behaviors> <serviceBehaviors> <behavior name="HalloServiceBehaviors"> <serviceMetadata httpGetEnabled="true" /> <serviceCredentials> <userNameAuthentication userNamePasswordValidationMode="Windows" /> <windowsAuthentication includeWindowsGroups="false" allowAnonymousLogons="true" /> </serviceCredentials> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> </configuration>
HTML Code:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.serviceModel> <bindings> <netTcpBinding> <binding name="HalloService_TCP" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions" hostNameComparisonMode="StrongWildcard" listenBacklog="10" maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10" maxReceivedMessageSize="65536"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> <security mode="Transport"> <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" /> <message clientCredentialType="Windows" /> </security> </binding> </netTcpBinding> <wsDualHttpBinding> <binding name="HalloService_HTTP" clientBaseAddress="http://localhost:9909/" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> <reliableSession ordered="true" inactivityTimeout="00:10:00" /> <security mode="Message"> <message clientCredentialType="Windows" negotiateServiceCredential="true" algorithmSuite="Default" /> </security> </binding> </wsDualHttpBinding> </bindings> <client> <endpoint address="http://myServerIP:9001/" binding="wsDualHttpBinding" bindingConfiguration="HalloService_HTTP" contract="ServiceReference.IHalloService" name="HalloService_HTTP"> <identity> <userPrincipalName value="BURKUTPC\burkut" /> </identity> </endpoint> <endpoint address="net.tcp://myServerIP:9002/" binding="netTcpBinding" bindingConfiguration="HalloService_TCP" contract="ServiceReference.IHalloService" name="HalloService_TCP"> <identity> <userPrincipalName value="BURKUTPC\burkut" /> </identity> </endpoint> </client> </system.serviceModel> </configuration>
vielen Dank.
Burkut
Comment