Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

procedure problem
I tried to run a procedure SQL2005 and it gives me the following error:

Msg 7391, Level 16, State 2, Procedure  EAI_ADM_STUDENT_ins_
upd_trg, Line 804

The operation could not be performed because OLE DB provider "SQLNCLI" for
linked server "10.2.0.119" was unable to begin a distributed transaction.

Can anyone please tell me how to fix? Thanks.



Report this thread to moderator Post Follow-up to this message
Old Post
-000MJ
11-28-06 05:12 AM


Re: procedure problem
Have you enabled remote connection on SQL Server 2005?
Do you have ping to the server?


"-000MJ" <mj@yahoo.com> wrote in message
 news:%23J%234$4qEHHA
.2328@TK2MSFTNGP02.phx.gbl...
>I tried to run a procedure SQL2005 and it gives me the following error:
>
> Msg 7391, Level 16, State 2, Procedure  EAI_ADM_STUDENT_ins_
upd_trg, Line
> 804
>
> The operation could not be performed because OLE DB provider "SQLNCLI" for
> linked server "10.2.0.119" was unable to begin a distributed transaction.
>
> Can anyone please tell me how to fix? Thanks.
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Uri Dimant
11-28-06 10:16 AM


Re: procedure problem
I did try to do the manual update query on a table in my server using script
to the linked server and it works. But it only not works in this procedure.
Strange!

"Uri Dimant" <urid@iscar.co.il> wrote in message
news:OfQ%235drEHHA.5028@TK2MSFTNGP03.phx.gbl...
> Have you enabled remote connection on SQL Server 2005?
> Do you have ping to the server?
>
>
> "-000MJ" <mj@yahoo.com> wrote in message
>  news:%23J%234$4qEHHA
.2328@TK2MSFTNGP02.phx.gbl... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
-000MJ
11-28-06 10:16 AM


Re: procedure problem
How do you call stored procedure? from an appliaction?




"-000MJ" <mj@yahoo.com> wrote in message
news:O6jlWHsEHHA.3660@TK2MSFTNGP06.phx.gbl...
>I did try to do the manual update query on a table in my server using
>script to the linked server and it works. But it only not works in this
>procedure. Strange!
>
> "Uri Dimant" <urid@iscar.co.il> wrote in message
> news:OfQ%235drEHHA.5028@TK2MSFTNGP03.phx.gbl... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Uri Dimant
11-28-06 10:16 AM


Re: procedure problem
Hi

Did you explicitly start a distributed transaction in the stored procedure?

John

"-000MJ" wrote:

> I did try to do the manual update query on a table in my server using scri
pt
> to the linked server and it works. But it only not works in this procedure
.
> Strange!
>
> "Uri Dimant" <urid@iscar.co.il> wrote in message
> news:OfQ%235drEHHA.5028@TK2MSFTNGP03.phx.gbl... 
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
John Bell
11-28-06 10:16 AM


Re: procedure problem
I have used this:

set xact_abort on

begin distributed tran

Is this what you mean?



"John Bell" < jbellnewsposts@hotma
il.com> wrote in message
news:D17738A3-6BCB-48BC-A9DE- 8992E52AEAF8@microso
ft.com...
> Hi
>
> Did you explicitly start a distributed transaction in the stored
> procedure?
>
> John
>
> "-000MJ" wrote:
> 



Report this thread to moderator Post Follow-up to this message
Old Post
-000MJ
11-29-06 05:12 AM


Re: procedure problem
I am really stuck on this problem. Can anyone please help? Thanks.

"-000MJ" <mj@yahoo.com> wrote in message
news:uNoWeD3EHHA.3396@TK2MSFTNGP02.phx.gbl...
>I have used this:
>
> set xact_abort on
>
> begin distributed tran
>
> Is this what you mean?
>
>
>
> "John Bell" < jbellnewsposts@hotma
il.com> wrote in message
> news:D17738A3-6BCB-48BC-A9DE- 8992E52AEAF8@microso
ft.com... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
-000MJ
11-30-06 10:17 AM


Re: procedure problem
Actually let me elaborate more. This procedure is a trigger which I update a
linked server and this is working very good in SQL 2000. But after I migrate
the database to SQL 2005. The trigger is not working with linked server any
more. I remember I need to start the distributed transaction coordinator in
service manager. But I couldn't find anything similar to this in SQL 2005.
Is it somewhere I need to start? Please help. Thanks.


"-000MJ" <mj@yahoo.com> wrote in message
news:uNoWeD3EHHA.3396@TK2MSFTNGP02.phx.gbl...
>I have used this:
>
> set xact_abort on
>
> begin distributed tran
>
> Is this what you mean?
>
>
>
> "John Bell" < jbellnewsposts@hotma
il.com> wrote in message
> news:D17738A3-6BCB-48BC-A9DE- 8992E52AEAF8@microso
ft.com... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
-000MJ
11-30-06 10:17 AM


Re: procedure problem
Can anyone please help?


"-000MJ" <mj@yahoo.com> wrote in message
news:O44nqqEFHHA.4432@TK2MSFTNGP03.phx.gbl...
> Actually let me elaborate more. This procedure is a trigger which I update
> a linked server and this is working very good in SQL 2000. But after I
> migrate the database to SQL 2005. The trigger is not working with linked
> server any more. I remember I need to start the distributed transaction
> coordinator in service manager. But I couldn't find anything similar to
> this in SQL 2005. Is it somewhere I need to start? Please help. Thanks.
>
>
> "-000MJ" <mj@yahoo.com> wrote in message
> news:uNoWeD3EHHA.3396@TK2MSFTNGP02.phx.gbl... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
-000MJ
12-01-06 12:14 AM


Re: procedure problem
Hi

Check out http://msdn2.microsoft.com/en-us/library/ms143698.aspx

John

"-000MJ" wrote:

> Actually let me elaborate more. This procedure is a trigger which I update
 a
> linked server and this is working very good in SQL 2000. But after I migra
te
> the database to SQL 2005. The trigger is not working with linked server an
y
> more. I remember I need to start the distributed transaction coordinator i
n
> service manager. But I couldn't find anything similar to this in SQL 2005.
> Is it somewhere I need to start? Please help. Thanks.
>
>
> "-000MJ" <mj@yahoo.com> wrote in message
> news:uNoWeD3EHHA.3396@TK2MSFTNGP02.phx.gbl... 
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
John Bell
12-01-06 12:14 AM


Sponsored Links





Last Thread Next Thread
Pages (3): [1] 2 3 »
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 08:35 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006