Hi everyone,
I know that MANY people have had similar problems in the area of a DTS package executing fine, but failing when scheduled. I've read all the threads I could find that dealt with this type of error, but I couldn't find anything that solved my problem.
The DTS is a simple ActiveX script. The script opens a mdb and runs a macro. I got source for it off of techrepublic. Everything is dandy when executed; otherwise one of two things happens:
1. If the mdb is on the network (using UNC ref) the first step hangs on "Executing Step 1".
2. If the mdb is local, it fails immediately.
I've tried tweaking SQL Server Agent permissions and the like, but maybe I'm not doing it correctly. I've tried Windows Authentication, 'sa', and even another sql server account that I granted total access to. I can't seem to get anything to work. The SQL Server is the local box, so whether I'm executing or scheduling, it's running on the same box.
The message I get when it fails is: "Microsoft Access can't open the database because it is missing, or opened exclusively by another user".
Please, if some one can help me, I would really appreciate it. I'm a novice, but I'm willing to do some reading to resolve this. BTW, I've checked out the article on msdn about problems with scheduling DTS's. Is it me, or are they incredibly vague:
"Change your SQL Server Agent permissions" -- hmm, maybe I'm not doing it correctly; why not walk me through the process?
Thanks,
Tim
I know that MANY people have had similar problems in the area of a DTS package executing fine, but failing when scheduled. I've read all the threads I could find that dealt with this type of error, but I couldn't find anything that solved my problem.
The DTS is a simple ActiveX script. The script opens a mdb and runs a macro. I got source for it off of techrepublic. Everything is dandy when executed; otherwise one of two things happens:
1. If the mdb is on the network (using UNC ref) the first step hangs on "Executing Step 1".
2. If the mdb is local, it fails immediately.
I've tried tweaking SQL Server Agent permissions and the like, but maybe I'm not doing it correctly. I've tried Windows Authentication, 'sa', and even another sql server account that I granted total access to. I can't seem to get anything to work. The SQL Server is the local box, so whether I'm executing or scheduling, it's running on the same box.
The message I get when it fails is: "Microsoft Access can't open the database because it is missing, or opened exclusively by another user".
Please, if some one can help me, I would really appreciate it. I'm a novice, but I'm willing to do some reading to resolve this. BTW, I've checked out the article on msdn about problems with scheduling DTS's. Is it me, or are they incredibly vague:
"Change your SQL Server Agent permissions" -- hmm, maybe I'm not doing it correctly; why not walk me through the process?
Thanks,
Tim