Gene6 FTP Server Forum: Script Error with auto-deactivate unused accounts.vbs - Gene6 FTP Server Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Script Error with auto-deactivate unused accounts.vbs Script Rate Topic: -----

#1 User is offline   RemyMaza 

  • New Member
  • Group: Registered Users
  • Posts: 7
  • Joined: 28-December 07

Posted 28 January 2010 - 03:31 PM

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
0

#2 User is offline   RemyMaza 

  • New Member
  • Group: Registered Users
  • Posts: 7
  • Joined: 28-December 07

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:
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)


0

#3 User is offline   RemyMaza 

  • New Member
  • Group: Registered Users
  • Posts: 7
  • Joined: 28-December 07

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
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users