﻿<error errorId="ba23facb-e0c4-4b76-b37c-6560a63516e4" application="/LM/W3SVC/4/ROOT" host="SP1-SD-SOFTVAR-" type="System.ComponentModel.Win32Exception" message="The wait operation timed out" detail="System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---&gt; System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - The wait operation timed out.) ---&gt; System.ComponentModel.Win32Exception: The wait operation timed out&#xD;&#xA;   --- End of inner exception stack trace ---&#xD;&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)&#xD;&#xA;   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)&#xD;&#xA;   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)&#xD;&#xA;   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xD;&#xA;   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xD;&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp; connection)&#xD;&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp; connection)&#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:21:21.9533143Z">
  <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="59109" />
    </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>