-
Backup your BizTalk Server databases.
-
Archive the BizTalk Tracking (BizTalkDTADb) database.
-
Open Services. Click Start, click Run, and then type services.msc.
-
Right-click each of the following services, and then click Stop:
-
BizTalk Base EDI Service
-
Enterprise Single Sign-On Service
-
Rule Engine Update Service
-
Click Start, click Programs, click Microsoft BizTalk Server 2006, and then click BizTalk Server Administration.
-
In the BizTalk Server Administration Console, double-click the BizTalk Group, double-click Platform Settings, and then double-click Host Instances.
-
In the details pane, right-click each running host instance, and then click Stop.
-
Click Start, click Run, type cmd, and then click OK.
-
At the command prompt, type:
net stop iisadmin /y
This stops the IIS Admin Service and all dependent services, one-by-one and prevents new data from being written to the BizTalkDTADb while data is being purged. Write down the list of services as each one is stopped. You will need to use this list of services later when you restart IIS.
Below is an example of the output you will see after issuing this command (the dependent services listed on your computer may vary):
The following services are dependent on the IIS Admin Service service. Stopping the IIS Admin Service service will also stop these services.
World Wide Web Publishing Service
HTTP SSL
-
Click Start, click Programs, click Microsoft SQL Server 2005, and then click SQL Server Management Studio.
-
In the Connect to Server dialog box, specify the name of the SQL server where the BizTalk Tracking (BizTalkDTADb) database resides and the appropriate authentication type, and then click Connect to connect to the appropriate SQL server.
-
In Microsoft SQL Server Management Studio, double-click Databases, double-click the BizTalkDTADb database, double-click Programmability, and then click Stored Procedures.
-
In the details pane, right-click dtasp_PurgeAllCompletedTrackingData, and then click Execute Stored Procedure.
-
In the Execute Procedure dialog box, click OK.
This stored procedure deletes all tracking data associated with completed instances regardless of their completion time.
-
Open Services. Click Start, click Run, and then type services.msc.
-
Right-click each of the following services, and then click Start:
-
BizTalk Base EDI Service
-
Enterprise Single Sign-On Service
-
Rule Engine Update Service
-
Click Start, click Programs, click Microsoft BizTalk Server 2006, and then click BizTalk Server Administration.
-
In the BizTalk Server Administration Console, double-click the BizTalk Group, double-click Platform Settings, and then double-click Host Instances.
-
In the details pane, right-click each stopped host instance, and then click Start.
-
Click Start, click Run, type cmd, and then click OK.
-
At the command prompt, restart each of the IIS services that you stopped in step 6. Type:
net start <IISserviceName>
Where <IISserviceName> is the name of the IIS service you want to restart. You must repeat this command for each of the IIS services.