Error: 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)
In: at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues)
at Bring2mind.DNN.Modules.DMX.Security.Permissions.EntryPermissionController.GetEntryPermissionsCollection(Int32 PortalId, Int32 EntryId)
at Bring2mind.DNN.Modules.DMX.Entities.Entries.EntriesController.FillEntryInfo(IDataReader dr, Boolean IncludePermissions, Boolean IncludeAttributes, Boolean CheckForOpenDataReader, Boolean CloseReader)
at Bring2mind.DNN.Modules.DMX.Entities.Entries.EntriesController.GetCollectionContents(Int32 PortalId, Int32 CollectionId, Int32 UserId, Boolean UserIsAdmin, String Locale, Boolean IncludePermissions, Boolean IncludeAttributes, Boolean IncludeDeleted, Boolean IncludeHidden, String Sort, Int32& TotalCount, Int32 StartRecord, Int32 EndRecord)
at Bring2mind.DNN.Modules.DMX.Views.TemplateView.vtContents_GetData(String DataSource, Dictionary`2 Parameters, List`1& Replacers, List`1& Arguments)
at Bring2mind.DNN.Modules.DMX.Services.Templating.ViewTemplate.Template_GetData(String DataSource, Dictionary`2 Parameters, List`1& Replacers, List`1& Arguments)
at Bring2mind.DNN.Modules.DMX.Services.Templating.Template.Template_GetData(String DataSource, Dictionary`2 Parameters, List`1& Replacers, List`1& Arguments)
at Bring2mind.DNN.Modules.DMX.Services.Templating.Template.ReplaceSubtemplates(Match m)
at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat)
at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator)
at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, MatchEvaluator evaluator)
at Bring2mind.DNN.Modules.DMX.Services.Templating.Template.ReplaceContents()