![]() |
VOOZH | about |
In this article, we will guide you through the deployment process of the CData ADO.NET Provider for Cosmos DB on an SQL Server Reporting Services (SSRS) report server. Additionally, you will learn how to establish a shared data source, which facilitates connectivity to real-time Cosmos DB data from various reports. You can then access these shared data sources from the Report Designer within Visual Studio. For detailed instructions on creating datasets in Report Designer using ADO.NET, please refer to the "Using ADO.NET" section in the help documentation.
The provider installation automatically deploys the provider on report servers in native mode. On report servers in SharePoint mode, you can use the install-sprs.ps1 PowerShell script to deploy. Simply run the script from the lib subfolder in the installation directory, or pass in the "path" parameter.
You can create shared data sources directly from a report server or SharePoint site. Alternatively, you can use Report Designer to create shared data sources.
You can use Report Designer to create shared data sources on native mode report servers and report servers on a SharePoint server farm.
AccountEndpoint=myAccountEndpoint;AccountKey=myAccountKey;
To obtain the connection string needed to connect to a Cosmos DB account using the SQL API, log in to the Azure Portal, select Azure Cosmos DB, and select your account. In the Settings section, click Connection String and set the following values:
When you configure the connection, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.
👁 Properties to define a shared data source in Report Designer. (Salesforce is shown.)On native mode installations of report server, you can use Report Manager to create shared data sources. You must have permissions to manage data sources on the report server.
AccountEndpoint=myAccountEndpoint;AccountKey=myAccountKey;
To obtain the connection string needed to connect to a Cosmos DB account using the SQL API, log in to the Azure Portal, select Azure Cosmos DB, and select your account. In the Settings section, click Connection String and set the following values:
Follow the steps below to create a shared data source on a SharePoint site. Note that this step has the following prerequisites in SharePoint 2013:
Follow the steps below to add the report server content types to your library:
You can then create the shared data source. You will create an .rsds file that contains the connection information to Cosmos DB.
AccountEndpoint=myAccountEndpoint;AccountKey=myAccountKey;
To obtain the connection string needed to connect to a Cosmos DB account using the SQL API, log in to the Azure Portal, select Azure Cosmos DB, and select your account. In the Settings section, click Connection String and set the following values:
Download a free trial of the Cosmos DB Data Provider to get started:
Download NowLearn more:
👁 Cosmos DB IconRapidly create and deploy powerful .NET applications that integrate with Cosmos DB document databases.