![]() |
VOOZH | about |
In this article, we will guide you through the deployment process of the CData ADO.NET Provider for Active Directory 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 Active Directory 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.
User=cn=Bob F,ou=Employees,dc=Domain;Password=bob123;Server=10.0.1.2;Port=389;
To establish a connection, set the following properties:
BaseDN: This will limit the scope of LDAP searches to the height of the distinguished name provided.
Note: Specifying a narrow BaseDN may greatly increase performance; for example, cn=users,dc=domain will only return results contained within cn=users and its children.
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.
User=cn=Bob F,ou=Employees,dc=Domain;Password=bob123;Server=10.0.1.2;Port=389;
To establish a connection, set the following properties:
BaseDN: This will limit the scope of LDAP searches to the height of the distinguished name provided.
Note: Specifying a narrow BaseDN may greatly increase performance; for example, cn=users,dc=domain will only return results contained within cn=users and its children.
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 Active Directory.
User=cn=Bob F,ou=Employees,dc=Domain;Password=bob123;Server=10.0.1.2;Port=389;
To establish a connection, set the following properties:
BaseDN: This will limit the scope of LDAP searches to the height of the distinguished name provided.
Note: Specifying a narrow BaseDN may greatly increase performance; for example, cn=users,dc=domain will only return results contained within cn=users and its children.
Download a free trial of the Active Directory Data Provider to get started:
Download NowLearn more:
👁 Active Directory IconRapidly create and deploy powerful .NET applications that integrate with Active Directory Users, Groups, Roles, Contacts, and more!