Bosch DCN multimedia 1.41 Release Notes page 14

Table of Contents

Advertisement

DCN multimedia Release Notes 1.41
4.7.8.2
SQL authentication example
In this example we like to connect to remote SQL server named SQLENT2 on machine SQLSRV
using SQL authentication. The user name and password to use are respectively: DcnmUser and
P@ssw0rd. The database to use is ConfHallE53. The result changes configuration will be (the
changes elements against the default are marked):
<Bosch.Dcnm.Services.Properties.Settings>
<setting name="DbConnectionString" serializeAs="String">
<value>metadata=res://*; provider=System.Data.SqlClient;provider
connection string="Data Source=\\SQLSRV\SQLENT2;Initial
Catalog=ConfHallE53;User
ID=DcnUser;Password=P@ssw0rd;MultipleActiveResultSets=True";</value>
</setting>
</Bosch.Dcnm.Services.Properties.Settings>
Note that in this situation the term Integrated Security=True is removed.
Database creation:
Remote:
DcnmDatabaseConsole –s \\SQLSRV\SQLENT2 -d ConfHallE53 -n
On target:
DcnmDatabaseConsole –s .\SQLENT2 -d ConfHallE53 -n
4.7.8.3
SQL authentication example to default instance
This example is equal to the previous version, but instant of a defined instance, we like to connect
to the default SQL server instance.
In this example we like to connect the default SQL server on machine SQLSRV using SQL
authentication. The user name and password to use are respectively: DcnmUser and P@ssw0rd.
The database to use is ConfHallE53. The result changes configuration will be (the changes
elements against the default are marked):
<Bosch.Dcnm.Services.Properties.Settings>
<setting name="DbConnectionString" serializeAs="String">
<value>metadata=res://*; provider=System.Data.SqlClient;provider
connection string="Data Source=\\SQLSRV;Initial Catalog=ConfHallE53;User
ID=DcnUser;Password=P@ssw0rd;MultipleActiveResultSets=True";</value>
</setting>
</Bosch.Dcnm.Services.Properties.Settings>
Note that in this situation the term Integrated Security=True is removed.
Database creation:
Remote:
DcnmDatabaseConsole –s \\SQLSRV -d ConfHallE53 -n
On target:
DcnmDatabaseConsole –s . -d ConfHallE53 -n
Bosch Security Systems| 2015-02-24
14

Advertisement

Table of Contents
loading

Table of Contents