Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
- User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-3006700770-424185619-1745488364-794895919-4004696415\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest.
- info: Microsoft.Hosting.Lifetime[0]
- Application started. Press Ctrl+C to shut down.
- info: Microsoft.Hosting.Lifetime[0]
- Hosting environment: Production
- info: Microsoft.Hosting.Lifetime[0]
- Content root path: C:\Users\Администратор\Desktop\SMSService
- info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
- Request starting HTTP/1.1 GET http://localhost/
- warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
- Failed to determine the https port for redirect.
- info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
- Executing endpoint 'SMSServicePanel.Controllers.accountController.Index (SMSServicePanel)'
- info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
- Route matched with {action = "Index", controller = "account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index() on controller SMSServicePanel.Controllers.accountController (SMSServicePanel).
- info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
- Entity Framework Core 5.0.6 initialized 'EFUserDBContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
- info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[1]
- Executing ViewResult, running view Index.
- info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[4]
- Executed ViewResult - view Index executed in 131.5157ms.
- info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
- Executed action SMSServicePanel.Controllers.accountController.Index (SMSServicePanel) in 821.6274ms
- info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
- Executed endpoint 'SMSServicePanel.Controllers.accountController.Index (SMSServicePanel)'
- info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
- Request finished in 943.0322ms 200 text/html; charset=utf-8
- info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
- Request starting HTTP/1.1 POST http://localhost/index application/x-www-form-urlencoded 222
- info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
- Executing endpoint 'SMSServicePanel.Controllers.accountController.Index (SMSServicePanel)'
- info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
- Route matched with {action = "Index", controller = "account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index(SMSServicePanel.Models.RegistrationModels.LoginUser) on controller SMSServicePanel.Controllers.accountController (SMSServicePanel).
- info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
- Entity Framework Core 5.0.6 initialized 'EFUserDBContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
- info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
- Request starting HTTP/1.1 GET http://localhost/
- info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
- Executing endpoint 'SMSServicePanel.Controllers.accountController.Index (SMSServicePanel)'
- info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
- Route matched with {action = "Index", controller = "account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index() on controller SMSServicePanel.Controllers.accountController (SMSServicePanel).
- info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
- Entity Framework Core 5.0.6 initialized 'EFUserDBContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
- info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[1]
- Executing ViewResult, running view Index.
- info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[4]
- Executed ViewResult - view Index executed in 6.1838ms.
- info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
- Executed action SMSServicePanel.Controllers.accountController.Index (SMSServicePanel) in 58.7286ms
- info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
- Executed endpoint 'SMSServicePanel.Controllers.accountController.Index (SMSServicePanel)'
- info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
- Request finished in 62.8491ms 200 text/html; charset=utf-8
- info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
- Request starting HTTP/1.1 GET http://localhost/
- info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
- Executing endpoint 'SMSServicePanel.Controllers.accountController.Index (SMSServicePanel)'
- info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
- Route matched with {action = "Index", controller = "account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index() on controller SMSServicePanel.Controllers.accountController (SMSServicePanel).
- info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
- Entity Framework Core 5.0.6 initialized 'EFUserDBContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
- info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[1]
- Executing ViewResult, running view Index.
- info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[4]
- Executed ViewResult - view Index executed in 4.0309ms.
- info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
- Executed action SMSServicePanel.Controllers.accountController.Index (SMSServicePanel) in 5.8229ms
- info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
- Executed endpoint 'SMSServicePanel.Controllers.accountController.Index (SMSServicePanel)'
- info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
- Request finished in 7.5267ms 200 text/html; charset=utf-8
- fail: Microsoft.EntityFrameworkCore.Database.Connection[20004]
- An error occurred using the connection to database '' on server '(localdb)\DeptLocalDB'.
- fail: Microsoft.EntityFrameworkCore.Query[10100]
- An exception occurred while iterating over the results of a query for context type 'SMSServicePanel.Models.EFUserDBContext'.
- Microsoft.Data.SqlClient.SqlException (0x80131904): 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: SNI_PN11, error: 50 - Local Database Runtime error occurred. Не удалось получить путь к данным локального приложения. Вероятнее всего, не загружен профиль пользователя. Если экземпляр LocalDB выполняется под управлением IIS, проверьте, включена ли загрузка профиля для текущего пользователя.
- )
- ---> System.ComponentModel.Win32Exception (0x89C50120): Unknown error (0x89c50120)
- at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
- at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
- at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover, SqlAuthenticationMethod authType)
- at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
- at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
- at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
- at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
- at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
- at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
- at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
- at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
- at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()
- --- End of stack trace from previous location where exception was thrown ---
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
- ClientConnectionId:00000000-0000-0000-0000-000000000000
- Error Number:-1983577824,State:0,Class:20
- Microsoft.Data.SqlClient.SqlException (0x80131904): 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: SNI_PN11, error: 50 - Local Database Runtime error occurred. Не удалось получить путь к данным локального приложения. Вероятнее всего, не загружен профиль пользователя. Если экземпляр LocalDB выполняется под управлением IIS, проверьте, включена ли загрузка профиля для текущего пользователя.
- )
- ---> System.ComponentModel.Win32Exception (0x89C50120): Unknown error (0x89c50120)
- at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
- at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
- at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover, SqlAuthenticationMethod authType)
- at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
- at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
- at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
- at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
- at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
- at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
- at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
- at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
- at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()
- --- End of stack trace from previous location where exception was thrown ---
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
- ClientConnectionId:00000000-0000-0000-0000-000000000000
- Error Number:-1983577824,State:0,Class:20
- info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
- Executed action SMSServicePanel.Controllers.accountController.Index (SMSServicePanel) in 30183.8472ms
- info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
- Executed endpoint 'SMSServicePanel.Controllers.accountController.Index (SMSServicePanel)'
- fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1]
- An unhandled exception has occurred while executing the request.
- Microsoft.Data.SqlClient.SqlException (0x80131904): 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: SNI_PN11, error: 50 - Local Database Runtime error occurred. Не удалось получить путь к данным локального приложения. Вероятнее всего, не загружен профиль пользователя. Если экземпляр LocalDB выполняется под управлением IIS, проверьте, включена ли загрузка профиля для текущего пользователя.
- )
- ---> System.ComponentModel.Win32Exception (0x89C50120): Unknown error (0x89c50120)
- at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
- at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
- at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover, SqlAuthenticationMethod authType)
- at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
- at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
- at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
- at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
- at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
- at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
- at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
- at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
- at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()
- --- End of stack trace from previous location where exception was thrown ---
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
- at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
- at SMSServicePanel.Controllers.accountController.Index(LoginUser model) in C:\Users\DELL\source\repositories\SMSServicePanel\SMSServicePanel\Controllers\accountController.cs:line 92
- at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
- at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
- at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
- at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
- at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
- ClientConnectionId:00000000-0000-0000-0000-000000000000
- Error Number:-1983577824,State:0,Class:20
- info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
- Request finished in 30227.1478ms 0
- info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
- Request starting HTTP/1.1 POST http://localhost/index application/x-www-form-urlencoded 231
- info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
- Executing endpoint 'SMSServicePanel.Controllers.accountController.Index (SMSServicePanel)'
- info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
- Route matched with {action = "Index", controller = "account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index(SMSServicePanel.Models.RegistrationModels.LoginUser) on controller SMSServicePanel.Controllers.accountController (SMSServicePanel).
- info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
- Entity Framework Core 5.0.6 initialized 'EFUserDBContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
- fail: Microsoft.EntityFrameworkCore.Database.Connection[20004]
- An error occurred using the connection to database '' on server '(localdb)\DeptLocalDB'.
- fail: Microsoft.EntityFrameworkCore.Query[10100]
- An exception occurred while iterating over the results of a query for context type 'SMSServicePanel.Models.EFUserDBContext'.
- Microsoft.Data.SqlClient.SqlException (0x80131904): 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: SNI_PN11, error: 50 - Local Database Runtime error occurred. Не удалось получить путь к данным локального приложения. Вероятнее всего, не загружен профиль пользователя. Если экземпляр LocalDB выполняется под управлением IIS, проверьте, включена ли загрузка профиля для текущего пользователя.
- )
- ---> System.ComponentModel.Win32Exception (0x89C50120): Unknown error (0x89c50120)
- at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
- at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
- at Microsoft.Data.SqlClient.SqlConnection.OpenAsync(CancellationToken cancellationToken)
- --- End of stack trace from previous location where exception was thrown ---
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
- ClientConnectionId:00000000-0000-0000-0000-000000000000
- Error Number:-1983577824,State:0,Class:20
- Microsoft.Data.SqlClient.SqlException (0x80131904): 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: SNI_PN11, error: 50 - Local Database Runtime error occurred. Не удалось получить путь к данным локального приложения. Вероятнее всего, не загружен профиль пользователя. Если экземпляр LocalDB выполняется под управлением IIS, проверьте, включена ли загрузка профиля для текущего пользователя.
- )
- ---> System.ComponentModel.Win32Exception (0x89C50120): Unknown error (0x89c50120)
- at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
- at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
- at Microsoft.Data.SqlClient.SqlConnection.OpenAsync(CancellationToken cancellationToken)
- --- End of stack trace from previous location where exception was thrown ---
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
- ClientConnectionId:00000000-0000-0000-0000-000000000000
- Error Number:-1983577824,State:0,Class:20
- info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
- Executed action SMSServicePanel.Controllers.accountController.Index (SMSServicePanel) in 17.6519ms
- info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
- Executed endpoint 'SMSServicePanel.Controllers.accountController.Index (SMSServicePanel)'
- fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1]
- An unhandled exception has occurred while executing the request.
- Microsoft.Data.SqlClient.SqlException (0x80131904): 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: SNI_PN11, error: 50 - Local Database Runtime error occurred. Не удалось получить путь к данным локального приложения. Вероятнее всего, не загружен профиль пользователя. Если экземпляр LocalDB выполняется под управлением IIS, проверьте, включена ли загрузка профиля для текущего пользователя.
- )
- ---> System.ComponentModel.Win32Exception (0x89C50120): Unknown error (0x89c50120)
- at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
- at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
- at Microsoft.Data.SqlClient.SqlConnection.OpenAsync(CancellationToken cancellationToken)
- --- End of stack trace from previous location where exception was thrown ---
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
- at Microsoft.EntityFramewo
Advertisement
Add Comment
Please, Sign In to add comment