简体   繁体   English

Reporting Services:使用过程作为dataSet?

[英]Reporting Services: Use procedure as dataSet?

I'm starting with Reporting Services. 我从Reporting Services开始。 I have SQL 2008 R2 Standard running. 我运行SQL 2008 R2 Standard。 Reporting Services is up & running on the same server. Reporting Services已在同一服务器上运行。

I created a stored procedure which takes one int as a parameter. 我创建了一个存储过程,它将一个int作为参数。 In SQL Server, I have no problem running this as user "A". 在SQL Server中,运行此用户“A”没有问题。

I created a shared connection to SQL (with the sql user A), and I'm creating an embedded dataset. 我创建了一个与SQL的共享连接(使用sql用户A),我正在创建一个嵌入式数据集。 When I click on the "Stored procedure" radio button, I must fill in some information. 当我点击“存储过程”单选按钮时,我必须填写一些信息。 I set the windows user which is authorized to connect to Reporting Services. 我设置了有权连接到Reporting Services的Windows用户。

After this, I have a list of stored procedures, but not the one I created: 在此之后,我有一个存储过程列表,但不是我创建的那个: 存储过程列表

But I've set all the permissions for user A: 但我已为用户A设置了所有权限: TestProcedureSubjectUsage

What am I missing? 我错过了什么?

I created my stored procedure before I created my project. 我在创建项目之前创建了存储过程。

It sounds like a permissions issue. 这听起来像是权限问题。 Check the credentials you're using in the DataSource (not the DataSet) - it will need to be "UserA" or you'll need to assign permissions to the DataSource login. 检查您在DataSource(而不是DataSet)中使用的凭据 - 它需要是“UserA”,或者您需要为DataSource登录分配权限。

我最后通过指定自己的程序名称结束,它工作,它只是无法在列表中显示它们。

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

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