Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling a COM object on a different server

Status
Not open for further replies.

Badgers

Programmer
Nov 20, 2001
187
US
Help,

I have realised you can call COM objects from DTS scripts
within SQL server, my problem is that how do you call a
COM object on a different server ?

The code :

dim oCalc
Set oCalc = CreateObject("Projectid.ClassId","ServerName")

When ever I put the server name the script falls over,
could it be permissions of some kind ?

 
Proxy stub ?

Well ur, the component is installed in MTS. I've found an instance of the object is created, but when the function call is required it returns Permission denied.

I have looked at the security of MTS and allowed just about every man and dog access to the component, but I still get the same error ?

Any ideas would be a great help.

 
Is the Component running under a domain account?
Is the account on the client end a domain account?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top