#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    2
    Rep Power
    0

    Win2k3 and DTS Folder access


    When running a scheduled job from sql srv 2000 on win2k3, I get a "path not found" error msg in my Activex script task (I'm using Scripting.FileSystemObject).

    Its a UNC path name and everyone has folder access and folder exists.

    I even mapped the drive and referenced it that way and still no path found.

    Tried starting server and agent using different accounts (domain & local) and still saying path not found.

    Any ideas?
  2. #2
  3. No Profile Picture
    Average Intelligence
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2003
    Location
    Ohio/Chicago
    Posts
    678
    Rep Power
    12
    Based on the job owner you can determine the NT account being used.

    Is the job owner a sysadmin?
    Yes - SQL Server Agent Service Account
    No - SQL Agent Proxy Account

    Did you check SQL permissions?
    Did you check the folder and file permissions at both destination and source

    http://support.microsoft.com/default...b;en-us;269074
    Last edited by unatratnag; August 26th, 2003 at 12:49 AM.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    2
    Rep Power
    0
    When folder or file is local then its no problem.

    The only way that I can get a job to be sheduled is if the owner is "win2k3Name\Administrator".

    But if the package is referencing folder and files on a remote machine then I get error msg.

    I even added the remote machine as a trusted site on win2k3 and I still get error msg.
  6. #4
  7. No Profile Picture
    Average Intelligence
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2003
    Location
    Ohio/Chicago
    Posts
    678
    Rep Power
    12
    by files on a remote machine are we talking about access to another SQL server or files on another machine?

    If SQL, Did you set up the remote machines as linked servers?

    If files,
    and then this is an offset chance, but I've had a problem before where the server the package was on was using NT login and had problems with when writing to a non NT required server that it reverted to run as defaults and the default for a active x object is set in i think DCOM not the w2k administrator you have it set up to be. I think it's default is IUSR_machinename which would explain why your machine can do it locally but not remotely (in fact it'd get "path not found" remotely since it doesn't have read permissions). Meaning the active x object (FSO) is getting access denied even though your DTS package has permissions. Which is another point, what do the error logs say when you get path not found? What account is trying to do what in it? But like i said, that's a stretch and rare situation and just thought i'd put it out incase you are infact having this problem and hopefully give you some ideas.....
    Last edited by unatratnag; August 26th, 2003 at 11:00 AM.

IMN logo majestic logo threadwatch logo seochat tools logo