System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Log_Customer_CustomerId". The conflict occurred in database "XPRESS43", table "dbo.Customer", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at LinqToDB.Data.DataConnection.ExecuteScalar() at LinqToDB.Linq.QueryRunner.ScalarQuery(Query query, IDataContext dataContext, Expression expr, Object[] parameters) at LinqToDB.Linq.QueryRunner.InsertWithIdentity`1.Query(IDataContext dataContext, T obj, String tableName, String databaseName, String schemaName) at LinqToDB.DataExtensions.InsertWithInt32Identity[T](IDataContext dataContext, T obj, String tableName, String databaseName, String schemaName) at Nop.Data.BaseDataProvider.InsertEntity[TEntity](TEntity entity) in C:\MUNKA\WEBSITE\XPRESS_NOP_4.3\Libraries\Nop.Data\BaseDataProvider.cs:line 140 at Nop.Data.EntityRepository`1.Insert(TEntity entity) in C:\MUNKA\WEBSITE\XPRESS_NOP_4.3\Libraries\Nop.Data\EntityRepository.cs:line 53 at Nop.Services.Customers.CustomerService.InsertGuestCustomer() in C:\MUNKA\WEBSITE\XPRESS_NOP_4.3\Libraries\Nop.Services\Customers\CustomerService.cs:line 817 at Nop.Web.Framework.WebWorkContext.get_CurrentCustomer() in C:\MUNKA\WEBSITE\XPRESS_NOP_4.3\Presentation\Nop.Web.Framework\WebWorkContext.cs:line 228 at Nop.Web.Framework.WebWorkContext.get_WorkingLanguage() in C:\MUNKA\WEBSITE\XPRESS_NOP_4.3\Presentation\Nop.Web.Framework\WebWorkContext.cs:line 388 at Nop.Web.Framework.Globalization.CultureMiddleware.SetWorkingCulture(IWebHelper webHelper, IWorkContext workContext) in C:\MUNKA\WEBSITE\XPRESS_NOP_4.3\Presentation\Nop.Web.Framework\Globalization\CultureMiddleware.cs:line 60 at Nop.Web.Framework.Globalization.CultureMiddleware.Invoke(HttpContext context, IWebHelper webHelper, IWorkContext workContext) in C:\MUNKA\WEBSITE\XPRESS_NOP_4.3\Presentation\Nop.Web.Framework\Globalization\CultureMiddleware.cs:line 79 at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Nop.Services.Installation.InstallUrlMiddleware.Invoke(HttpContext context, IWebHelper webHelper) in C:\MUNKA\WEBSITE\XPRESS_NOP_4.3\Libraries\Nop.Services\Installation\InstallUrlMiddleware.cs:line 53 at Nop.Services.Common.KeepAliveMiddleware.Invoke(HttpContext context, IWebHelper webHelper) in C:\MUNKA\WEBSITE\XPRESS_NOP_4.3\Libraries\Nop.Services\Common\KeepAliveMiddleware.cs:line 50 at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.HandleException(HttpContext context, ExceptionDispatchInfo edi) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context) ClientConnectionId:fc54566c-402b-491d-8abb-8387bf19a06d Error Number:547,State:0,Class:16 HEADERS ======= Accept: */* Connection: close Host: xpress.hu User-Agent: claudebot