MSSQL Server Reporting Services: Black Belt Administration: Prepare the Execution Log for Reporting - Page 3

January 18, 2005

Hands-On Procedure


Create a Folder and Populate it with the Components We Will Need

To prepare for our session with the Execution Log, we will create a folder to house the DTS package to which we have referred earlier, along with other files that we will need to complete our practice exercise. Working with copies of the files will mean that we can comfortably proceed in a practice environment without concern about "returning things to the way they were," should we later wish to perform similar exercises in our development or production environments (where it would obviously be appropriate to maintain proper source control over the respective objects). The folder can be created anywhere on the PC that is convenient from a local perspective.

1.  Right-click Start.

2.  Select Explore to launch Windows Explorer.

3.  Navigate to a convenient place to create the folder that will contain the "collateral" for our practice session.

4.  Create a folder named as follows:


The folder appears similar to that depicted in Illustration 1.

Illustration 1: New Folder in Place to House Lesson Components

5.  Navigate to the following folder (or it's equivalent, if your installation differs from default):

C:\Program Files\Microsoft SQL Server\80\Tools\Reporting Services\ExecutionLog

The folder should contain the following four files:

  • cleanup.sql
  • createtables.sql
  • rsexecutionlog_update.dts
  • rsexecutionlog_update.ini

6.  Using SHIFT+Click, select all four files noted above.

7.  Right-click the highlighted selection.

8.  Select Copy from the context menu that appears, as shown in Illustration 2.

Illustration 2: Select Copy from the Context Menu

9.  Navigate to, and enter, the RS013 folder we created above.

10.  Right-click within the folder.

11.  Select Paste from the context menu that appears, as depicted in Illustration 3.

Illustration 3: Placing Copies of the Components into the New Folder

Copies of the four files appear in the new folder.

We are now ready to create a database to house the data from the Execution Log. In doing so, we will make use of the files we have placed in the folder we created in this step.