Re: ChatProvider not initialized

  •  05-20-2010, 8:26 AM

    Re: ChatProvider not initialized

    I have the following code in the Global.asax at the website root.

    CuteChat.ChatProvider.Instance=new ExampleProvider();

    CuteChat.ChatSystem.Start(new CuteChat.AppSystem());



    And I get this error 

    Server Error in '/' Application.

    ChatProvider not initialized

    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.Exception: ChatProvider not initialized

    Source Error:

    Line 35: 	 {
    Line 36: 	    // Put user code to initialize the page here
    Line 37: 		CuteChat.AppChatIdentity identity = CuteChat.ChatProvider.Instance.GetLogonIdentity();	
    Line 38: 	}
    Line 39: </script>

    Source File: c:\Inetpub\wwwroot\ncsreseller\kfactorfilter\kfactorfilter.com\www\livesupport\banner.ascx    Line: 37

    Stack Trace:

    [Exception: ChatProvider not initialized] CuteChat.ChatProvider.get_Instance() +130 ASP.livesupport_banner_ascx.Page_Load(Object sender, EventArgs e) in c:\Inetpub\wwwroot\ncsreseller\kfactorfilter\kfactorfilter.com\www\livesupport\banner.ascx:37 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
     
     
     
     
View Complete Thread