An error occurred while attaching module (Dynamicweb.Frontend.Content)

System.Data.EntityException: The underlying provider failed on Open. ---> 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   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.ProviderBase.DbConnectionClosed.TryOpenConnection(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 System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure)
   --- End of inner exception stack trace ---
   at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure)
   at System.Data.EntityClient.EntityConnection.Open()
   at System.Data.Objects.ObjectContext.EnsureConnection()
   at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator()
   at System.Data.Entity.Internal.Linq.InternalQuery`1.GetEnumerator()
   at System.Data.Entity.Infrastructure.DbQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator()
   at NemlejeSharedServiceData.DataAccess.TenancyDB.GetAll() in C:\Projects\dynamicweb\StandardModules\NemlejeV2\Source\NemlejeSharedService\Source\NemlejeSharedServiceData\DataAccess\TenancyDB.cs:line 167
   at NemlejeSharedServiceData.DataAccess.TenancyDB.<>c.b__3_0() in C:\Projects\dynamicweb\StandardModules\NemlejeV2\Source\NemlejeSharedService\Source\NemlejeSharedServiceData\DataAccess\TenancyDB.cs:line 258
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at LazyCache.CachingService.GetOrAdd[T](String key, Func`1 addItemFactory, CacheItemPolicy policy)
   at LazyCache.CachingService.GetOrAdd[T](String key, Func`1 addItemFactory, DateTimeOffset expires)
   at NemlejeSharedServiceData.DataAccess.TenancyDB.GetAllLazy() in C:\Projects\dynamicweb\StandardModules\NemlejeV2\Source\NemlejeSharedService\Source\NemlejeSharedServiceData\DataAccess\TenancyDB.cs:line 258
   at NemlejeSharedServiceData.DataAccess.TenancyDB.GetAllTenancies() in C:\Projects\dynamicweb\StandardModules\NemlejeV2\Source\NemlejeSharedService\Source\NemlejeSharedServiceData\DataAccess\TenancyDB.cs:line 41
   at NemlejeSharedServiceDW9.CustomModules.NemlejeShared_Views.NemlejeShared_ViewsConfig.GetTenancies() in C:\Projects\dynamicweb\StandardModules\NemlejeSharedService\Source\NemlejeSharedServiceDW9\NemlejeSharedServiceDW9\CustomModules\NemlejeShared_Views\NemlejeShared_ViewsConfig.cs:line 199
   at NemlejeSharedServiceDW9.CustomModules.NemlejeShared_Views.NemlejeShared_ViewsConfig.get_Tenancies() in C:\Projects\dynamicweb\StandardModules\NemlejeSharedService\Source\NemlejeSharedServiceDW9\NemlejeSharedServiceDW9\CustomModules\NemlejeShared_Views\NemlejeShared_ViewsConfig.cs:line 90
   at NemlejeSharedServiceDW9.CustomModules.NemlejeShared_Views.NemlejeShared_Views.AddTenancies() in C:\Projects\dynamicweb\StandardModules\NemlejeSharedService\Source\NemlejeSharedServiceDW9\NemlejeSharedServiceDW9\CustomModules\NemlejeShared_Views\NemlejeShared_Views.cs:line 94
   at NemlejeSharedServiceDW9.CustomModules.NemlejeShared_Views.NemlejeShared_Views.GetContent() in C:\Projects\dynamicweb\StandardModules\NemlejeSharedService\Source\NemlejeSharedServiceDW9\NemlejeSharedServiceDW9\CustomModules\NemlejeShared_Views\NemlejeShared_Views.cs:line 76
   at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)

Acceptér cookies fra www.boinord.dk

Denne hjemmeside bruger cookies til af forbedre din oplevelse af sitet

Du kan altid slette cookies via de avancerede indstillinger i din browser