简体   繁体   中英

Reporting Services: Use procedure as dataSet?

I'm starting with Reporting Services. I have SQL 2008 R2 Standard running. Reporting Services is up & running on the same server.

I created a stored procedure which takes one int as a parameter. In SQL Server, I have no problem running this as user "A".

I created a shared connection to SQL (with the sql user A), and I'm creating an embedded dataset. 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.

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: 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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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