August 8, 2002 at 3:01 pm
The following scheduled DTS package fails when running under the proxy account.
MS SQL Version: 8.00.608
OS: Windows 2000 - SP3
MDAC: 2.7
DTS Package:
Results:
Executed as user: pdbatest2k\mssqlproxy. DTSRun: Loading... DTSRun: Executing... DTSRun OnStart: DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1, Error = -2147467259 (80004005) Error string: Unspecified error Error source: Microsoft JET Database Engine Help file: Help context: 5000000 Error Detail Records: Error: -2147467259 (80004005); Provider Error: 0 (0) Error string: Unspecified error Error source: Microsoft JET Database Engine Help file: Help context: 5000000 DTSRun OnFinish: DTSStep_DTSDataPumpTask_1 DTSRun: Package execution complete. Process Exit Code 1. The step failed.
Have Tried / Confirmed the following
Any Suggestions on how to fix / determine the problem?
Thanks!!!
August 11, 2002 at 7:24 pm
I've done a bit of work with DTS and exporting data to Excel, and I get similar error messages that aren't very helpful. Personally I think theres some bugs relating to the Excel source/destination connection.
First, are you executing directly from the Enterprise Manager or through a scheduled job? Being able to run it successfully as 'sa' points to permission problems.
Second, are you exporting to a new or existing Excel document?
If you believe the account you're using is accurate, the best way to check is to login to Enterprise Manager under that account, then manually try to execute the package from there. If you still get failure, try manually re-creating the DTS package (Database -Tasks - Export) whilst logged in under the same account - you may find that you get a more specific error message than that which you get with a scheduled job.
August 12, 2002 at 6:30 am
Can execute the DTS package directly from EM as the non-sa account with an existing Excel document. However, when this same DTS package is scheduled, it fails. I agree there are permission problems - but not within MS SQL. We are using a proxy account to run all non-sa cmdexec jobs and this account initially had only public access to SQL. The same scheduled DTS job still fails when executed under the proxy account when is a member of the System_Administrator role. This package works when scheduled as SA, because the SQL Agent is running under and that ID has Administrator privilege on the Windows 2000 server. We have been systematically trying to increase the proxy accounts NT permissions/level to find the exact cause of the problem (no luck yet).
Thanks!
August 12, 2002 at 8:33 pm
hmmm...give this a try.
You've setup your NT domain account under the SQL Server agent (and stopped and restarted the service).
Add the NT domain account to SQL Login security, and add it to administrator role within.
Also add the NT domain account to the administrator group on the local server (not through the domain controller).
Hopefully this will help determine if its a permission problem. Your domain account needs to have the right to create files on the local system, and the right to execute DTS packages from within SQL server.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply