Application Disconnectivity Issue!

  • Dear Team ,

    Iam Facing an issue in production environment, while i have connected to DB server Application hang and stop working untill i am restart the DB server and reset the IIS on Application server, Below is the following error which i recieve on Application Server

    An error occurred while the Distributor was processing the message. Please check your configuration files for errors or typos. Verify that your sinks are reachable (queues exist, permissions are set, database exists, etc...)

    Sink failed because: System.Security.SecurityException: Requested registry access is not allowed.

    at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)

    at System.Diagnostics.EventLog.CreateEventSource(String source, String logName, String machineName, Boolean useMutex)

    at System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)

    at System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category)

    at Microsoft.Practices.EnterpriseLibrary.Logging.Sinks.EventLogSink.SendMessageCore(LogEntry logEntry).

    Message:

    Timestamp: 31/08/2012 6:37:05 PM

    Message: HandlingInstanceID: 428afa5c-b39e-470b-baca-ce978c0460c0

    An exception of type 'System.Data.SqlClient.SqlException' occurred and was caught.

    ----------------------------------------------------------------------------------

    08/31/2012 18:37:05

    Type : System.Data.SqlClient.SqlException, System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

    Message : Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

    Source : .Net SqlClient Data Provider

    Help link :

    Errors : System.Data.SqlClient.SqlErrorCollection

    Class : 10

    LineNumber : 0

    Number : -2

    Procedure : ConnectionRead (recv()).

    Server : 53.90.42.81

    State : 0

    TargetSite : System.Data.SqlClient.SqlDataReader ExecuteReader(System.Data.CommandBehavior, System.Data.SqlClient.RunBehavior, Boolean)

    Stack Trace : at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)

    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)

    at System.Data.SqlClient.SqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)

    at System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)

    at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)

    at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)

    at Cap.Persistence.Components.Proposal.ProposalControlPanelPO.Read(ProposalCPSearchOpts pPCPOptions, IDbConnection connection)

    Additional Info:

    MachineName : SADC642A

    TimeStamp : 31/08/2012 10:37:05 AM

    FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null

    AppDomainName : /LM/W3SVC/1/Root/CAPWeb-1-129908541618294893

    ThreadIdentity : sam

    WindowsIdentity : NT AUTHORITY\NETWORK SERVICE

    Category: General

    Priority: 0

    EventId: 100

    Severity: Error

    Title:Enterprise Library Exception Handling

    Machine: SADC642A

    App Domain: /LM/W3SVC/1/Root/CAPWeb-1-129908541618294893

    ProcessId: 2232

    Process Name: c:\windows\system32\inetsrv\w3wp.exe

    Thread Name:

    Win32 ThreadId:2528

    Extended Properties:

  • This is because your sql is timing out.

    Message : Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

    You can adjust the timeout in your connection or better still would be to improve the process so it doesn't take so long.

    See this article about how to post performance problems. http://www.sqlservercentral.com/articles/SQLServerCentral/66909/%5B/url%5D

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply