Re: user permissions for vbscript
- From: "Jim Vierra" <jvierra@xxxxxxx>
- Date: Wed, 4 May 2005 00:04:38 -0400
You have to set the macro security in Access to a lower level I believe
--
Jim Vierra
"smcqueen" <smcqueen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:64965FF7-DBAE-4B6C-A914-F30090976A63@xxxxxxxxxxxxxxxx
>I am trying to run a vbscript from a user account that belongs to the
> Administrators group on a Windows 2003 Server, but it hangs when it trys
> to
> open an MS Access 2003 database and generates an event id 2001 - 'Rejected
> Safe Mode action : Microsoft Office Access.' for which there is no
> microsoft
> support information. I have to end the process.
>
> I have set the permissions for the DCOM+ object Microsoft Office Access to
> Administrators Group, but that didn't help.
>
> Only the Administrator account can run the following script and maybe
> that's
> by design, but would like to know for sure.
>
> -Myscript.Vbs------------------
> Dim objAccess
> Set objAccess = CreateObject("Access.Application")
> objAccess.OpenCurrentDatabase("mydata.mdb")
> objAccess.DoCmd.RunMacro "ImportIt"
> objAccess.CloseCurrentDatabase
> objAccess.Quit
> Set objAccess = Nothing
> ----------------------------------
.
- Follow-Ups:
- Re: user permissions for vbscript
- From: smcqueen
- Re: user permissions for vbscript
- References:
- user permissions for vbscript
- From: smcqueen
- user permissions for vbscript
- Prev by Date: Re: Query EventLog Asynchronously
- Next by Date: Re: Windows Service Monitoring & Email
- Previous by thread: user permissions for vbscript
- Next by thread: Re: user permissions for vbscript
- Index(es):
Relevant Pages
|