User guide

Installation & Setup User Guide
revision 143241
Appendix G: Change the Database Owner in SQL Server
Desktop Engine
Since SQL Server Desktop Engine doesn’t provide an interface for accessing the
database engine, use the following procedure to log into the database directly
using the ODBC connection created for B.A.S.I.S.:
1. From the Start menu, select Control Panel > Administrative Tools >
ODBC Data Sources.
a. On the System DSN tab, click [Add…]. Choose “SQL Server” for the
driver.
b. For the ODBC Name, type Master. Choose your database server.
(Description is not needed.) Click [Next].
c. Select the With SQL Server authentication using a login ID and
password entered by user. radio button. For the Login ID, enter “SA”.
Leave the Password field blank. Click [Next].
d. Change the default database to AccessControl. Click [Next].
e. Click [Finish].
2. From the Start menu, select Run. Click [Browse…]. Browse to the
B.A.S.I.S. folder and select the ‘ACCESSDB.exe’ application. Click [Open]
and then [OK] to run this application.
3. From the Management menu, select Datasource > Connect.
a. On the Machine DataSource tab, select “Lenel”. Click [OK].
b. You will be prompted for the database login ID and password. For the
Login ID, enter “SA”. Leave the Password field blank. Click [OK].
c. The screen will return to the main window.
d. From the SQL menu, select Statement. Enter the following statement in
the text box:
sp_changedbowner lenel
Click [Enter] when you are ready to execute the statement.
e. If the command returns highlighted, then it completed without error.
4. Log into a B.A.S.I.S. application and verify that the change was successful.