- Both Server1 and Server2 are on the same domain. Server1 is the SQL Server instance (Enterprise Edition) with SP4.Step 2 of 2:
- Server2 has a batch script on it that opens DTSrun and executes a DTS package on Server1 to bulkload some XML into a database on Server1 using a trusted connection.
- Server2 has no instance of SQL Server on it; instead it has the SQL tools installed.
- The owner executing the batch script (BBB) has appropriate rights in the database as a DBO and is a member of the bulkadmin fixed server role.
- The permissions (BBB) executing the script are not the DTS package owner (AAA), nor are they members of the SA group.
- Additionally, Server2 has the necessary files (XBLKLD3.dll) to create the XMLBulkLoad object, with the latest SQLXML and .NET 1.1 installed. However, the execution of the batch script on Server2 fails with the error message that permissions are denied on the createobject SQLXMLBulkLoad when BBB executes the batch script.
- The executing account (BBB) has permissions to where the files being loaded are kept.
- When the batch script is executed off a local XP Pro machine in the same domain with BBB logged on, the script executes successfully. The machine only has the SQL tools installed with no running instances.
- Server2 is a Windows 2000 server.
- Batch script executes successfully under the DTS package owner (AAA) off of a local XP Pro machine in the same domain. The machine only has the SQL tools installed with no running instances.
Frustrated with DTS
In particular, check out their FAQ entry on Package Ownership Issues. This is a real gem that addresses many (if not all) of your issues. And since you're working with DTS packages a lot, but sure to put SQLDTS on your list of favorites!
Related Q&A from Kevin Kline, Director of SQL Server Solutions, Quest Software
Monitoring and Administration expert Kevin Kline discusses the obstacles of database administration when a publisher resides on a different domain.continue reading
A common SQL Mail error is addressed by monitoring and administration expert Kevin Kline.continue reading
Monitoring and Administration expert Kevin Kline discusses the installation of SQL Server client tools on Windows XP Pro.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.