2.0 Installation/Configuration Errors

Last post 04-02-2005, 11:09 AM by cutechat. 4 replies.
Sort Posts: Previous Next
  •  03-24-2005, 12:53 PM 4930

    2.0 Installation/Configuration Errors

    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





     
  •  03-25-2005, 1:33 AM 4955 in reply to 4930

    Re: 2.0 Installation/Configuration Errors

    Hello ,
     
    That's a small bug of list configuration files .

    Please check the 

    CuteSoft_Client/CuteChat/CDQ/

    make sure there is only one file 'SqlClient.config'

    And check the file's xml format .

    Regards , Terry . 
     
  •  03-25-2005, 9:27 AM 4959 in reply to 4955

    Re: 2.0 Installation/Configuration Errors

    I didn't have a CuteSoft_Client/CuteChat/CDQ directory, but there is one under CuteSoft_Server/CuteChat. I put a copy of that directory and the config file under the client dir, but it didn't fix the bug.
     
    I'm using the CuteChat files from the Stand Alone SamplePortal application. I have created the following:
    • A DataProvider class that inherits from CuteSoft.Chat.DataProvider
    • An AppSettings key for OnlineTimeout
    • An AppSettings key for CuteChat.SqlClient.ConnectionString
    In my database, in the Chat_Config table, I have entries for Announcement, ChannelSkins, DataProviderType, and Description. The DataProviderType ConfigValue matches the class and assembly for my custom DataProvider. My CuteSoft.Chat.dll is marked as version 2.0.0.0.

    Please let me know if you have any ideas as to how to fix my problem.

    Thanks,
    -Conrad
     
     
  •  03-29-2005, 12:43 PM 5065 in reply to 4959

    Re: 2.0 Installation/Configuration Errors

    Conrad:

    Yes , it should be CuteSoft_Server/CuteChat/CDQ/*.*
    Could you zip the CuteSoft_Server/CuteChat/ and send to me ? I will check it .
     
    Regards , Terry .
  •  04-02-2005, 11:09 AM 5257 in reply to 5065

    Re: 2.0 Installation/Configuration Errors

    Hello,

    Please email to [email protected] or [email protected] .
     
    Regards , Terry .
View as RSS news feed in XML