![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I hope I'm right here with me WCF-question... I have a WCF-Service that is hosted on Win 2003 / IIS 6. I'm using message-security with a custom username-authentication. As long as I have the client and the host on the same machine, all works fine (doesn't matter if IIS 6 or 7). But if the client is on a different machine, I got the following exception on the client: "System.ServiceModel.FaultException: An error occured when verifying security for the message. " What do I have to do to make this working? Here's the service-configuration I'm using: system.serviceModel services service behaviorConfiguration="RmsServiceBehavior" name="connvision.CvSystem.Core.Services.RangeManag erService.RangeManagementService" endpoint binding="wsHttpBinding" contract="connvision.CvSystem.Core.Services.RangeM anagerService.ServiceContracts.IRangeManagementSer vice" bindingConfiguration="RmsBinding" / /service /services bindings wsHttpBinding binding name="RmsBinding" security mode="Message" message clientCredentialType="UserName" establishSecurityContext="false" / /security /binding /wsHttpBinding /bindings behaviors serviceBehaviors behavior name="RmsServiceBehavior" serviceMetadata httpGetEnabled="true" / serviceDebug includeExceptionDetailInFaults="true" / serviceCredentials type="connvision.CvSystem.Core.Services.Common.Pro viderServiceCredentials, Services.Common.ServiceImplementation" userNameAuthentication userNamePasswordValidationMode="Custom" customUserNamePasswordValidatorType="connvision.Cv System.Core.Services.Common.ProviderCredentialsVal idator, Services.Common.ServiceImplementation" / serviceCertificate findValue="localhost" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName" / /serviceCredentials /behavior /serviceBehaviors /behaviors /system.serviceModel Dani / connvision |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |