You will receive an IndexOutOfRangeException
if the application pool is running under a custom user whose username was entered in UPN-Format
so if application-pool-user is entered this way: domain\username everything is fine.
BUT
if you entered the application-pool-username this way: username@domain then this program will throw an exception.
the error can be found in line 1357 and 1358 where the code is trying to split the application-pool-username by the backslash-char and use the second-part of the split-result.
You will receive an IndexOutOfRangeException
if the application pool is running under a custom user whose username was entered in UPN-Format
so if application-pool-user is entered this way: domain\username everything is fine.
BUT
if you entered the application-pool-username this way: username@domain then this program will throw an exception.
the error can be found in line 1357 and 1358 where the code is trying to split the application-pool-username by the backslash-char and use the second-part of the split-result.