Connection strings vary wildly by the type of processing extensions used in the data set. For example, if you use the OLEDB or ODBC process, you must specify the driver. For SQL Server, you should specify a database name, whereas for Oracle the database name is not required. For XML, just point it to the source by entering a URL in the connection string. In all cases, you should not specify the credentials used in accessing the data source inside the connection string. SSRS stores data source credentials separately. Note If you are developing with a fixed user ID and password for your data source credentials and you happen to use an embedded data source, the user ID and password will not carry over to the Report Server. This is because your machine and the Report Server will undoubtedly have different encryption keys. The following are some common connection strings:
Note When specifying XML as a data source, the credentials should be set to integrated security or "No credentials" for anonymous access. Anything else is ignored.
Note SAP Connector allows SSRS to connect and communicate with SAP Business Objects. SAP Connector is a separate download. Additional information can be found at http://www.microsoft-sap.com/overview_sap_connector.html and http://msdn2.microsoft.com/en-us/library/ms345256.aspx. |