The original as version is 4.1. All the test cases with the replication function are normal, and data can be synchronously updated in the SDF database files. But since the installation of as 4.5, the problem has occurred (I have performed other operations in the middle of the installation and upgrade, but in general it will not affect, for the sake of strict logic, I added "possibility" to the title of the article "). When I use replication again, exceptions will always be caught. The following error information is displayed:
An error occurred while sending the data to the computer running IIS. For more information, see hresult
At the beginning, the root cause of the problem was not cleared. I thought there was a problem with the replication parameter settings. So it took a long time to get it right. Later, Google found the lovely Internet and found the information of a lamp tower.
Reply: Windows Mobile development concise directory (2006.04) mobile 8/11/2006 2:21:00 Delete
When I use activeaync to connect a device to a PDA, I can use a step. After I unmount the device, I want to implement it through the network, that is, let it go through the wireless network (GPRS network ), an error occurred while sending the request to the computer running IIS. for more information, see hresult ".
Why?
It seems like a network connection problem. Is your server a public network server? You can try pie to access the URL of server tools. If it succeeds, it is a problem of the program itself. If it fails, it should be a problem of network configuration.
Also, check "connection" in "Settings" and select whether the network is correct.
This information is from the blog of MA Ning. After reading it, I suddenly realized it. The original problem was not the PPC program, but the network connection problem.
Next, the direction is clear.
Open a notebook and copy the following three rows into XXX. reg (XXX is an arbitrary name). Save the record at the last two points and enter the Registry. After the computer restarts, it will be able to perform other operations.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows CE services]
"Allowlsp" = DWORD: 00000000
Although the solution has been found, why is this problem still not cleared. You can only find this article on the official Microsoft website. Although the problem may be similar, the solution is completely different. Simply put, there are two different problems.
If you want to clear the cause, you can post your comments in the comments.