Error de depuración JIT

Iniciado por leonardoez, Julio 28, 2023, 09:53:50 AM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Hola, comunidad.

Quiero plantearles un problema que me surgió con una aplicación que está en un servidor. Desde que designé al servidor como controlador de dominio de Active Directory, no puedo ingresar a la aplicación en cuestión desde las PCs cliente porque me sale un "error de depuración JIT", sin embargo desde el servidor puedo abrir y usar la app sin problemas. El caso es que revertí todas las modificaciones hechas en el servidor, le quité los privilegios de Domain Controller y le desinstalé el Active Directory porque evidentemente algo de eso le afectó. pero aún así, me sigue saliendo el error en las PCs clientes luego de ingresar el usuario y contraseña y darle aceptar.

Espero poder resolverlo con la ayuda de ustedes porque ya le di mil vueltas al tema y no le encuentro la solución.

Adjunto captura del error y a continuación el detalle del cuadro:

Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.

************** Texto de la excepción **************
System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Error relacionado con la red o específico de la instancia mientras se establecía una conexión con el servidor SQL Server. No se encontró el servidor o éste no estaba accesible. Compruebe que el nombre de la instancia es correcto y que SQL Server está configurado para admitir conexiones remotas. (provider: SQL Network Interfaces, error: 26 - Error al buscar el servidor o instancia especificado)
   en 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)
   en System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   en System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
   en System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   en System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   en System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   en System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   en System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   en System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   en System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   en System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
   en System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
   en You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login()
   en System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.<Open>b__36(DbConnection t, DbConnectionInterceptionContext c)
   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
   en You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login(DbConnection connection, DbInterceptionContext interceptionContext)
   en System.Data.Entity.Core.EntityClient.EntityConnection.<Open>b__2()
   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass1.<Execute>b__0()
   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Action operation)
   en You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login()
   --- Fin del seguimiento de la pila de la excepción interna ---
   en You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login()
   en System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
   en System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__5()
   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
   en System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   en System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()
   en System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
   en System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
   en System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.<GetElementFunction>b__3[TResult](IEnumerable`1 sequence)
   en System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
   en System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
   en System.Data.Entity.Internal.Linq.DbQueryProvider.Execute[TResult](Expression expression)
   en System.Linq.Queryable.Any[TSource](IQueryable`1 source, Expression`1 predicate)
   en ZamciGestion.AdministracionAPP.frmLogin.btnIngresar_Click(Object sender, EventArgs e) en E:\desarrollos\Proyectos\ZamciGestion\ZamciGestion\AdministracionAPP\frmLogin.cs:línea 29
   en System.Windows.Forms.Control.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnClick(EventArgs e)
   en System.Windows.Forms.Button.PerformClick()
   en System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
   en System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
   en System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   en System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
   en System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)


************** Ensamblados cargados **************
mscorlib
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4341.0 built by: NET48REL1LAST_C
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
ZamciGestion
    Versión del ensamblado: 1.0.0.0
    Versión Win32: 1.0.0.0
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.Windows.Forms
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4341.0 built by: NET48REL1LAST_C
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4300.0 built by: NET48REL1LAST_C
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.Drawing
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.3752.0 built by: NET48REL1
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
EntityFramework
    Versión del ensamblado: 6.0.0.0
    Versión Win32: 6.2.61023.0
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.Core
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4341.0 built by: NET48REL1LAST_C
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.Configuration
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4190.0 built by: NET48REL1LAST_B
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.Xml
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.3752.0 built by: NET48REL1
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
CrystalDecisions.CrystalReports.Engine
    Versión del ensamblado: 13.0.3500.0
    Versión Win32: 13.0.23.2819
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
CrystalDecisions.Shared
    Versión del ensamblado: 13.0.3500.0
    Versión Win32: 13.0.23.2819
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
CrystalDecisions.ReportSource
    Versión del ensamblado: 13.0.3500.0
    Versión Win32: 13.0.23.2819
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4270.0 built by: NET48REL1LAST_C
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.Data.DataSetExtensions
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.3752.0 built by: NET48REL1
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
EntityFramework.SqlServer
    Versión del ensamblado: 6.0.0.0
    Versión Win32: 6.2.61023.0
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Versión del ensamblado: 0.0.0.0
    Versión Win32: 4.8.4341.0 built by: NET48REL1LAST_C
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.Numerics
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.3752.0 built by: NET48REL1
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.Data.OracleClient
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.3752.0 built by: NET48REL1
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.Data.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.3752.0 built by: NET48REL1
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.Transactions
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.3752.0 built by: NET48REL1
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
Microsoft.ReportViewer.WinForms
    Versión del ensamblado: 15.0.0.0
    Versión Win32: 15.0.1404.0
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
Microsoft.Office.Interop.Excel
    Versión del ensamblado: 15.0.0.0
    Versión Win32: 15.0.4569.1506
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
CrystalDecisions.Windows.Forms
    Versión del ensamblado: 13.0.3500.0
    Versión Win32: 13.0.23.2819
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.Linq.Dynamic
    Versión del ensamblado: 1.0.6132.35681
    Versión Win32: 1.0.6132.35681
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.Xml.Linq
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.3752.0 built by: NET48REL1
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.xml.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.3752.0 built by: NET48REL1
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.EnterpriseServices
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.3752.0 built by: NET48REL1
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
mscorlib.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.3752.0 built by: NET48REL1
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------
System.Windows.Forms.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.3752.0 built by: NET48REL1
    Código base: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.