Comprehensive data source error messages

Applies to Infiniti v8.1 or later
 
When a connection to a data source fails, the error message is most commonly not displayed to end users for two reasons:
  1. Messages can look unfriendly
  2. Messages can reveal facts that reduce the security of the source

 For the above reasons errors are captured in the Infiniti Database so that they are only viewable by particular users.

These messages can be seen by running the following SQL statement.

SELECT * FROM EventLog ORDER BY DateTime DESC

Example messages:

  • System.Data.OleDb. OleDbException (0x80040E4D): Login failed for user 'infinitiXYZ'.
  • System.Data.OleDb.OleDbException (0x80004005): The Microsoft Jet database engine cannot open the file ''. It is already opened exclusively by another user, or you need permission to view its data.

Keywords

 

login failed data source fail permission error message