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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

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)]
   Syscom.GM5.ClassLibrary.DataAccessTools.ExceptionHandler(SqlException ex, String StoredProcedureName, ArrayList Params) +242
   Syscom.GM5.ClassLibrary.DataAccessTools.ExecuteProcedure(String sProcedureName, ArrayList arrParameters, DataSet& oDataSet, CommandType cmdType) +207
   Syscom.GM5.ClassLibrary.gmDataAccess.ReturnTable(String sproc, ArrayList Args, Boolean ThrowNoDataFoundException) +78
   Syscom.GM5.ClassLibrary.User.GetGroups(Int64 UserID) +107
   Syscom.GM5.ClassLibrary.Admin.RelatedUserGroupCollection.GetItems() +35
   Syscom.GM5.ClassLibrary.GMReadOnlyCollectionBase.Refresh() +14
   Syscom.GM5.ClassLibrary.GMReadOnlyCollectionBase.GetEnumerator() +24
   Syscom.GM5.ClassLibrary.User.UserBase.get_UserGroupsIdentifier() +65
   Syscom.GM5.PresentationTools.HttpHandler.GetSite(HttpContext& Context, AuthenticatedUser AuthenticatedUser) +81
   Syscom.GM5.PresentationTools.HttpHandler.GetHandler(HttpContext Context, String RequestType, String Url, String Path) +498
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +175
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +128
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +161


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433