Home All Groups Group Topic Archive Search About

Insert failing with RPC call between 2 SQL 2000 boxes

Author
10 Nov 2005 11:47 PM
Steve
Hi,
After following the Books Online instructions to setup a remote procedure
call:
"How to set up a remote server to allow the use of remote stored procedures
(Transact-SQL)"
The 2 boxes are in same WORKGROUP and sa passwords are the same.

I can execute SQLServer2.SP1 from SQLServer1 no problems and returns rows.
ie  exec [SQLServer2].[db].dbo.SP1

As soon as I try to do this:-
  insert #tmptable(field1,field2....)
    exec [SQLServer2].[db].dbo.SP1

.... I get "MSDTC on server 'SQLServer2' is unavailable." everytime.

It must be having some sort of trouble with the implicit transaction part of
this statement BUT dont know how to fix it.

Can someone please help, I've tried everything

Author
11 Nov 2005 12:11 AM
ML
The first thing to check would be whether the DTC service is up and running.

You can do it via the SQL Server Service Manager.


ML
Author
11 Nov 2005 12:17 AM
Steve
ahh, sorry. and YES, MSDTC service is up and running

Show quote
"ML" wrote:

> The first thing to check would be whether the DTC service is up and running.
>
> You can do it via the SQL Server Service Manager.
>
>
> ML

AddThis Social Bookmark Button