Showing posts with label wehave. Show all posts
Showing posts with label wehave. Show all posts

Sunday, March 25, 2012

DTS permissions and ownership

We have a DTS package developed on our development PC's (SQL 7). It
runs fine. When we schedule it on the server (SQL 7), it fails. We
have been able to find that this is a known issue down to the use of
permissions (running it uses the users permissions, scheduling it uses
the servers). http://support.microsoft.com/?kbid=269074

Our Ops Support team insist that we have the full permissions to run
this, but it still fails. If we log on to the server as the service
and re-create (sample) the DTS package, we can schedule it. However,
we don't want to have to go the the comms room (or use VNC) to develop
DTS packages. If we then change this on our development PC's we get
the same problem as we appear to have taken ownership. It looks like
ownership is not just on the DTS package, but on the components as
well.

Is there are way of changing the ownership of the DTS package /
components ?

What can I check with regards permissions ?

Any help would be appreciated.

Thanks

RyanManaged to find the answer. It was down to a different version of
MDAC.
Ver 2.5 was on the server and 2.6 was on the development PC's. With
the connection properties, additional information is passed with 2.6
which causes a problem with 2.5

When executing the DTS package, it uses the current PC's version. When
scheduled, it uses the version on the server.

The way around this was to re-do the connection properties while
logged on the server (using VNC) and then save it.

Now we know what needs doing, we'll get all of the PC's & servers
checked and put on the same version.

R

ryanofford@.hotmail.com (Ryan) wrote in message news:<7802b79d.0404190132.4438ecc2@.posting.google.com>...
> We have a DTS package developed on our development PC's (SQL 7). It
> runs fine. When we schedule it on the server (SQL 7), it fails. We
> have been able to find that this is a known issue down to the use of
> permissions (running it uses the users permissions, scheduling it uses
> the servers). http://support.microsoft.com/?kbid=269074
> Our Ops Support team insist that we have the full permissions to run
> this, but it still fails. If we log on to the server as the service
> and re-create (sample) the DTS package, we can schedule it. However,
> we don't want to have to go the the comms room (or use VNC) to develop
> DTS packages. If we then change this on our development PC's we get
> the same problem as we appear to have taken ownership. It looks like
> ownership is not just on the DTS package, but on the components as
> well.
> Is there are way of changing the ownership of the DTS package /
> components ?
> What can I check with regards permissions ?
> Any help would be appreciated.
> Thanks
>
> Ryansqlsql

Wednesday, March 21, 2012

DTS package won't run as a scheduled job

Hi,
We have recently begun to experience a problem that is stumping us. We
have a DTS package that is run every morning as a scheduled job but
always fails. The job runs perfectly fine when kicked off manually
(either all at once from the Enterprise Manager or one step at a time
from DTS). The job history says it failed on step 1, but we've
determined that at least the first few steps run successfully. I've
attempted to turn package logging on but we never get any results (I've
tried to save the log both in the SQL Server log as well as a local
text file ... nothing ever appears in either location).
This is extremely frustrating and we're all getting tired of waking up
at 3am to kick the job off. Any ideas?
Thanks!!This article may help.
http://support.microsoft.com/kb/269074/EN-US/
Regards,
Dave Patrick ...Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"Rich" wrote:
| Hi,
|
| We have recently begun to experience a problem that is stumping us. We
| have a DTS package that is run every morning as a scheduled job but
| always fails. The job runs perfectly fine when kicked off manually
| (either all at once from the Enterprise Manager or one step at a time
| from DTS). The job history says it failed on step 1, but we've
| determined that at least the first few steps run successfully. I've
| attempted to turn package logging on but we never get any results (I've
| tried to save the log both in the SQL Server log as well as a local
| text file ... nothing ever appears in either location).
|
| This is extremely frustrating and we're all getting tired of waking up
| at 3am to kick the job off. Any ideas?
|
| Thanks!!
||||Hi Dave,
Thanks for the article. I've read it and checked a few things out on
our SQL Server 2000 installation. The job was running under a different
account than I would have expected, but the account has full access to
the system and is a member of the system administrator group. Just to
be safe, I changed the owner of the job to the Administrator account
(which is what our other DTS packages run under). However, this didn't
work either.
I then deleted the scheduled job and recreated it on the server
desktop. The owner is again the Administrator account. It is scheduled
to run tonight, but I highly doubt anything is going to change.
Are there some security settings I could double-check perhaps?
Thanks,
-Rich
Dave Patrick wrote:
> This article may help.
> http://support.microsoft.com/kb/269074/EN-US/
> --
> Regards,
> Dave Patrick ...Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
> "Rich" wrote:
> | Hi,
> |
> | We have recently begun to experience a problem that is stumping us. We
> | have a DTS package that is run every morning as a scheduled job but
> | always fails. The job runs perfectly fine when kicked off manually
> | (either all at once from the Enterprise Manager or one step at a time
> | from DTS). The job history says it failed on step 1, but we've
> | determined that at least the first few steps run successfully. I've
> | attempted to turn package logging on but we never get any results (I've
> | tried to save the log both in the SQL Server log as well as a local
> | text file ... nothing ever appears in either location).
> |
> | This is extremely frustrating and we're all getting tired of waking up
> | at 3am to kick the job off. Any ideas?
> |
> | Thanks!!
> ||||Something here may help.
http://www.sqldts.com/?106
Regards,
Dave Patrick ...Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"Rich" wrote:
| Hi Dave,
|
| Thanks for the article. I've read it and checked a few things out on
| our SQL Server 2000 installation. The job was running under a different
| account than I would have expected, but the account has full access to
| the system and is a member of the system administrator group. Just to
| be safe, I changed the owner of the job to the Administrator account
| (which is what our other DTS packages run under). However, this didn't
| work either.
|
| I then deleted the scheduled job and recreated it on the server
| desktop. The owner is again the Administrator account. It is scheduled
| to run tonight, but I highly doubt anything is going to change.
|
| Are there some security settings I could double-check perhaps?
|
| Thanks,
| -Rich|||Thanks Dave,
I've looked at a few things suggested in the link you provided but
nothing worked. Finally, I created a new login for the windows
Administrator account and added it to the SysAdmin role. This worked!
Now, this stumps me, because the Windows workgroup "Administrators" is
already a member of SysAdmin, and the Windows Administrator account is
already assigned to the Administrators role... so it should have had
permissions already. Any thoughts on this?
Additionally, I mentioned that the job was not recording its log file.
This was mistaken - I was looking under the SQL Server logs (under
"Management"), but I just found them under DTS, "package logs".
However, there are no entries for when the package ran as a scheduled
job ... a log entry was recorded only when I ran the job manually. This
was really puzzling to me, but then I realized that it had to be a
security problem. The job wasn't getting anywhere, because the SQL
Agent was running under an account that didn't have the right
permissions applied (apparently).
-Rich
Dave Patrick wrote:
> Something here may help.
> http://www.sqldts.com/?106
> --
> Regards,
> Dave Patrick ...Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
> "Rich" wrote:
> | Hi Dave,
> |
> | Thanks for the article. I've read it and checked a few things out on
> | our SQL Server 2000 installation. The job was running under a different
> | account than I would have expected, but the account has full access to
> | the system and is a member of the system administrator group. Just to
> | be safe, I changed the owner of the job to the Administrator account
> | (which is what our other DTS packages run under). However, this didn't
> | work either.
> |
> | I then deleted the scheduled job and recreated it on the server
> | desktop. The owner is again the Administrator account. It is scheduled
> | to run tonight, but I highly doubt anything is going to change.
> |
> | Are there some security settings I could double-check perhaps?
> |
> | Thanks,
> | -Rich|||They may know more about this here.
http://www.microsoft.com/communitie...oft.com/protect
"Rich" wrote:
| Thanks Dave,
|
| I've looked at a few things suggested in the link you provided but
| nothing worked. Finally, I created a new login for the windows
| Administrator account and added it to the SysAdmin role. This worked!
| Now, this stumps me, because the Windows workgroup "Administrators" is
| already a member of SysAdmin, and the Windows Administrator account is
| already assigned to the Administrators role... so it should have had
| permissions already. Any thoughts on this?
|
| Additionally, I mentioned that the job was not recording its log file.
| This was mistaken - I was looking under the SQL Server logs (under
| "Management"), but I just found them under DTS, "package logs".
| However, there are no entries for when the package ran as a scheduled
| job ... a log entry was recorded only when I ran the job manually. This
| was really puzzling to me, but then I realized that it had to be a
| security problem. The job wasn't getting anywhere, because the SQL
| Agent was running under an account that didn't have the right
| permissions applied (apparently).
|
| -Rich