0% found this document useful (0 votes)
18 views1 page

Key Error

The document details a series of errors encountered during a database operation using SQL Server. It outlines the stack trace of exceptions thrown while executing commands and reading data, indicating issues with connection handling and metadata consumption. The errors occur within the context of a service that retrieves details based on a specific input number and contract ID.

Uploaded by

tarunkurmi98
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views1 page

Key Error

The document details a series of errors encountered during a database operation using SQL Server. It outlines the stack trace of exceptions thrown while executing commands and reading data, indicating issues with connection handling and metadata consumption. The errors occur within the context of a service that retrieves details based on a specific input number and contract ID.

Uploaded by

tarunkurmi98
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

{"Message":"Something went wrong: at

System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean


breakConnection, Action`1 wrapCloseInAction)\r\n at
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n at
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)\r\n at
System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n at
System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n at
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior
runBehavior, String resetOptionsString, Boolean isInternal, Boolean
forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n at
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior,
RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task&
task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean
describeParameterEncryptionRequest)\r\n at
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,
RunBehavior runBehavior, Boolean returnStream, String method,
TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache,
Boolean asyncWrite, Boolean inRetry)\r\n at
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,
RunBehavior runBehavior, Boolean returnStream, String method)\r\n at
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String
method)\r\n at
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarge
t,TInterceptionContext,TResult](TTarget target, Func`3 operation,
TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\
n at
System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand
command, DbCommandInterceptionContext interceptionContext)\r\n at
System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQueryInternal[TElement]
(String commandText, String entitySetName, ExecutionOptions executionOptions,
Object[] parameters)\r\n at
System.Data.Entity.Core.Objects.ObjectContext.<>c__DisplayClass186_0`1.<ExecuteStor
eQueryReliably>b__1()\r\n at
System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func,
IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean
releaseConnectionOnSuccess)\r\n at
System.Data.Entity.Core.Objects.ObjectContext.<>c__DisplayClass186_0`1.<ExecuteStor
eQueryReliably>b__0()\r\n at
System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1
operation)\r\n at
System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQueryReliably[TElement]
(String commandText, String entitySetName, ExecutionOptions executionOptions,
Object[] parameters)\r\n at
System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQuery[TElement](String
commandText, ExecutionOptions executionOptions, Object[] parameters)\r\n at
System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()\r\n at
System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)\r\n at
Cypher.COIServices.Data.COIServiceSql.GetCOIDetailsByCOINumber(String
inputCOIDetail, String contractId)\r\n at
Cypher.COIServices.Business.COIServiceBO.GetCOIDetailsByCOINumber(String
inputCOIDetail, String contractId)\r\n at
Cypher.COIServices.Controllers.COIServiceController.GenerateCOI(String inputNumber,
String contractId)"}

You might also like