In the WebService-type workflow call example test, the connection can pass the test on the same machine. When the WCF server is deployed in the vmwarevm system, the client performs debugging on the local machine, C and s cannot be connected. The error is: system. servicemodel. faultexception: An error occurred while verifying message security. An exception is shown in:
At last, we found that the sub-clock of the two machines was not synchronized, and the difference was more than one hour. After the correction time, it was OK. This problem took half a day to solve.
Then I thought that the system in the vmwarevm should be able to synchronize with the system time of the Local Machine. Finally, I found the method for synchronizing the time between the VM and the host operating system:
1. Install VMware Tools. Click the VM menu of the VM. Install VMware Tools... Or reinstall VMware Tools ....
2. After the installation is complete, find the VMware Tools menu in the control panel of the virtual machine system, and then runProgram.
3. After running the program, find the time synchronization between the VM and the host operating system under the Options menu, select the check box, and then confirm.
4. At this time, we can see that the VM time is consistent with the host system time.