Getting error from store procedure ????

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all,

I am building a multi tiers application based on .-NET 2.0 and SQL server 2005
WHast is the best way to return data access error from the datalayer to
layer above...??

How to return erro to client call from strore procedure ?

Thnaks for help
regard
serge
 
I was thinking of it but was wondering if it was the common and best way to
do it in a distributed environement ..
is it the case ?

regards
serge
 
calderara,

I would use custom exceptions and make them serializeable so that the
exception can also used in an distributed environment, like webservices or
remoting.

Hope this helps,


Steve
 
Back
Top