![]() |
![]() |
![]() |
Migration Reference > Migrating from MSDE to SQL Server 2008 R2 Express
|
For more about osql commands mentioned in these instructions, see Microsoft knowledge base article 325003 (http://support.microsoft.com/kb/325003), "How to manage the SQL Server Desktop Engine (MSDE 2000) or SQL Server 2005 Express Edition by using the osql utility."
|
2.
|
On the Log Server machine, use the Windows Services dialog box (Start > Administrative Tools > Services) to stop the Websense Log Server service.
|
1.
|
Start SQL Server Management Studio (Start > All Programs > Microsoft SQL Server 2008 R2 > SQL Server Management Studio.
|
3.
|
4.
|
In the Restore Database dialog box:
|
a.
|
b.
|
c.
|
d.
|
Under Select the backup sets to restore, select the Restore check box for the database that was entered above.
|
e.
|
Under Select a page (upper left of screen) select Options and verify the Restore As directory is correct. Also, make sure the currently logged-in user has write permissions for that directory path.
|
f.
|
Select OK to restore.
|
g.
|
6.
|
2.
|
On the Log Server machine, use the Windows Service Control Manager to stop Websense Log Server.
|
3.
|
On the MSDE machine, use the Windows Service Control Manager to stop the MSSQLSERVER service (this stops MSDE).
|
2.
|
On the Log Server machine, use the Windows Service Control Manager to stop Websense Log Server.
|
1.
|
Start SQL Server Management Studio (Start > All Programs > Microsoft SQL Server 2008 R2 > SQL Server Management Studio
|
3.
|
4.
|
In the Attach Databases dialog box, select database files:
|
a.
|
b.
|
In the Locate Database Files dialog box, navigate to and then select the wslogdb70.mdf file you created in MSDE.
|
c.
|
d.
|
5.
|
Click OK.
|
6.
|
a.
|
On the Log Server machine, open the ODBC Data Source Administrator (Administrative Tools > Data Sources (ODBC)).
|
b.
|
On the System DSN tab, select the Websense database (by default wslogdb70), and then click Configure.
|
c.
|
On the first screen in the Microsoft SQL Server DSN Configuration wizard, for Server, select the SQL Server Express instance on the SQL Server Express machine, either default instance (host name of SQL Server Express machine) or TRITONSQL2K8R2X.
|
a.
|
Open the Log Server Configuration utility (Start > Programs > Websense > Utilities > Log Server Configuration) and select the Database tab.
|
b.
|
Click the Connection button.
|
c.
|
e.
|
Click Apply in the Log Server Configuration tool to save the change.
|
f.
|
3.
|
Click OK to close the Log Server Configuration tool.
|
![]() |
![]() |
![]() |
Migration Reference > Migrating from MSDE to SQL Server 2008 R2 Express
|