TABLE OF CONTENTS
For Reports deployment, you need to follow the below steps.
Right-click on the “Znode.Libraries.Report” project from Solution Explorer. Select Properties.
In the “TargetReportFolder”, You can give any name to the report folder. After deployment, All reports get created in the same folder on the reporting server.
In “TargetServerURL”, You need to give the Target Server URL. For that please refer to the below image:
For Reference to the URL, You can go with the following steps.
Open SQL Server Reporting Server Configuration Manager.
Go to Report Manager URL, Copy URLs and paste it into the TargetServerURL.
Give any name in the TargetReportPartFolder.
In Report Library, Double click on Shared Data Sources
In General Tab - Connection String, give your Data Source and Database name.
Open the Credentials Tab, Click on Use this user name and password and enter the Database login Credentials.
In Report Library, Double click on Shared Datasets.
Please make sure to assign the correct data source to the dataset.
Right Click ZNode.Libraries.Report and Click on Deploy. Your reports will get deployed.
In case you face any problem after deploying reports then you need to verify the access permissions to the data source and datasets folder.
In case you don’t have permissions then you need to create a particular user then you can deploy the reports.
You can deploy any particular report also. Right-click on a particular report and click on deploy. Your reports will get deployed.
If reporting services are configured, then add the settings below in Admin and API’s Web. config file.
Changes to Admin Web.config File
Once the report server is configured, below settings need to be added in the Web.configfile Admin site:
Report server connection string. Please find the name“ZNodeReportDB” and add the connection string of report DB in the same.
Add the report server URL, Username, and Password in the web.config file as per the above screenshot.
Next, mention the name of the report server folder where the reports will reside.The current screen shows there the port structure of the Znode’s QA environment.(You can keep the structure as it is as it will be accessible in your environment only.)
Changes to API Web.config File
In the same manner that we did in Admin’s web.config, we have to add the setting in
API sites web.config file
Please add the proper connection string in the web.config file of the API site.
Provide the URL, username, domain name, password used for reporting services.
Provide ZnodeReportFolderName , Same we have given in the properties of report.
Provide the folder names where the reports need to be saved on the reporting server.
Similarly, if the DataSet name is changed then that name has to be replaced in the web.config file of the API site. This report data set name should be similar to the dataset name which is available in the library named “Znode.Libraries.Reports → Shared Data Sources” folder