Server Error in '/' Application.
--------------------------------------------------------------------------------
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Source Error:
Line 38: static private void Application_Init()
Line 39: {
Line 40: AppHolder.Init( (NoxForumConfigurationSection)ConfigurationManager.GetSection( "NoxForumConfiguration" ) );
Line 41:
Line 42:
Source File: d:\zhaix\websites\cndev.org#www\App_Code\NoxHttpModule.cs Line: 40
Stack Trace:
[SqlException (0x80131904): An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +454
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +85
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +104
System.Data.SqlClient.SqlConnection.Open() +177
Nox.Common.Data.SqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +96
Nox.Common.Data.SqlDbProvider.ExecuteScalar(String sql, SqlParameter[] p) +43
NoxForum.Framework.AppHolder.LoadSettings() +111
NoxForum.Framework.AppHolder.Init(NoxForumConfigurationSection configSection) +482
NoxHttpModule.Application_Init() in d:\zhaix\websites\cndev.org#www\App_Code\NoxHttpModule.cs:40
NoxHttpModule.System.Web.IHttpModule.Init(HttpApplication context) in d:\zhaix\websites\cndev.org#www\App_Code\NoxHttpModule.cs:94
System.Web.HttpApplication.InitModulesCommon() +67
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1000
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +276
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +123
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +349
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433