Re: permission denied creating object



Dan D. wrote:
> I'm using a script in a SQL Server dts package and it runs fine in the
> package. When I schedule the package as a job it fails with this
> error: Permission denied: 'CreateObject' Error on Line 76
>
> The code is: set fsObj = CreateObject("Scripting.FilesystemObject")
>
> Exactly what file on the drive is being used to create the object?
> What folder holds all of the files related to scripting? I want to
> check that file. I tried giving the user permissions to the entire
> drive but that didn't work.
>

The Scripting.* progids are implemented in scrrun.dll, normally found in the
system32 folder...

--
Michael Harris
Microsoft MVP Scripting




.



Relevant Pages

  • Re: Whats the difference between...?
    ... then you should install the WMI package. ... WMI 1.5 is needed for remote WMI queries usually made in various scripting ... You can install either in any order, you shouldn't see any problems either ...
    (microsoft.public.windows.server.scripting)
  • Re: .NET 2.0 ConfigWizard missing?
    ... To place the mscorcfg.msc into a setup package at this point in time is ... a bit of a scripting nightmare. ... Microsoft has only placed the ... simplified solution beside setting all the security permissions by ...
    (microsoft.public.dotnet.framework.setup)
  • Re: permission denied creating object
    ... "Michael Harris (MVP)" wrote: ... >> I'm using a script in a SQL Server dts package and it runs fine in the ... > The Scripting.* progids are implemented in scrrun.dll, ...
    (microsoft.public.scripting.vbscript)
  • Re: MS03-014/015 supersede Q
    ... but by expanding the update files to their individual files and compare ... files in the old package is in the new package, ... Microsoft MVP Scripting and WMI, ...
    (microsoft.public.win2000.security)
  • Re: win2K task scheduler - at system startup
    ... it seems like it has problems connecting to my local ... > I don't have any problem if I schedule it to run at logon/any other options. ... Try to e.g. launch a script that adds a ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.win2000.general)