This article explains connecting a Page or an RDL report to a Microsoft SQL Client data source.
data source=10.64.1.107\sql_2k8r2;initial catalog=auditing;user id=sa;password=**********;
The Microsoft SQL Client Data Provider provides the following configuration settings under the Connection section in the Report Data Source dialog. Based on the defined configuration settings, the connection string is generated in the Connection String tab.
The Connection Properties tab describes the configuration settings for the Microsoft SQL Client data provider. It includes details related to server name, type of authentication method, and database name.
Setting | Description |
---|---|
Server name | Enter a server name |
Log on to server | Select whether to use Windows authentication or server authentication which requires a user name and password. Below this field you can also check the Save my password option for future reference. |
Connect to a database | Select whether to enter a database name or attach a database file. |
The Advanced Settings tab gives access to the following properties.
Setting | Description |
---|---|
Application Name | Indicates the client application name. |
Auto Translate | Indicates whether the OEM/ANSI characters are converted. You can set this property to True or False. By default, the value is set to True. If True then SQLOLEDB performs the OEM/ANSI character conversion when multi-byte character strings are retrieved from, or sent to, the SQL Server. |
Current Language | Indicates the SQL Server language name. It also identifies the language used for system message selection and formatting. The language must be installed on the SQL Server, otherwise opening the connection will fail. |
Network Address | Indicates the network address of the SQL Server, specified by the Location property. |
Network Library | Indicates the name of the network library (DLL) used to communicate with the SQL Server. The name should not contain the path or the .dll file name extension. The default name is provided by the SQL Server client configuration. |
Packet Size | Indicates a network packet size in bytes. The Packet Size property value must be between 512 and 32767. By default, the SQLOLEDB network packet size is 4096. |
Trusted Connection | Indicates the user authentication mode. You can set this property to Yes or No. By default, the property value is set to No. If Yes, the SQLOLEDB uses the Microsoft Windows NT Authentication Mode to authorize user access to the SQL Server database, specified by the Location and Datasource property values. If this property is set to No, then the SQLOLEDB uses the Mixed mode to authorize user access to the SQL Server database. The SQL Server login and password are specified in the User Id and Password properties. |
Use Procedure for Prepare | Determines whether the SQL Server creates temporary stored procedures when Commands are prepared by the Prepared property. |
Workstation ID | Denotes a string that identifies the workstation. |