all groups > sql server dts > september 2005 >
You're in the

sql server dts

group:

DTS Error



DTS Error Travis
9/20/2005 8:26:05 PM
sql server dts: Hi ,

I created a DTS package and it running fine when I run in design view.
But when I scheduled it , it fail to run and I get this kind of error ,

"Step 'DTSStep_DTSExecuteSQLTask_1' succeeded
Step Execution Started: 9/21/2005 10:45:53 AM
Step Execution Completed: 9/21/2005 10:45:53 AM
Total Step Execution Time: 0.063 seconds
Progress count in Step: 0

Step 'DTSStep_DTSDataPumpTask_1' failed

Step Error Source: Microsoft Data Transformation Services Flat File Rowset

Provider

Step Error Description:Error opening datafile: Access is denied. "

I suspect is the security issue but I am not sure where can I debug it.
- The package was created under user "sa" - SQL Server Admin
- The package was scheduled under user "sa" - SQL Server Admin

- The DTS package will extract the data from a csv file from a "Share
Folder"
- The "Share Folder" was restricted to only certain users

Please advise.

One more issue , how to I show the "Step Name" in my error log instead of
showing the "DTSStep_DTSDataPumpTask_1" ?

Re: DTS Error Allan Mitchell
9/21/2005 12:00:00 AM
Usually when something succeeds in Enterprise Manager and fails when
executed as a job you can narrow it down to here

http://support.microsoft.com/?kbid=269074


About renaming steps? Do it at the very start of the package and you
can do it in disconnected edit.

Allan

[quoted text, click to view]
RE: DTS Error Travis
9/21/2005 3:15:06 AM
Hi Allan ,

I am not sure what is wrong here. I create a package under 'sa'
and I scheduled under 'sa' but when I check the windows event log
the scheduled is run on domain user ...

Where can I change the setting ? Please advice

--
Travis Tan


[quoted text, click to view]
RE: DTS Error Allan Mitchell
9/21/2005 7:44:51 PM
So the creator of the package has no relevance here. What does is the
account under which the job runs.

Any member of the sysadmin role and the job executes as the SQL Server
Agent Service Account
If the "runner" is not a member of the sysadmin role then the job is
executed as the proxy account.

Allan

[quoted text, click to view]
RE: DTS Error Travis
9/21/2005 8:11:04 PM
Hi Allan ,

I right click on the SQL Server Agent properties , the "Services" was
startup using
Windows Account and the "Connection" also under Windows Account.

When I execute the Jobs , the error msg was "Access Denied" ... my DTS
was read from the csv file in "Share Folder" on server local hard disk.

The job owner I set using "sa" which is SQL Admin .... anything wrong
with that ?

How do I set the runner as 'sa' ?


--
Travis Tan


[quoted text, click to view]
RE: DTS Error Allan Mitchell
9/22/2005 12:00:00 AM
The job is owned by sa, therefore the "runner" is the Agent account.
Permissions on to the share have nothing to do with SQL permissions and
a lot to do with NT permissions.

Share mappings are user specific so use UNC.

Does the SQL Server Agent service account user have permissions onto the
directory in which the file is located?


Allan



[quoted text, click to view]
AddThis Social Bookmark Button