How to Capture StoredProcedure Errors into Application

Recently I have been working on data access layer and wondering how to capture raise errors of stored procedure.

I realized we can't capture stored procedure error if dataset being used in application. In order to capture stored procedure error, application should use Data Reader instead of Data Adapter.

Ref: http://support.microsoft.com/kb/811482

Thanks,
-Venu.

Comments

Popular posts from this blog

Windows Azure Package Build Error: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

Resource ID : 1. The request limit for the database is 180 and has been reached.

How to get Client's Location using IPAddress