I'm trying to run auto-deactivate unused accounts.vbs and I seem to have ran into an issue with permissions. I've added this script to %programfiles%\Gene6FTPFilepath\Scripts. I've been able to check the script within a client's attributes. I've restarted the services also, but I still get this error message:
Date time: 10/01/28 09:03:35
File: C:\Program Files\Gene6 FTP Server\Scripts\auto-deactivate unused accounts.vbs
Function: OnClientLoggedIn
Description: Error #0, Permission denied: 'CreateObject', Microsoft VBScript runtime error, Line: 11, Column: 5
I have the Gene6FTP service running under the NETWORK SERVICE account. Does it need more user rights in order to use this script? or is it an ACL on a folderpath?
Thanks for any advice,
Matt
Page 1 of 1
Script Error with auto-deactivate unused accounts.vbs Script
#2
Posted 01 February 2010 - 07:16 PM
Any idea on what's causing this error? I'd really like to get this script up and running... Maybe it'll help if you guys see the code, so I've attached it as a file. The code seems to be fail at this point:
Is this object called something else on version 3.10.0 (Build 2)?
Thanks,
Matt B.
CODE
Set g6mng = CreateObject("G6FTPServer.Manager")
Is this object called something else on version 3.10.0 (Build 2)?
Thanks,
Matt B.
Attached File(s)
-
auto_deactivate_unused_accounts.vbs.txt (1.25K)
Number of downloads: 208
#3
Posted 01 February 2010 - 07:24 PM
Got it working with a dcomcnfg. The post is over here:
http://www.g6ftpserver.com/forum/index.php...p;hl=0x80070005
http://www.g6ftpserver.com/forum/index.php...p;hl=0x80070005
Share this topic:
Page 1 of 1

Help










