DBAWinnipeg
Programmer
Hey everyone
ok here's the situation... I have a script on Server1 and at the end of the script I call a stored proc via linked server connection to Server2
ie) Server2.database.dbo.proc
what this proc does is BCP's in about 3 million rows of data.
It gets to about 1.2 million rows and then spits out this error:
Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'SQLOLEDB' reported an error. Execution terminated by the provider because a resource limit was reached.
[OLE/DB provider returned message: Timeout expired]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ICommandText::Execute returned 0x80040e31: Execution terminated by the provider because a resource limit was reached.].
So my first instincts told me to check the linked server that is established and check out the ConnectionTimeOut and the QueryTimeOut... but they are both set to 0 (infinite)
Please keep in mind that the goal here is NOT to run a separate script on Server2.
Any ideas?
Thanks in advance!!!
Colin in da 'Peg
ok here's the situation... I have a script on Server1 and at the end of the script I call a stored proc via linked server connection to Server2
ie) Server2.database.dbo.proc
what this proc does is BCP's in about 3 million rows of data.
It gets to about 1.2 million rows and then spits out this error:
Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'SQLOLEDB' reported an error. Execution terminated by the provider because a resource limit was reached.
[OLE/DB provider returned message: Timeout expired]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ICommandText::Execute returned 0x80040e31: Execution terminated by the provider because a resource limit was reached.].
So my first instincts told me to check the linked server that is established and check out the ConnectionTimeOut and the QueryTimeOut... but they are both set to 0 (infinite)
Please keep in mind that the goal here is NOT to run a separate script on Server2.
Any ideas?
Thanks in advance!!!
Colin in da 'Peg