November 16, 2018 at 5:20 am
Hello
I am having security issues when attempting to create a dataflow import against a specific table in the msdb DB
I can execute this T-SQL without issue from SSMS : select name from dbo.sysjobs
Yet, if I perform the following in SSIS, I get 'SELECT permission was denied':
Create a new package within a project
Add a Data Flow Task
Add a connection to msdb on the required server (Tests ok)
Select Data access mode - SQL command
Enter select name from dbo.sysjobs in as SQL comand text
Select Preview
How can I create the task as though it's me running/previewing it?
Thanks
- Damian
November 16, 2018 at 5:29 am
Yet, if I perform the following in SSIS, ...:
What do you mean by this, exactly?
November 16, 2018 at 6:09 am
Hello Phil
In this instance SQL 2008 R2 BIDS
Thanks
- Damian
November 16, 2018 at 6:19 am
DamianC - Friday, November 16, 2018 6:09 AMHello PhilIn this instance SQL 2008 R2 BIDS
Thanks
In that case, I have no idea what the problem is ... it should run as you from within BIDS, assuming your MSDB connection uses Windows Authentication.
November 16, 2018 at 6:29 am
Phil Parkin - Friday, November 16, 2018 6:19 AMIn that case, I have no idea what the problem is ... it should run as you from within BIDS, assuming your MSDB connection uses Windows Authentication.
Yes that's what I thought and it uses windows authentication
I'll do a little more digging into the security side
Thanks
- Damian
November 16, 2018 at 6:58 am
ok, very confusing
Looks like select permission on msdb had been revoked earlier today
Confusing, as up until about 30 minutes ago I was able to execute the T-SQL select statement via SSMS with no issues
Now getting permission issues there
Looks like it should be an easy fix
- Damian
November 16, 2018 at 7:09 am
DamianC - Friday, November 16, 2018 6:58 AMok, very confusing
Looks like select permission on msdb had been revoked earlier todayConfusing, as up until about 30 minutes ago I was able to execute the T-SQL select statement via SSMS with no issues
Now getting permission issues thereLooks like it should be an easy fix
At least there's a sensible explanation ...!
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy