Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Permissions to execute sp_procedure_params_rowset


Permissions to execute sp_procedure_params_rowset

Author
Message
Cláudio Silva
Cláudio Silva
SSC-Enthusiastic
SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)

Group: General Forum Members
Points: 169 Visits: 547
Hi all!

I have an VB6 aplication which use system stored procedure "sp_procedure_params_rowset" via OLEDB to know the SP's parameters!

This works all good when running on new installation of SQL Server. The users that call the SP are members of Public Role.

I have installed the application at one existing server and I began to have an error because the recordset become empty!

After searching a lot I see that can be a problem with server role permissions (Public) so to try to have the same behavior I DENY EXECUTE TO PUBLIC and when I run the query manually I receive the empty recordset.

My doubt is, how can I discover why at the 2nd server I can't receive queries' results?

I allready see the Public Role permissions and I don't have any DENY to any object Ermm

Can you help me?

Best Regards,

CláudioSil
Cláudio Silva
Cláudio Silva
SSC-Enthusiastic
SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)

Group: General Forum Members
Points: 169 Visits: 547
Question answered!

At server's permissions scope I have an DENY VIEW DEFINITIONS!

As is normal within the database will not have permissions to view the metadata of the system SP!

But if users in the database has db_owner ROLE associated, this restriction no longer exists!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search