To modify the database connection string, complete the following steps.
- From the [Installation path]\BrainwareApiServer directory, open Web.config in a text editor.
- Search for the <connectionStrings> element.
-
For a SQL Server database, to connect using Windows integrated
security, modify the following values.
- Set Data Source to the required data source.
- Set Initial Catalog to the SQL Server database catalog.
- Remove User ID=<UserID>;Password=<UserPassword>;.
- Set Integrated Security to SSPI.
-
For a SQL Server database, to connect using SQL Server
authentication, modify the following values.
- Set Data Source to the data source.
- Set Initial Catalog to the SQL Server database catalog.
- Set User ID to the service account user ID.
- Set Password to the service account password.
-
For an ORACLE database, modify the following values.
- Set Data Source to the data source.
- Set User ID to the service account user ID.
- Set Password to the service account password.
- Optional. Encrypt the password.
- Save and close the file.