A network-related or instance-specific error occurred while establishing a connection

  • Hi,

    From some days I am facing this error.

    This error occurred frequently after some time on accessing the website.

    But database from mgmt studio is always accessible without any interruption.

    plz help.

    bleow log details.

    Event code: 3005

    Event message: An unhandled exception has occurred.

    Event time: 11/14/2013 1:03:22 PM

    Event time (UTC): 11/14/2013 7:33:22 AM

    Event ID: d0361da82cd84612abf9903eec00cce8

    Event sequence: 90

    Event occurrence: 1

    Event detail code: 0

    Application information:

    Application domain: /LM/W3SVC/6/ROOT-4-130288878865308414

    Trust level: Full

    Application Virtual Path: /

    Application Path: C:\inetpub\wwwroot\intranetuat\

    Machine name: mysysname

    Process information:

    Process ID: 14476

    Process name: w3wp.exe

    Account name: IIS APPPOOL\intranetuat

    Exception information:

    Exception type: SqlException

    Exception message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

    Request information:

    Request URL: http://intranetuat.com/leaverequestform.aspx

    Request path: /leaverequestform.aspx

    User host address: 192.168.10.10

    User:

    Is authenticated: False

    Authentication Type:

    Thread account name: IIS APPPOOL\intranetuat

    Thread information:

    Thread ID: 14

    Thread account name: IIS APPPOOL\intranetuat

    Is impersonating: False

    Stack trace: at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)

    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

    at System.Data.SqlClient.SqlConnection.Open()

    at Db.GetConnection()

    at Db.getListofPendingRequest(String mailid)

    at MainMaster.Page_Load(Object sender, EventArgs e)

    at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)

    at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)

    at System.EventHandler.Invoke(Object sender, EventArgs e)

    at System.Web.UI.Control.OnLoad(EventArgs e)

    at System.Web.UI.Control.LoadRecursive()

    at System.Web.UI.Control.LoadRecursive()

    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Custom event details:

    Thanks.......
    -----------------------------------
    My Blog[/url] | Articles

Viewing 0 posts

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