简体   繁体   English

从dotnet应用程序内部署SSRS报告

[英]deploy SSRS report from within dotnet application

I have a SSRS reporting project with some Datasources and Reports defined. 我有一个SSRS报告项目,其中定义了一些数据源和报告。 I alsohave a VB.NET application, in which the reports are shown. 我也有一个VB.NET应用程序,其中显示了报告。

I would like to embed this project into a deployable application , that I package into one executable, so end users can install the package, and can somehow deploy the reports onto their ReportServer. 我想将此项目嵌入一个可部署的应用程序中,然后将其打包为一个可执行文件,以便最终用户可以安装该程序包,并可以以某种方式将报表部署到他们的ReportServer上。 Probably I also need to provide a way the end user can define the connection string to their Report server? 也许我还需要提供一种最终用户可以定义与其报表服务器的连接字符串的方法?

The same goes with a SSIS package that I have created; 我创建的SSIS包也是如此。 I also want to embed that into the same package. 我也想将其嵌入到同一包中。

So, how can I embed both SSRS and SSIS projects into my VB.NET application? 那么,如何将SSRS和SSIS项目都嵌入到我的VB.NET应用程序中?

Thanks 谢谢

SSRS provides a web service which you can use for these tasks. SSRS提供了可用于这些任务的Web服务。 You would simply capture the base URL to the Reporting Services instance and you can then call the methods on the web service to deploy the reports; 您只需捕获到Reporting Services实例的基本URL,然后就可以在Web服务上调用方法来部署报告。

https://docs.microsoft.com/en-us/sql/reporting-services/report-server-web-service/report-server-web-service?view=sql-server-2017 https://docs.microsoft.com/zh-cn/sql/reporting-services/report-server-web-service/report-server-web-service?view=sql-server-2017

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM