Follow sqlserver-dba.com

Subscribe to RSS feed  Follow @jackvamvas - Twitter

*Use the Comments section for questions

SQLServer-DBA.com Links

Dba_db2_button

dba-ninja.com

SQL Server DBA Jobs

The EXECUTE permission was denied on the object sp_enum_dtspackages

07 January,2015 by Tom Collins

Granting permissions on SQL Server , to view legacy DTS packages requires  EXECUTE permissions to various stored procedures on the msdb  system database.

The easiest way to implement , is to create a database role including the permissions. Add the SQL Server login to the database role.

The added benefit  of using  database roles is it complies with standard SQL Server security policies. Most standard security policies advocate the usage of database roles versus  using object level permissions. Read more on How to manage the IS_GRANTABLE security risk

Stored procedures required to  view legacy DTS packages

Add  EXECUTE permissions to these stored procedures in msdb . The login should now be able to view the relevant DTS packages.

sp_enum_dtspackagelog

sp_enum_dtspackages

sp_enum_dtssteplog

sp_enum_dtstasklog

sp_get_dtspackage

sp_get_dtsversion

sp_drop_dtspackage

sp_add_dtspackage

Read More on DTS packages

 View DTS packages with Powershell – DTS to SSIS planning - SQL ...

SQL Server - Viewing legacy DTS packages in SSMS - SQL Server ...


Author: Tom Collins (http://www.sqlserver-dba.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on The EXECUTE permission was denied on the object sp_enum_dtspackages


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact|Copyright & Disclaimer