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: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)

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: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)

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: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)]
   Syscom.GM5.ClassLibrary.DataAccessTools.ExceptionHandler(SqlException ex, String StoredProcedureName, ArrayList Params) +322
   Syscom.GM5.PresentationTools.HttpHandler.ReturnHandler404(HttpContext Context, String RequestType, String Url, String Path, AuthenticatedUser AuthenticatedUser, Site Site, String Nodepath) +112
   Syscom.GM5.ClassLibrary.DataAccessTools.ExecuteProcedure(String sProcedureName, ArrayList arrParameters, DataSet& oDataSet, CommandType cmdType) +306
   Syscom.GM5.PresentationTools.HttpHandler.ReturnHandler404(HttpContext Context, String RequestType, String Url, String Path, AuthenticatedUser AuthenticatedUser, Site Site, String Nodepath) +112
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +175
   Syscom.GM5.ClassLibrary.User.GetGroups(Int64 UserID) +141
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +175
   Syscom.GM5.ClassLibrary.GMReadOnlyCollectionBase.Refresh() +52
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120
   Syscom.GM5.ClassLibrary.GMReadOnlyCollectionBase.GetEnumerator() +34
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
   Syscom.GM5.ClassLibrary.User.UserBase.get_UserGroupsIdentifier() +153
   Syscom.GM5.PresentationTools.HttpHandler.GetSite(HttpContext& Context, AuthenticatedUser AuthenticatedUser) +226
   Syscom.GM5.PresentationTools.HttpHandler.GetHandler(HttpContext Context, String RequestType, String Url, String Path) +427
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +175
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210