Hi folks
Really hope someone can help with this......have spent all day trying to sort it!
Below are two functions which are in my app. Both functions work absolutely fine when run through IIS on W2k3 but when run in W2k8 the second function works fine but the first falls over at the line AccessCheck returning "Value does not fall within the expected range.
Public ReadOnly Property CheckAccess(ByVal sScope As String, _
ByVal sDomainUserName As String, _
ByVal sOperationName As String) As Boolean
Get
Dim sUsername As String = sDomainUserName.Substring(sDomainUserName.IndexOf(Go to the complete details ...