Key: ConnectionString

From Catglobe Wiki
Jump to: navigation, search

<accesscontrol>Main:MyGroup</accesscontrol> 

Key: ConnectionString

Syntax

<add key="ConnectionString" value="connect timeout=10; server=[SERVER]; uid=[USERNAME]; pwd=[PASSWORD]; database=[DATABASE]"/>

where:

[SERVER]: name of the database server.

[USERNAME]: user name which is used for connecting to the SQL Server. This user must have Administrator rights and should be a System Administrator of the server.

[PASSWORD]: password which is used for connecting to the SQL Server for the above mentioned user.

[DATABASE]: name of the database that has been created above.

Purpose

The connection string is used for making a connection to CatGlobe database on the database server.

Whenever this connection string is changed, you must remember to bring the new one to the corresponding Connection_String in the Sites section in Mail module\databases\

This key is required.

Example of key

<add key="ConnectionString" value="connect timeout=10;server= 10.0.0.137;uid=sa; pwd=ndthuan;database=DBHEAD"/>