﻿<error errorId="3fe6d563-53a3-4f2e-b031-218690596592" application="/LM/W3SVC/4/ROOT" host="SP1-SD-SOFTVAR-" type="System.InvalidOperationException" message="Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached." source="System.Data" detail="System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---&gt; System.InvalidOperationException: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.&#xD;&#xA;   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp; connection)&#xD;&#xA;   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)&#xD;&#xA;   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)&#xD;&#xA;   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)&#xD;&#xA;   at System.Data.SqlClient.SqlConnection.Open()&#xD;&#xA;   at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)&#xD;&#xA;   at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)&#xD;&#xA;   at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.&lt;&gt;c__DisplayClass1.&lt;Execute&gt;b__0()&#xD;&#xA;   at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)&#xD;&#xA;   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()&#xD;&#xA;   --- End of inner exception stack trace ---&#xD;&#xA;   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()&#xD;&#xA;   at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)&#xD;&#xA;   at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)&#xD;&#xA;   at System.Data.Entity.Core.Objects.ObjectQuery`1.&lt;&gt;c__DisplayClass7.&lt;GetResults&gt;b__5()&#xD;&#xA;   at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)&#xD;&#xA;   at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)&#xD;&#xA;   at System.Data.Entity.Core.Objects.ObjectQuery`1.&lt;System.Collections.Generic.IEnumerable&lt;T&gt;.GetEnumerator&gt;b__0()&#xD;&#xA;   at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()&#xD;&#xA;   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)&#xD;&#xA;   at Softvar.Persistence.Repository.InvoiceChangeStatusRepository.GetStatusPedidoPorEtapa(Int32 idEtapa) in C:\Softvar\Dotnet\Softvar.Persistence\Repository\InvoiceChangeStatusRepository.cs:line 19&#xD;&#xA;   at Softvar.Business.Business.PedidoBusiness.SalvarCodigoRastreio(Int32 idLoja, IEnumerable`1 pedidosCodidoRastreio) in C:\Softvar\Dotnet\Softvar.Business\Business\PedidoBusiness.cs:line 4536&#xD;&#xA;   at Softvar.WebApi.Controllers.VendaServiceController.SalvarPedidoCodigoRastreio(Int32 idLoja, IList`1 pedidosCodigoRastreio) in C:\Softvar\Dotnet\Softvar.WebApi\Controllers\VendaServiceController.cs:line 310&#xD;&#xA;   at lambda_method(Closure , Object , Object[] )&#xD;&#xA;   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.&lt;&gt;c__DisplayClass10.&lt;GetExecutor&gt;b__9(Object instance, Object[] methodParameters)&#xD;&#xA;   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)&#xD;&#xA;--- End of stack trace from previous location where exception was thrown ---&#xD;&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xD;&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xD;&#xA;   at System.Web.Http.Controllers.ApiControllerActionInvoker.&lt;InvokeActionAsyncCore&gt;d__0.MoveNext()&#xD;&#xA;--- End of stack trace from previous location where exception was thrown ---&#xD;&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xD;&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xD;&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&lt;CallOnActionExecutedAsync&gt;d__5.MoveNext()" user="doctorshoes.transfolha@api.softvar.com.br" time="2026-04-07T22:00:19.0892219Z">
  <serverVariables>
    <item name="ALL_HTTP">
      <value string="HTTP_CONTENT_LENGTH:62&#xD;&#xA;HTTP_CONTENT_TYPE:application/json; charset=utf-8&#xD;&#xA;HTTP_ACCEPT:application/json&#xD;&#xA;HTTP_EXPECT:100-continue&#xD;&#xA;HTTP_HOST:api.softvar.com.br&#xD;&#xA;HTTP_TOKEN:27E7AC7E-3C5B-4B9E-980A-9F6958F29836|doctorshoes.transfolha@api.softvar.com.br&#xD;&#xA;" />
    </item>
    <item name="ALL_RAW">
      <value string="Content-Length: 62&#xD;&#xA;Content-Type: application/json; charset=utf-8&#xD;&#xA;Accept: application/json&#xD;&#xA;Expect: 100-continue&#xD;&#xA;Host: api.softvar.com.br&#xD;&#xA;Token: 27E7AC7E-3C5B-4B9E-980A-9F6958F29836|doctorshoes.transfolha@api.softvar.com.br&#xD;&#xA;" />
    </item>
    <item name="APPL_MD_PATH">
      <value string="/LM/W3SVC/4/ROOT" />
    </item>
    <item name="APPL_PHYSICAL_PATH">
      <value string="C:\inetpub\api\" />
    </item>
    <item name="AUTH_TYPE">
      <value string="" />
    </item>
    <item name="AUTH_USER">
      <value string="" />
    </item>
    <item name="AUTH_PASSWORD">
      <value string="*****" />
    </item>
    <item name="LOGON_USER">
      <value string="" />
    </item>
    <item name="REMOTE_USER">
      <value string="" />
    </item>
    <item name="CERT_COOKIE">
      <value string="" />
    </item>
    <item name="CERT_FLAGS">
      <value string="" />
    </item>
    <item name="CERT_ISSUER">
      <value string="" />
    </item>
    <item name="CERT_KEYSIZE">
      <value string="256" />
    </item>
    <item name="CERT_SECRETKEYSIZE">
      <value string="4096" />
    </item>
    <item name="CERT_SERIALNUMBER">
      <value string="" />
    </item>
    <item name="CERT_SERVER_ISSUER">
      <value string="C=US, O=Let's Encrypt, CN=R13" />
    </item>
    <item name="CERT_SERVER_SUBJECT">
      <value string="CN=api.softvar.com.br" />
    </item>
    <item name="CERT_SUBJECT">
      <value string="" />
    </item>
    <item name="CONTENT_LENGTH">
      <value string="62" />
    </item>
    <item name="CONTENT_TYPE">
      <value string="application/json; charset=utf-8" />
    </item>
    <item name="GATEWAY_INTERFACE">
      <value string="CGI/1.1" />
    </item>
    <item name="HTTPS">
      <value string="on" />
    </item>
    <item name="HTTPS_KEYSIZE">
      <value string="256" />
    </item>
    <item name="HTTPS_SECRETKEYSIZE">
      <value string="4096" />
    </item>
    <item name="HTTPS_SERVER_ISSUER">
      <value string="C=US, O=Let's Encrypt, CN=R13" />
    </item>
    <item name="HTTPS_SERVER_SUBJECT">
      <value string="CN=api.softvar.com.br" />
    </item>
    <item name="INSTANCE_ID">
      <value string="4" />
    </item>
    <item name="INSTANCE_META_PATH">
      <value string="/LM/W3SVC/4" />
    </item>
    <item name="LOCAL_ADDR">
      <value string="177.136.226.218" />
    </item>
    <item name="PATH_INFO">
      <value string="/v1/VendaService/SalvarPedidoCodigoRastreio" />
    </item>
    <item name="PATH_TRANSLATED">
      <value string="C:\inetpub\api\v1\VendaService\SalvarPedidoCodigoRastreio" />
    </item>
    <item name="QUERY_STRING">
      <value string="idLoja=1" />
    </item>
    <item name="REMOTE_ADDR">
      <value string="201.20.55.147" />
    </item>
    <item name="REMOTE_HOST">
      <value string="201.20.55.147" />
    </item>
    <item name="REMOTE_PORT">
      <value string="50684" />
    </item>
    <item name="REQUEST_METHOD">
      <value string="POST" />
    </item>
    <item name="SCRIPT_NAME">
      <value string="/v1/VendaService/SalvarPedidoCodigoRastreio" />
    </item>
    <item name="SERVER_NAME">
      <value string="api.softvar.com.br" />
    </item>
    <item name="SERVER_PORT">
      <value string="443" />
    </item>
    <item name="SERVER_PORT_SECURE">
      <value string="1" />
    </item>
    <item name="SERVER_PROTOCOL">
      <value string="HTTP/1.1" />
    </item>
    <item name="SERVER_SOFTWARE">
      <value string="Microsoft-IIS/10.0" />
    </item>
    <item name="URL">
      <value string="/v1/VendaService/SalvarPedidoCodigoRastreio" />
    </item>
    <item name="HTTP_CONTENT_LENGTH">
      <value string="62" />
    </item>
    <item name="HTTP_CONTENT_TYPE">
      <value string="application/json; charset=utf-8" />
    </item>
    <item name="HTTP_ACCEPT">
      <value string="application/json" />
    </item>
    <item name="HTTP_EXPECT">
      <value string="100-continue" />
    </item>
    <item name="HTTP_HOST">
      <value string="api.softvar.com.br" />
    </item>
    <item name="HTTP_TOKEN">
      <value string="27E7AC7E-3C5B-4B9E-980A-9F6958F29836|doctorshoes.transfolha@api.softvar.com.br" />
    </item>
  </serverVariables>
  <queryString>
    <item name="idLoja">
      <value string="1" />
    </item>
  </queryString>
</error>