Re: System.Exception: ChatProvider not initialized

  •  06-09-2011, 10:52 PM

    Re: System.Exception: ChatProvider not initialized

    Hi bindia,
     
    Please refer to http://cutesoft.net/live-support/Developer-Guide/scr/DeploymentIntegration.htm step 4 "b section".
     
    In our example, we add it in method "Init" of Global.asax.
     
    public override void Init()
    {
        base.Init();

        lock(typeof(CuteChat.ChatSystem))
        {
            if(!CuteChat.ChatSystem.HasStarted)
            {
                CuteChat.ChatProvider.Instance=new ExampleProvider();
                CuteChat.ChatSystem.Start(new CuteChat.AppSystem());
            }
        }
    }
     
     
    Regards,
     
    ken
View Complete Thread