Page 1 of 1

Windows Domain Password Expiring Notifier - Row Index out of bounds

Posted: Mon May 03, 2021 6:36 pm
by dougan78
Getting a failed in the Then section at step 31. The reason: Row index out of bounds on this Password expiration notifier. Maybe there is a maximum number of users this supports?

Re: Windows Domain Password Expiring Notifier - Row Index out of bounds

Posted: Mon May 03, 2021 7:59 pm
by Cubert
I am aware of no limits in loops but with ConnectWise anything is possible.


Try running in Habitat SQL analyzer the following, Change "clientid" to an actual ID your getting errors with.

Code: Select all

SELECT * FROM plugin_p4a_habitat_expiry_email Where ClientID = 'clientid'

Look to see if any irregular data comes up in the query or do you get an complete block of data?


You can also add a new script function after line 31 to script log @EMAILLOOP@ to see what the count is when it dies. if count is 1 then some things wrong. if count is "57" then we know we had 56 good loops so we look at data after 57 rows.

Re: Windows Domain Password Expiring Notifier - Row Index out of bounds

Posted: Tue May 04, 2021 3:05 pm
by dougan78
Thanks, the table was helpful. I reviewed the table and there was no data, it turned out it didnt like my ldap settings. So after adjusting the LDAP directory root it worked as expected.

Cheers!