I run an application with an .asp front end (classic asp) and an sql server back end. I try to prevent the users from creating sql that will return an error. But in spite of my safeguards they still make mistakes. You have all seen error messages but here is an example~
Microsoft OLE DB Provider for SQL Server error '80040e2f'
Violation of PRIMARY KEY constraint 'PK_audit_company1'. Cannot insert duplicate key in object 'audit_company'.
/[folderName]/[folderName]/[folderName]/[webPage].asp, line 74
When they get one of these messages THEY USUALLY CLOSE THEIR BROWSER. This is driving me CRAZY because I never get to see the message. Is there a log somewhere that stores these messages? And if a log does not already exist, could I somehow make one?
Microsoft OLE DB Provider for SQL Server error '80040e2f'
Violation of PRIMARY KEY constraint 'PK_audit_company1'. Cannot insert duplicate key in object 'audit_company'.
/[folderName]/[folderName]/[folderName]/[webPage].asp, line 74
When they get one of these messages THEY USUALLY CLOSE THEIR BROWSER. This is driving me CRAZY because I never get to see the message. Is there a log somewhere that stores these messages? And if a log does not already exist, could I somehow make one?