Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL SERVER Agent Problem?

Status
Not open for further replies.

bmann

Programmer
Oct 8, 2002
128
0
0
US
I have mapped a network drive on my server. The administrator gave me full rights to the directory. When I go to my DTS package and run the package everything works OK. But when I scheduled the Package as a Job it fails. I am getting the following error:

Error string: The Microsoft Jet database engine cannot open the file 'F:\FPD_12-15-2002.MDB'. It is already opened exclusively by another user, or you need permission to view its data.

I need someone's help to solve this problem.

 
Check if a file called FPD_12-15-2002.lDB'
exists. If so delete that and try.
Also check under whose account the Job is running
 
I would say its permissions error. When you run a job, it runs under the user permisions of the sql agent. When you manually run the job, it is run under your permissions Unless you changed it from defualt, the agent only is able to do things on that particular machine since it utualizes local acccount. You will need to set it up with a domain account configured with proper permisions to run it. If you do not have a domain, make sure a user is set up on both machines to run it from with the proper permissions..

Hope this helps
 
Thanks for everyone's help. I am checking all the permissions. Also, I need to perform a command line for mapping drive in a SQL task. Have a good day.

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top