| Hello, After installing the c360 Toolkit on our CRM server the following two messages are logged to the Application Event Log quite often. The SDK itself seems to work (we are using the Grid Control primarily). There are no Exceptions visible to the user, however we have some performance issues and unexpected terminations of the app pool used for the c360 SDK. (See message at the end of the post) The error occurs every 1 to 5 minutes, shortly followed by the warning. Server is Windows Server 2003, The App Pool uses the Network Service account and runs under .NET 2.0. Is this a known problem? Any ideas how to solve this. Thanks in advance. Philipp Uihlein Warning and Error in Application Event Log:
Event Type: Warning Event Source: Application Error Event Category: None Event ID: 0 Date: 12.02.2007 Time: 20:22:50 User: N/A Computer: xxxxxx Description: The description for Event ID ( 0 ) in Source ( Application Error ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Problem while trying to write to Application/c360.Logging: System.Security.SecurityException: Requested registry access is not allowed. at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource) at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) at System.Diagnostics.EventLog.CreateEventSource(EventSourceCreationData sourceData) at System.Diagnostics.EventLog.VerifyAndCreateSource(String sourceName, String currentMachineName) at System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) at System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type) at c360.Toolkit.Utility.Helper.ᜀ(EventLogEntryType A_0, String A_1, String A_2, String A_3) The Zone of the assembly that failed was: MyComputer. Event Type: Error Event Source: Application Error Event Category: None Event ID: 0 Date: 12.02.2007 Time: 20:22:50 User: N/A Computer: xxxxxx Description: The description for Event ID ( 0 ) in Source ( Application Error ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Error while writing a log entry to log c360: ******[ BEGIN LOG RECORD ]******* Message: xxxxxx Log Level: 1100: SEVERE Timestamp: 2/12/2007 8:22:50 PM Source Class: c360.Toolkit.MsCrm.Controls.Grid Source Method: ᜀ Source Assembly: c360.Toolkit.UI, Version=3.0.7.1025, Culture=neutral, PublicKeyToken=null Code: ******[ EXCEPTION ]******* Exception: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetRequestStream() at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at c360.Toolkit.Reports.ReportingService.ListChildren(String Item, Boolean Recursive) at c360.Toolkit.Reports.ReportsService.ᜀ() at c360.Toolkit.Reports.ReportsService.ᜀ(String A_0) at c360.Toolkit.Reports.ReportsService.ListEntityReports(String entityType) at c360.Toolkit.MsCrm.Controls.Grid.ᜀ(HtmlTextWriter A_0) ******[ EXCEPTION ]******* Exception: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) ******[ CONTEXT DATA ]******* Application Name: c360 Toolkit Controls Application ID: User ID: Transaction Id: Sequence: 189 Host IP/Name: xxxxxx Instance Name: /LM/W3SVC/1/Root/vDir-1-128157703928443096 Process ID: 4696 Process Name: c:\windows\system32\inetsrv\w3wp.exe Win 32 Thread ID: 3124 Thread ID: 3124 Thread Authentication type: Negotiate Thread Identity: DOMAIN\USER Process Authentication type: Kerberos Process Identity: DOMAIN\USER Screen Resolution: 1280x768 Web User Identity: DOMAIN\USER Is Authenticated: True Server Machine Name: xxxxxx Request Timestamp: 2/12/2007 8:22:48 PM HTTP Method: GET URL: /vDir/SomeFile.aspx?oId={4A7F73F6-CCBA-DB11-8F81-005056A2135F} User Hostname: 53.77.31.11 Secure Connection: True *********** HTTP Headers ************* Connection: Keep-Alive Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */* Accept-Encoding: gzip, deflate Accept-Language: de Authorization: Negotiate YIITCwYGKwYBBQUCo Host: xxxx.yyy.com Referer: https://xxxx.yyy.com/sfa/accts/edit.aspx?id={4A7F73F6-CCBA-DB11-8F81-005056A2135F} User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; dcdev001; .NET CLR 1.1.4322; .NET CLR 2.0.50727) ************************************** Application Path: /vDir Browser: System.Web.Mobile.MobileCapabilities Content Encoding: utf-8 Content Length: 0 Content Type: Execution File Path: /vDir/ xxxxxx.aspx *********** HTTP Form Data ************* ***********************************
*****[ END LOG RECORD ]***** System.Security.SecurityException: Requested registry access is not allowed. at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource) at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) at System.Diagnostics.EventLog.CreateEventSource(EventSourceCreationData sourceData) at System.Diagnostics.EventLog.VerifyAndCreateSource(String sourceName, String currentMachineName) at System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) at System.Diagnostics.EventLog.WriteEntry(String source, String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) at System.Diagnostics.EventLog.WriteEntry(String source, String message, EventLogEntryType type) at c360.Toolkit.Logging.Handlers.EventLogHandler.ᜀ(LogRecord A_0) The Zone of the assembly that failed was: MyComputer. Warning in System Event Log: Event Type: Warning Event Source: W3SVC Event Category: None Event ID: 1009 Date: 12.02.2007 Time: 09:39:38 User: N/A Computer: xxxxxx Description: A process serving application pool 'C360AppPool' terminated unexpectedly. The process id was '2124'. The process exit code was '0xc0000005'. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. |