The current system involves synchronization between the sqlce on the PDA and the SqlServer2005 on the pc, and adopts the combined replication method, however, the program was debugged yesterday to find that the pda can download data from the host, but the data on the pda cannot be sent to the host database. The error is: "An error occurred while sending the data to the computer running IIS. for more information, see HRESULT ".
At first, I thought it was a program problem. After a long time, I thought it was impossible for the program to have a problem. Then I began to check the server configuration and repeatedly tried to solve the problem for a long time, baidu, csdn search, a large number of web pages, not useful, thoroughly depressed, and later found an article on Microsoft's website, when accessing server 2003, with the last line of hope, I searched related webpages using Google and found an article titled:
Create a new text document with the suffix. reg and the content is:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows CE Services]
"AllowLSP" = dword: 00000000
Save and double-click Import registry to restart.
The problem has been solved and the reason is not clear. Leave it for future study.