i\'m getting mad with this error! The complete error is:
[ArgumentOutOfRangeException: Index and count must refer to a location within the string. Parameter name
You can't remove 13 characters from the string, containing less that 13; that is what error stated. What is the content of Usuario after the first assignemt?
Usuario = Request.ServerVariables["LOGON_USER"]; Usuario = Usuario.Remove(0, 13);