|
|
Articles
- Replication with ActiveX: Providing on-demand synchronization from client
applications," SQL Server Magazine, July 2003.
- author The sample code as published no longer works properly with version 1.1 of the .NET Framework. Visit my downloads section for updated source code.
- a reader I was able to compile the application but I am having a hard time deploying it to our tablet PC. I have created an install project that
copies the exe and the 2 Interop dlls like the article says. When I run the program, I get an System.Runtime.InteropServices.COMException in the exe.
Do I need to register the dlls in the GAC or do I need to do something else?
- author This exception can occur when the expected COM objects are not registered on the machine. This sample assumes that there is an instance of SQL Server (or at least SQL Server 2000 Desktop Engine) installed on the local machine. I have never tried deployment in a SQL Server-free environment, but according to SQL Server Books Online you would have to deploy and register the following files:
Sqlmergx.dll, Replerrx.dll, Replprov.dll, Replrec.dll, and Sqlwoa.dll If you have a license for an MS product like SQL Server or VS.NET, it is probably easier just to install an instance of Desktop Engine on your Tablet PC.
There is some useful license info on Dekstop Engine at this Web site, http://www.microsoft.com/sql/msde/howtobuy/msdeuse.asp.
Of course, if you install this engine, you have to keep if updated with the lastest SQL Server security patches.
|
 |