May 24, 2005 at 2:53 pm
When I call my DTS package from a stored procedure by:
exec master.dbo.xp_cmdshell 'dtsrun /S ntserver5 /U username /P password /N "New Package"'
I get the following error:
Error string: The Microsoft Jet database engine could not find the object 'jungtran2'. Make sure the object exists and that you spell its name and the path name correctly.
Now when I run it from Enterprise Manager under DTS and Local Packages it runs fine.
This DTS loads a dbf file named "jungtrans2.dbf" and I have the dts using UNC path: \\public\Dean\Junge\
Any ideas?
May 24, 2005 at 3:03 pm
are you using an odbc connection, is that connection present on the server?
May 24, 2005 at 3:11 pm
Yes, the connection I think is on the server as we have other DTS using the same connection and they have schedule jobs
May 24, 2005 at 3:24 pm
Does the user that you use in your DTS have access to the share?
May 24, 2005 at 3:31 pm
Yep, everyone has full permissions on this share/folder.
I just tried to schedule the DTS and the Job agent fails to run aswell.
May 25, 2005 at 5:41 am
Try logging on as the account you use to run SQL Server Agent and run the package. If there's a permissions issue, you should see where the process fails.
--
Scott
May 25, 2005 at 8:26 am
ok, Now I get a new error, when running the job agent, please note this is a DBF file I am trying to load:
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply