ChatSystem already started (lot's of IIS watning messages in the event log)

Last post 05-11-2011, 10:05 AM by rwilliamscdx. 5 replies.
Sort Posts: Previous Next
  •  04-19-2011, 9:55 AM 67245

    ChatSystem already started (lot's of IIS watning messages in the event log)

    About every 30 mninutes or so, we're seeing this warning in our event log.  What causes this message to be writting to the event log?
     
    Process information:
    Process ID: 4104
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE

    Exception information:
    Exception type: Exception
    Exception message: ChatSystem already started
  •  04-21-2011, 9:31 PM 67286 in reply to 67245

    Re: ChatSystem already started (lot's of IIS watning messages in the event log)

    Hi rwilliamscdx,
     
    Where do you call the ChatSystem.Start()  ?
     
    Can you post the code here?
     
    Regards,
     
    ken
  •  05-03-2011, 10:29 AM 67423 in reply to 67286

    Re: ChatSystem already started (lot's of IIS watning messages in the event log)

    Ken, I believe, according to CuteChat install instructions for DotNetNuke is to add the following to the Global.asax file (root web directory).  Here are the contents of our file:
     
    <%@ Application Inherits="DotNetNuke.Common.Global" Language="VB" %>
    <script Runat=server>
    Public Overrides Sub Init()
        MyBase.Init()
        If Not CuteChat.ChatSystem.HasStarted Then
            CuteChat.ChatProvider.Instance = New DNNChatProvider()
            CuteChat.ChatSystem.Start(New CuteChat.AppSystem())
        End If
    End Sub
    </script>
  •  05-10-2011, 3:01 PM 67523 in reply to 67286

    Re: ChatSystem already started (lot's of IIS watning messages in the event log)

    Ken...any word on this?? I've added our code snippet where ChatSystem.Start() is called a week or more ago....
     
    Thanks.
  •  05-10-2011, 8:55 PM 67534 in reply to 67523

    Re: ChatSystem already started (lot's of IIS watning messages in the event log)

    Hi rwilliamscdx,
     
    Try
     
      SyncLock GetType(CuteChat.ChatSystem)
                If Not CuteChat.ChatSystem.HasStarted Then
                    CuteChat.ChatProvider.Instance = New DNNChatProvider()
                    CuteChat.ChatSystem.Start(New CuteChat.AppSystem())
                End If
            End SyncLock
     
     
    Regards,
     
    ken
  •  05-11-2011, 10:05 AM 67543 in reply to 67534

    Re: ChatSystem already started (lot's of IIS watning messages in the event log)

    Thanks Ken.  Will give this a shot.
View as RSS news feed in XML