System.Data.SqlClient.SqlException: 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) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at VSIControl.SqlConn(Boolean blnNew)
System.NullReferenceException: SqlConnection has not been supplied at VSIDatabase.GetTable(String strSQL, SqlConnection sqlConn) in W:\IIS_WEBS\ThomasCookPublishingV1\bin\VSIFunctions2\VSIDatabase.vb:line 15 at VSIDatabase.Bind(Object ctlControl, String strSQL, SqlConnection sqlConn) in W:\IIS_WEBS\ThomasCookPublishingV1\bin\VSIFunctions2\VSIDatabase.vb:line 121 at HeaderSearch.First_Load(Object sender, EventArgs args)
System.Data.SqlClient.SqlException: 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) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at VSIControl.SqlConn(Boolean blnNew)
System.InvalidOperationException: Fill: SelectCommand.Connection property has not been initialized. at System.Data.Common.DbDataAdapter.GetConnection3(DbDataAdapter adapter, IDbCommand command, String method) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at HomeOffers.Refresh(Boolean blnBind) in W:\IIS_WEBS\ThomasCookPublishingV1\bin\ProductInfo\HomeOffers.vb:line 71
System.Data.SqlClient.SqlException: 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) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at VSIControl.SqlConn(Boolean blnNew)
System.NullReferenceException: SqlConnection has not been supplied at VSIDatabase.GetTable(String strSQL, SqlConnection sqlConn) in W:\IIS_WEBS\ThomasCookPublishingV1\bin\VSIFunctions2\VSIDatabase.vb:line 15 at VSIBlogPostList.Refresh(Boolean blnBind)
System.Data.SqlClient.SqlException: 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) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at VSIMaster.SqlConn(Boolean blnNew)
System.NullReferenceException: SqlConnection has not been supplied at VSIDatabase.GetTable(String strSQL, SqlConnection sqlConn) in W:\IIS_WEBS\ThomasCookPublishingV1\bin\VSIFunctions2\VSIDatabase.vb:line 15 at VSIDatabase.GetRow(String strSQL, SqlConnection sqlConn, Int32 iRowIndex) in W:\IIS_WEBS\ThomasCookPublishingV1\bin\VSIFunctions2\VSIDatabase.vb:line 33 at VSIMaster.GetAreaId(String strAreaName)
System.Data.SqlClient.SqlException: 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) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at VSIMaster.SqlConn(Boolean blnNew)
System.NullReferenceException: SqlConnection has not been supplied at VSIDatabase.GetTable(String strSQL, SqlConnection sqlConn) in W:\IIS_WEBS\ThomasCookPublishingV1\bin\VSIFunctions2\VSIDatabase.vb:line 15 at VSIDatabase.GetRow(String strSQL, SqlConnection sqlConn, Int32 iRowIndex) in W:\IIS_WEBS\ThomasCookPublishingV1\bin\VSIFunctions2\VSIDatabase.vb:line 33 at VSIMaster.GetAreaId(String strAreaName)
System.Data.SqlClient.SqlException: 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) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at VSIControl.SqlConn(Boolean blnNew)
System.Data.SqlClient.SqlException: 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) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at VSIControl.SqlConn(Boolean blnNew)
Server Error

Server Error in '/' Application.

Object reference not set to an instance of an object.

Exception Type: System.NullReferenceException

Stack Trace:

at VSIMenu.Pre_Render(Object sender, EventArgs args)
at System.Web.UI.Control.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Source File: D:\IIS_Webs\ThomasCookPublishingV1\blog.aspx (VSIMenu | Void Pre_Render(System.Object, System.EventArgs))
Data Keys: