dbTalk Databases Forums  

Scheduled Package receives Access Denied

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Scheduled Package receives Access Denied in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steve Lloyd
 
Posts: n/a

Default Scheduled Package receives Access Denied - 10-19-2004 , 05:46 AM






Hi,

I have a DTS package that runs and executable after a table copy has
finished, the executable opens some spreadsheets and executes macros in them
that refresh querytables that rely on the table. I have created the DTS
package and it executes fine. However, when i schedule it the package gets
Access Denied when accessing the spreadsheets.

The SQLAgent is configured to run as a specified account and if i log onto
the server using this account and run the DTS package it executes fine.

Can anyone see where i might be going wrong, thanks for any help.

Steve Lloyd



Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Scheduled Package receives Access Denied - 10-19-2004 , 11:12 AM






Is the owner of the job a sysadmin, if not it uses the proxy account as
opposed to the service account you tested.

At what stage is the error?


--
Darren Green
http://www.sqldts.com


"Steve Lloyd" <RemoveSteveThis (AT) laxeyRemovepartners (DOT) com> wrote

Quote:
Hi,

I have a DTS package that runs and executable after a table copy has
finished, the executable opens some spreadsheets and executes macros in
them
that refresh querytables that rely on the table. I have created the DTS
package and it executes fine. However, when i schedule it the package
gets
Access Denied when accessing the spreadsheets.

The SQLAgent is configured to run as a specified account and if i log onto
the server using this account and run the DTS package it executes fine.

Can anyone see where i might be going wrong, thanks for any help.

Steve Lloyd





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.