I can't execute my stored procedure from .NET (I think it might be
because the stored proc has joins in it via linked servers). I get
timeout error from .NET
MyBase.connStri ng ="Integrated Security=SSPI;P ersist Security
Info=False;Init ial Catalog=DB;Data Source=Server;"
MyBase.selectSt ring = "Exec sp_storedproced ure1 var1,var2,var3"
MyBase.GetDataS et()
The stored procedure takes the 3 arguments and uses joins to 2 other
db-servers that I have access to via linked server connections. (MS SQL
Server)
I can run the stored proc on in QA on my MS SQL with no prob.
Must i open connections to the 2 linked servers from .NET as well?
Glad for any opinions so i dont have to rewrite my sp,
Mikael
because the stored proc has joins in it via linked servers). I get
timeout error from .NET
MyBase.connStri ng ="Integrated Security=SSPI;P ersist Security
Info=False;Init ial Catalog=DB;Data Source=Server;"
MyBase.selectSt ring = "Exec sp_storedproced ure1 var1,var2,var3"
MyBase.GetDataS et()
The stored procedure takes the 3 arguments and uses joins to 2 other
db-servers that I have access to via linked server connections. (MS SQL
Server)
I can run the stored proc on in QA on my MS SQL with no prob.
Must i open connections to the 2 linked servers from .NET as well?
Glad for any opinions so i dont have to rewrite my sp,
Mikael
Comment