Enterprise Library Logging Block and MSMQ Part 1 Setting up the Database

The Enterprise Library comes with the databases scripts.

The Logging Database script can be found in the Code folders under the Logging block node.

Log Database Script Location

Execute the script inside SMS and you will get the following DB structure :

Log Database Schema

The log table can be customized.

Define the right access on the database, based on a service user.