Getting error from store procedure ????

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
 
G

Guest

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
 
P

PlatinumBay

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top