This error may occur if CausesValidation is set to true and databound controls (with custom validators based on the databound elements) have not yet been loaded. System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.AggregateException: One or more errors occurred. ---> WebApplications.Utilities.Database.Exceptions.SqlProgramExecutionException: An error occurred whilst executing the 'spThgWebPriceCrossServerAvailability' SqlProgram. The target principal name is incorrect. Cannot generate SSPI context. ---> System.Data.SqlClient.SqlException: The target principal name is incorrect. Cannot generate SSPI context. 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.OpenAsync(CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at WebApplications.Utilities.Database.SqlProgramCommand.d__86.MoveNext() --- End of inner exception stack trace --- at WebApplications.Utilities.Database.SqlProgramCommand.d__86.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at WebApplications.WUK.BabelNET.Search.CacheServerSearchResults.d__13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at WebApplications.WUK.BabelNET.Core.SingleResult`1.d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at WebApplications.WUK.BabelNET.Search.CacheServerSearchResults.d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at WebApplications.WUK.BabelNET.Search.SearchResults.d__53.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at WebApplications.WUK.BabelNET.Core.SingleResult`1.d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at WebApplications.WUK.BabelNET.Search.SearchResults.d__37.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at WebApplications.WUK.BabelNET.Core.RequestResults`2.GetResults(CancellationToken cancellationToken) at Fusion.Web.PageHandlers.ProductDetailsHandler.buildAvailabilityData(Int32 currentAdultCount, Int32 currentChildCount, Int32 currentInfantCount, Int32 currentPetCount, IEnumerable`1 nights) at Wyndham.Ccfs.Web.sublayouts.WyndhamCcfs.Components.Default.Fusion.AvailabilitySelector.Page_Load(Object sender, EventArgs e) in C:\TFS2015\Release 1.2\src\Website\Wyndham.Ccfs.Web\sublayouts\WyndhamCcfs\Components\Default\Fusion\AvailabilitySelector.ascx.cs:line 65 at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ---> (Inner Exception #0) ======================================================================================================================== Error Message : An error occurred whilst executing the 'spThgWebPriceCrossServerAvailability' SqlProgram. The target principal name is incorrect. Cannot generate SSPI context. Timestamp : 17/09/2019 23:18:27 GUID : d4fc878a-8cc9-4022-8fa5-aacb01801988 Exception type : WebApplications.Utilities.Database.Exceptions.SqlProgramExecutionException Inner Exception : 7d753a43-4f2f-466a-a1d7-aacb01801988 ------------------------------------------------------------------------------------------------------------------------ Context SqlProgram Name : spThgWebPriceCrossServerAvailability ======================================================================================================================== <--- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at Fusion.Web.Base.ToolKitPageBase`1.ProcessRequest(HttpContext _context)