#
Configuring Database Connection Strings
The Database Connection Strings file contains the settings for SQL and OLAP database connections.
Do not alter the format of the contents of the file. The file uses a static format and altering the format might cause malfunctions.
Go to the Configuration directory, located by default in
C:\Program Files\OpeniT\Analysis Server\Configuration
.Open the
ConnectionStrings.config
configuration file.The file contains add entries.
Example<connectionStrings> <add name="SqlServer" providerName="System.Data.SqlClient" connectionString="Data Source=MNL164WIN;Initial Catalog=9611; Integrated Security=True; MultipleActiveResultSets=True;"/> <add name="OlapServer" providerName="Microsoft.AnalysisServices.AdomdClient" connectionString="data source=MNL164WIN;initial catalog=9611"/> <add name="TabularServer" providerName="Microsoft.AnalysisServices.AdomdClient" connectionString="Data Source=MNL3206WIN\SQL2019STAB; Initial Catalog=Tabular;"/> <add name="AasSqlServer" connectionString="Data Source=asazure://centralus.azure.windows.net/astabular; Initial Catalog=OpeniT;"/> </connectionStrings>
SqlServer
The entry containing database connection details for SQL Server with the following attributes:providerName
The name of the provider used in accessing the data. The default value is System.Data.SqlClient.connectionString
The string that specifies the database connection details.SQL Server Connection String
OlapServer
The entry containing database connection details for OLAP Server with the following attributes:providerName
The name of the provider used in accessing the data. The default value is Microsoft.AnalysisServices.AdomdClient.connectionString
The string that specifies the database connection details.OLAP Server Connection String
TabularServer
The entry containing database connection details for Tabular Server with the following attributes:providerName
The name of the provider used in accessing the data. The default value is Microsoft.AnalysisServices.AdomdClient.connectionString
The string that specifies the database connection details.Tabular Server Connection String
AasSqlServer
The entry containing database connection details for Azure Sql Server with the following attributes:connectionString
The string that specifies the database connection details.Azure Sql Server Connection String
Modify the desired entry with a valid value.
Save the changes.