Local: .Net SqlClient Data Provider Mensagem: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_tbTicketPecaIndividualServico_tbTicketPecaIndividual". The conflict occurred in database "AllegroPlataforma_6", table "dbo.tbTicketPecaIndividual". The statement has been terminated. Stack Trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.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.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at ideologica.IdeoFramework.BancoDadosSQL.Executar(SqlCommand comando) ========================= Informações do Aplicativo ========================= Arquivo: PDVServico.exe Caminho: C:\Allegro.IoT\PDVServico.exe Versão: 7.0.0.1186 ====================== Informações da Máquina ====================== Nome da Máquina: SERVIDOR Memória: 7,92 GB Sistema Operacional: Microsoft Windows 10 Home Single Language Processador: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (2712Mhz) Usuário: SERVIDOR\SAPATARIADOFUTURO Resolução do Vídeo: 1920x1080 Versão SQL Server: Microsoft SQL Server 2016 (SP2) (KB4052908) - 13.0.5026.0 (X64) Mar 18 2018 09:11:49 Copyright (c) Microsoft Corporation Express Edition (64-bit) on Windows 10 Home Single Language 10.0
(Build 19045: ) Versão exe: 7.0.0, Computador: SERVIDOR