在 Reporting Services 中以编程方式创建订阅

发布于 2024-08-23 07:05:14 字数 569 浏览 6 评论 0原文

我需要在 asp.net 页面中为我的 SSRS 报告创建订阅。 我可以使用 Reporting.WebForms 在报表查看器中显示报表。 SSRS 位于我网络中的另一台计算机上。对于reportviewer,我使用“admin”和“pass”作为凭据,这是SSRS计算机的管理员用户名和密码,这是可以的。管理员拥有 SSRS 报告的所有角色。

但是,当我尝试通过 ReportingService2006 Web 服务 createSubscription 时,我无法成功。 我不是专业人士,也不是业余爱好者。在网上搜索了很多。

尝试了这个和这个的odetocode版本:

1. technet - 类似 1

但未能实现。真的很感谢任何帮助。提前谢谢。

I need to create a subscription for my SSRS reports in an asp.net page.
I can show the reports in a reportviewer using Reporting.WebForms.
SSRS is on the another computer in my network. For reportviewer, I use "admin" and "pass" for credentials which is the SSRS machine's admin username and password and it's ok. And admin has all the roles for SSRS reports.

But when I try to createSubscription via ReportingService2006 web service I can't make it.
I'm not a professional nor amateur. searched the web a lot.

tried this and the odetocode version of this:

1. technet - something similar 1

But couldn't make it happen. Really appriciate any help. thx in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

折戟 2024-08-30 07:05:14

另一种方法是使用“数据驱动订阅”来设置一些报告。我发现如果您要对报告订阅进行大量更新,管理此操作非常容易。它将允许您通过自定义 SQL 表与用户订阅进行交互。

您可以在此处找到有关数据驱动订阅设置的 MSDN 教程

An alternative would be to setup some of your reports using "Data driven subscriptions". I find its pretty easy to manage this if your going to be doing alot of updates to your report subscriptions. It will allow you to interact with user subscriptions via a custom SQL table.

You can find a MSDN tutorial on setup for Data driven subscriptions here

红ご颜醉 2024-08-30 07:05:14

这里有一篇很好的文章和源代码,这是我迄今为止找到的有关该主题的最佳信息。

http://www.codeproject.com/Articles/36009/Programmatically -Playing-With-SSRS-Subscriptions

这里还有一个类参考

http://msdn.microsoft.com/en-us/library/ms165967%28v=sql.90%29

There is a good article and source code here, it's the best info on this topic I've found so far.

http://www.codeproject.com/Articles/36009/Programmatically-Playing-With-SSRS-Subscriptions

There is also a class reference here

http://msdn.microsoft.com/en-us/library/ms165967%28v=sql.90%29

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文