Я развернул свое приложение в AWS. Когда я запускаю приложение, оно кажется работающим, но проблема в том, что я пытаюсь зарегистрироваться или войти в систему. Выдает ошибку:
Ошибка сервера в приложении '/'. Имя участника назначения неверно. Невозможно сгенерировать контекст SSPI. Описание: во время выполнения текущего веб-запроса произошло необработанное исключение. Пожалуйста, просмотрите трассировку стека для получения дополнительной информации об ошибке и о том, где она возникла в коде.
Сведения об исключении: System.Data.SqlClient.SqlException: Неверное имя целевого участника. Не удается сгенерировать контекст SSPI.
Ошибка источника:
var result = await SignInManager.PasswordSignInAsyn c (model.Email, model.Password,> model.RememberMe, shouldLockout: false); Строка 89: переключатель (результат) Строка 90: {
[SqlException (0x80131904): неверное имя конечного участника. Невозможно сгенерировать контекст SSPI.]
System.Data.ProviderBase.DbConnectionPool.TryGetConnection (DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection * 101.ConnectionBoctionPlayingOpp. TryGetConnection (DbConnection owningObject, TaskCompletionSource 1 retry, DbConnectionOptions
userOptions, DbConnectionInternal& connection) +108<br>
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection
owningConnection, TaskCompletionSource
1, повторная попытка, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal & connection) + 937
System.Data.ProviderBase.DbternalnectionConnectOctionConnectionConnectionConnectionConnectionConnectionConnectionConnectionConnectionConnectionConnectionConnectionConnectionConnectionConnectionConnectionConnectionConnectionFction userOptions) + 17
System.Data.SqlClient.SqlConnection.TryOpenInner (TaskCompletionSource 1
retry) +139<br>
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource
1 повтор) +448 System.Data.SqlClient.SqlConnection.Open () + 129
System.Data.Entity.Infrastructure. Interception.DbConnectionDispatcher.b__36 (DbConnection t, DbConnectionInterc eptionContext c) + 10
System.Data.Entity.Infrastructure.Interception.InternalDispatcher 1.Dispatch(TTarget
target, Action
2 операция, TInterceptionContext interceptionContext, действие 3 executing, Action
3 выполнено) + 72
System.Data.Entity.Infrastructure. Interception.DbConnectionDispatcher.Open (соединение DbConnection, DbInterceptionContext interceptionContext) + 360
System.Data.Entity.SqlServer. <> C__DisplayClass33.b__32 () +426 System.Data.Entity.SqlServer. System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute (Fun c1
operation) +189<br>
System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Action
operation) +78<br>
System.Data.Entity.SqlServer.SqlProviderServices.UsingConnection(DbConnection
sqlConnection, Action
1 act) + 175
System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection (действие DbConnection sqlConnection * 1032, 1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript) + 90
System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase (соединение DbConnection, Nullable 1 commandTimeout, StoreItemCollection
storeItemCollection) +171<br>
System.Data.Entity.Core.Common.DbProviderServices.CreateDatabase(DbConnection
connection, Nullable
1 commandTimeout, StoreItemCollection storeItemColity store.DataColite + 76.EntEntity store. Core.Objects.ObjectContext.CreateDatabas e () + 134
System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create (соединение DbConnection) + 119
System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists (Действие mustSucceedToKeepDatabase) + 142
System.Data.Entity.Migrations.DbMigrator.Update (String targetMigration) + 78
System.Data.Entity.Internal.DatabaseCreator.CreateDatabase (InternalContext internalContext, Fun * c3 createMigrator, ObjectContext objectContext)
+89 System.Data.Entity.Internal.InternalContext.CreateDatabase(ObjectContext
objectContext, DatabaseExistenceState existenceState) +116<br>
System.Data.Entity.Database.Create(DatabaseExistenceState
existenceState) +218<br>
System.Data.Entity.CreateDatabaseIfNotExists
1.InitializeDatabase (контекст TContext) + 151
System.Data.Entity.Internal. <> C__DisplayClassf 1.<CreateInitializationAction>b__e()
+76 System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action
action) +60<br>
System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
+357 System.Data.Entity.Internal.LazyInternalContext.<InitializeDatabase>b__4(InternalContext
c) +7<br>
System.Data.Entity.Internal.RetryAction
1.PerformAction (вход TInput) +110 System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction (Действие 1
action) +198<br>
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase()
+73 System.Data.Entity.Internal.InternalContext.Initialize() +30 System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type
entityType) +16<br>
System.Data.Entity.Internal.Linq.InternalSet
1.Initialize () +53
System.Data.Entity.Internal.Linq.InternalSet 1.get_InternalContext()
+15 System.Data.Entity.Infrastructure.DbQuery
1.System.Linq.IQueryable.get_Provider () +38 System.Data.Entity.QueryableExtensions.FirstOrDefaultAsyn c (предикат IQueryable 1
source, Expression
1, Отмена взята Отмена взята) +138 System.Data.Entity.QueryableExtensions.FirstOrDefaultAsyn c (предикат IQueryable 1
source, Expression
1) + 145
Microsoft.As pNet .Identity.EntityFramework.d__67.MoveNext () +402 System.Runvices.Ciler .TaskAwaiter.ThrowForNonSuccess (задача-задача) + 102
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (задача-задача) +64 Microsoft.As pNet .Identity.CultureAwaiter 1.GetResult()
+59 Microsoft.AspNet.Identity.Owin.<PasswordSignInAsync>d__25.MoveNext()
+309 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
task) +102<br>
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task) +64 System.Runtime.CompilerServices.TaskAwaiter
1. Получите вознаграждение Controllers.d__13.MoveNext () в D: \ Aayumitra_Doctor \ Aayumitra \ Controllers \ AccountController.cs: 88
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (задача задачи) + 102
System.Runvices.KasSerSiler .HandleNonSuccessAndDebuggerNotification (Задача) + 64
System.Web. Mvc .Asyn c .TaskAsyncActionDescriptor.EndExecute (IAsyncResult asyncResult) + 97
System.Web. c .yn. > c__DisplayClass8_0.b__1 (IAsyncResult asyncResult) + 17
System.Web. Mvc .Asyn c .WrappedAsyncResult 1.CallEndDelegate(IAsyncResult
asyncResult) +10<br>
System.Web.Mvc.Async.WrappedAsyncResultBase
1.End () + 49
Система. Web. Mvc .Asyn c .AsyncControllerActionInvoker.EndInvokeActionMethod (IAsyncResult asyncResult) + 32
System.Web. Mvc .Asyn c .AsyncInvocationWithFilters.b__1100W () .Asyn c. <> C__DisplayClass11_1.b__2 () +228 System.Web. Mvc .Asyn c. <> C__DisplayClass7_0.b__1 (IAsyncResult asyncResult) + 10
System.Web. Mvc. Asyn c .WrappedAsyncResult 1.CallEndDelegate(IAsyncResult
asyncResult) +10<br>
System.Web.Mvc.Async.WrappedAsyncResultBase
1.End () + 49
System.Web. Mvc .Asyn c .AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters (IAsyncResult * asyncResult) 110. 34W 1062). * .Asyn c. <> C__DisplayClass3_6.b__3 () +35 System.Web. Mvc .Asyn c. <> C__DisplayClass3_1.b__5 (IAsyncResult asyncResult) + 100
System.Web. Mvc .Asyn c .WrappedAsyncResult 1.CallEndDelegate(IAsyncResult
asyncResult) +10<br>
System.Web.Mvc.Async.WrappedAsyncResultBase
1.End () + 49
System.Web. Mvc .Asyn c .AsyncControllerActionInvoker.EndInvokeAction (IAsyncResult asyncResult) + 27
System.Web. 1116 *. <> c .b__152_1 (IAsyncResult asyncResult, ExecuteCoreState innerState) + 11
System.Web. Mvc .Asyn c .Wrapp edAsyncVoid 1.CallEndDelegate(IAsyncResult
asyncResult) +29<br>
System.Web.Mvc.Async.WrappedAsyncResultBase
1.End () + 49
System.Web. Mvc .Controller.EndExecuteCore (IAsyncResult asyncResult) +45 System.Web. Mvc. <> c .b__151_2 (IAsyncResult, asyncResult, asyncResult Контроллер контроллера) + 13
System.Web. Mvc .Asyn c .WrappedAsyncVoid 1.CallEndDelegate(IAsyncResult
asyncResult) +22<br>
System.Web.Mvc.Async.WrappedAsyncResultBase
1.End () + 49
System.Web. Mvc .Controller.EndExecute (IAsyncResult asyncResult) + 26
System.Web. Mvc .Controller.System.Web. Mvc .Asyn c .IAsyncController.EndExecute (IAsyncResult asyncResult) + 10
System.Web. Mvc. <> c .b__20_1 (IAsyncResult asyncResult, ProcessRequestState innerState) + 28
System.Web. Mvc .Asyn c .WrappedAsyncVoid 1.CallEndDelegate(IAsyncResult
asyncResult) +29<br>
System.Web.Mvc.Async.WrappedAsyncResultBase
1.End () + 49
System.Web. Mvc .MvcHandler.EndProcessRequest (IAsyncResult asyncResult) +28 System.Web. Mvc .MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest (IAsyncResult результат) + 9 * 1078 .Execute () +576 System.Web.HttpApplication.ExecuteStepImpl (шаг IExecutionStep) +132 System.Web.H ttpApplication.ExecuteStep (шаг IExecutionStep, логическое и завершено синхронно) + 163