Partager via


Data Access Application Block Event Log Entries

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.

Connection Failed Event

Event

Description

Event Name

ConnectionFailed.

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

DataInstrumentationListener.

Command Executed Event

Event

Description

Event Name

CommandExecuted.

Message

The operation that was in progress when the error occurred.

Additional Information

The time that the command was executed.

Listener

DataInstrumentationListener.

Command Failed Event

Event

Description

Event Name

CommandFailed.

Message

The operation that was in progress when the error occurred.

Additional Information

The connection string used was connection string.

Listener

DataInstrumentationListener.

Data Configuration Failure Event

Event

Description

Event Name

ConfigurationError.

Message

A configuration failure occurred while creating database database.

Additional Information

The connection string used was connection string.

Listener

DefaultDataEventLogger.