Use the Windows Event Viewer in the Administrative Tools group to view messages.
The Description list box defines the Adaptive Server message number as a number and text.