Share via


Data Access Application Block Event Log Entries

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

The Data Access Application Block is instrumented to log entries to the application event log for a variety of events.

This topic lists the Data Access Application Block event log entries. The listener is the class that raised the event. The event is the name of the event. The exception is the Boolean value of the exception. The main message is the main error message.

Listener: DataInstrumentationListener

  • Event: ConnectionFailed
  • Exception: true
  • Main message: The error occurred using the instance name database instance while attempting to open the database connection.
  • Additional information: The connection string used was connection string.

Listener: DefaultDataEventLogger

  • Event: ConfigurationError
  • Exception: true
  • Main message: A configuration failure occurred while creating database database.