RE: Interop.SQLMERGXLib.dll
From: Siu (Siu_at_discussions.microsoft.com)
Date: 02/03/05
- Next message: mohd ahmed: "USE sql server client on the remote"
- Previous message: Nitin: "Truncate Published Table."
- In reply to: Paul Ibison: "Interop.SQLMERGXLib.dll"
- Next in thread: Paul Ibison: "RE: Interop.SQLMERGXLib.dll"
- Reply: Paul Ibison: "RE: Interop.SQLMERGXLib.dll"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 3 Feb 2005 00:21:03 -0800
Hi Paul,
I didn't find sqlmergx.dll in the path that you have written, so I've copied
one from another SQL Server installation and then registered it with
regsrvr32: the registration succeded but when I launch my procedure I obtain
the following error:
... Check to see if the component is registered correctly
although the registration is correct.
I precise that I have already done all your suggestion that you have
explained.
Can you still help me?? I precise also that on my computer I've installed
only MSDE and not all SQL Server....
"Paul Ibison" wrote:
> It should be in c:\program files\microsoft sql server\80
> \com\
>
> However it is not prefixed with Interop.
>
> Inside the Visual C# .NET project, you add a reference to
> the Microsoft SQL Merge Control 8.0 COM object, and then
> add the following code:
> using System;
> using System.Runtime.InteropServices;
> using SQLMERGXLib;
>
> As far as I recall, adding the reference imports the type
> library, so assuming the COM object is registered (it
> should be from the SQL Installation) there's no need to
> use regsvr32.exe
>
> HTH,
> Paul Ibison
>
- Next message: mohd ahmed: "USE sql server client on the remote"
- Previous message: Nitin: "Truncate Published Table."
- In reply to: Paul Ibison: "Interop.SQLMERGXLib.dll"
- Next in thread: Paul Ibison: "RE: Interop.SQLMERGXLib.dll"
- Reply: Paul Ibison: "RE: Interop.SQLMERGXLib.dll"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|