I'm trying to get 2.0 installed into my application, and I keep running into problems. Since there is no documentation, this forum is my only hope. The sample portal works fine on my server, but the code in my app bombs with the following error:
'', hexadecimal value 0x12, is an invalid character. Line 1, position 2.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Xml.XmlException: '', hexadecimal value 0x12, is an invalid character. Line 1, position 2.
Source Error:
Line 88: {
Line 89: ChatApi chatApi = ChatWebUtility.Api;
Line 90: return chatApi.GetLobbies();
Line 91: }
Line 92: }
Source File: c:\dev\mfs\bll\chat\chatbroker.cs Line: 90
Stack Trace:
[XmlException: '', hexadecimal value 0x12, is an invalid character. Line 1, position 2.]
System.Xml.XmlScanner.ScanContent() +865
System.Xml.XmlTextReader.ParseRoot() +51
System.Xml.XmlTextReader.Read() +127
System.Xml.XmlValidatingReader.ReadWithCollectTextToken() +146
System.Xml.XmlValidatingReader.Read() +26
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +80
System.Xml.XmlDocument.Load(XmlReader reader) +72
System.Xml.XmlDocument.Load(String filename) +78
m.a(UserIdentity A_0) +422
CuteSoft.Chat.Impl.ServiceLayerChatApiDecorator.BeforeInvoke() +416
CuteSoft.Chat.DynamicAssembly.ServiceLayerChatApiDecoratorProxy.GetConfig_InterceptedCall(String configname) +78
CuteSoft.Chat.DynamicAssembly.WebLayerChatApiDecoratorProxy.GetConfig_InterceptedCall(String configname) +78
CuteSoft.Chat.ChatWebUtility.GetUserAdapter() +71
CuteSoft.Chat.ChatWebUtility.get_CurrentIdentity() +61
CuteSoft.Chat.Impl.WebLayerChatApiDecorator.BeforeInvoke() +185
CuteSoft.Chat.DynamicAssembly.WebLayerChatApiDecoratorProxy.GetLobbies_InterceptedCall() +77
App.BLL.Chat.ChatBroker.GetRooms() in c:\dev\mfs\bll\chat\chatbroker.cs:90
App.Presentation.Web.Chat.ChatLinkModule.bindData() in c:\inetpub\wwwroot\esocdb\chat\chatlinkmodule.ascx.cs:71
App.Presentation.Web.Chat.ChatLinkModule.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\esocdb\chat\chatlinkmodule.ascx.cs:43
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +744