September 28, 2004 at 3:24 am
Set wshShell = CreateObject("WScript.Shell")
September 29, 2004 at 9:28 am
Are the packages scheduled to execute as a job? Does the SQL Agent have access to the directories that contain the INI files? Are you using UNC paths?
September 30, 2004 at 1:59 am
Hi,
Nope. Package not run as a scheduled job, just being activated through designer at the moment.
Simple test to repeat the problem was to open a new package in DTS designer, add an activeX script task, add the lines
dim oShell
set oShell=createobject("wscript.shell")
save and execute.
If the task only was executed then it was successful, if the package was executed from the designer window then it failed with permission denied on createobject.
if the createobject was switched to something else ie the msxml2.domdocument then all worked fine.
due to time constraints we have reinstalled sql server - that did not resolve the issue so in the end we have rebuilt the server and all is now ok.
would like to know what the issue was for future reference, just seems weird that when working in the design window ( i understand the authentication rules with scheduled jobs ) the single task was successful but the package was not, even though there was nothing else in the package.
am i to understand from this that authentication is different in these two instances?
cheers
Mark
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply