Hi GStoneJHA,
# 1
Open datatable "CuteChat4_User". If this table has the user name below(red part), it should not get this error.
If isAdmin set to ture. It will not check the name, so did not get this error.
public override AppChatIdentity GetLogonIdentity()
{
HttpContext oContext = HttpContext.Current;
return new AppChatIdentity("testuser1", false, ToUserId("testuser1"), oContext.Request.UserHostAddress);
}
# 2
Do not need to set the first paratemer (red part) in the method below
public override bool GetUserInfo(string sUsername, ref string sFullName, ref bool bIsAdmin)
{
sUsername = "testuser1";
sFullName = "Test User 1";
bIsAdmin = false;
return true;
}
Regards,
Ken