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
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Trapping and Displaying SQL Errors Messages in ASP

Author  Topic 

matt_calhoon
Posting Yak Master

235 Posts

Posted - 2000-12-28 : 19:10:08
Hi There,

Does anyone know how to trap an error response in SQL server and then display that error on an ASP page?

For eg, say I wanted to display this error message on an ASP page:

Server: Msg 7619, Level 16, State 1, Line 1
The query contained only ignored words.

Any ideas would be appreciated.

- matt

   

- Advertisement -