Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 debug sp urgenttttttttt

Author  Topic 

pkuchaliya
Starting Member

49 Posts

Posted - 2008-07-17 : 06:31:33
hi,

I want to debug the sql procedure through C#.net. because when i execute the procedure in sql server 2005 then it return the value. but when i call this procedure in c#.net ,it does not show any error but don't show the value. even i pass the same argument.

Please help

pankaj

sunsanvin
Master Smack Fu Yak Hacker

1274 Posts

Posted - 2008-07-17 : 08:31:58
r u working through linked server? or directly from the same server?

Arnav
Even you learn 1%, Learn it with 100% confidence.
Go to Top of Page

pkuchaliya
Starting Member

49 Posts

Posted - 2008-07-17 : 10:04:05
I m working in linked server

pankaj
Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2008-07-17 : 10:58:31
Then you are not setting parameters or processing the return value correctly in C#. If it works when calling it manually in T-SQL, but not in C#, then you have an issue with your C# code and you need to debug THAT, not your T-SQL code. Makes sense?

- Jeff
http://weblogs.sqlteam.com/JeffS
Go to Top of Page
   

- Advertisement -