Es más era un problema recurrente, que se me da a cada tanto (1 o 2 años) ya que instalo una nueva computadora de trabajo y hay que configurar todo. En este caso faltaba habilitar al IIS en el Pool de APPs, para correr APPs de 32 bits.
Acá dejo los 3 pasos, que los volví a documentar, mejor, o actualizar, porque no estaban muy claros.
SOLUCION :
Enable 32-Bit Applications in the Advanced Settings on the server in the Application Pools.
Proba con estas dll que te paso...
https://drive.google.com/file/d/18jpG7I0u7Cv0-JVPh9Ie6RhMbOLKlT6t/view?usp=drive_link
Enviado desde Correo para Windows
De: Gabriel Medina
Enviado: miércoles, 24 de abril de 2024 18:39
Para: ggg (GeneXus Google Groups)
Asunto: Error: Unable to load DLL 'libmySQL.dll'
Hi Friends,
Trying to run a Web Application C#/MySQL I got the following error:
ERROR : Unable to load DLL 'libmySQL.dll' / (Exception from HRESULT: 0x8007007E)Server Error in '/CitiesJavaMySQLNETFrameworkMySQL' Application.
Unable to load DLL 'libmySQL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.DllNotFoundException: Unable to load DLL 'libmySQL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
===Environment Data ============================
· GeneXus : GeneXus 16 U10, 16.0.142546
· Generador : Csharp
· Environment : Web
· DBMS : MySQL Server 5.7.44
· OS : Windows 11
· Lenguaje : C#
· Compilador : v4.0.30319
· Browsers : Opera/Chrome/any
· Web Server : IIS 10
· Pattern : WW+
· Android SDK... : -
Server Error in '/CitiesJavaMySQLNETFrameworkMySQL' Application.
Unable to load DLL 'libmySQL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.DllNotFoundException: Unable to load DLL 'libmySQL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[DllNotFoundException: Unable to load DLL 'libmySQL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)]
MySQLDriverCS.CPrototypes.mysql_init(Void* must_be_null) +0MySQLDriverCS.MySQLConnection.Open() +446GeneXus.Data.MySqlDriverCSConnectionWrapper.Open() +41
[GxADODataException: Unable to load DLL 'libmySQL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)]GeneXus.Data.MySqlDriverCSConnectionWrapper.Open() +227GeneXus.Data.ADO.GxConnection.Open() +597
[GxADODataException: Unable to load DLL 'libmySQL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)]GeneXus.Data.ADO.GxConnection.Open() +1215GeneXus.Data.ADO.GxConnectionManager.IncOpenHandlesImpl(GxConnection con) +30GeneXus.Data.ADO.GxConnectionManager.IncOpenHandles(Int32 handle, String dataSource) +67GeneXus.Data.GxMySQLDriverCSCursorDataReader..ctor(IGxConnectionManager connManager, GxDataRecord dr, IGxConnection connection, GxParameterCollection parameters, String stmt, Int32 fetchSize, Boolean forFirst, Int32 handle, Boolean cached, SlidingTime expiration, Boolean hasNested, Boolean dynStmt) +243GeneXus.Data.GxMySql.GetDataReader(IGxConnectionManager connManager, IGxConnection con, GxParameterCollection parameters, String stmt, UInt16 fetchSize, Boolean forFirst, Int32 handle, Boolean cached, SlidingTime expiration, Boolean hasNested, Boolean dynStmt) +541GeneXus.Data.ADO.GxCommand.ExecuteReader() +725
[GxADODataException: Unable to load DLL 'libmySQL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)]GeneXus.Data.ADO.GxCommand.ExecuteReader() +895GeneXus.Data.ADO.GxCommand.FetchData(IDataReader& dr) +412GeneXus.Data.NTier.ADO.ForEachCursor.execute() +130GeneXus.Data.NTier.DataStoreProvider.execute(Int32 cursor, Object[] parms, Boolean batch) +1203GeneXus.Programs.country.GetKey011() +110GeneXus.Programs.country.getEqualNoModal() +17GeneXus.Programs.country.AfterKeyLoadScreen() +199GeneXus.Programs.country.Valid_Countryid() +54
[TargetInvocationException: Exception has been thrown by the target of an invocation.]System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +118System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +182System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +897GeneXus.Http.DynAjaxEvent.DoInvoke(Object[] MethodParms) +195GeneXus.Http.DynAjaxEvent.Invoke(String JsonMessage, GXHttpHandler targetObj) +285GeneXus.Http.GXHttpHandler.webAjaxEvent() +538GeneXus.Http.GXHttpHandler.ProcessRequest(HttpContext httpContext) +863
[Exception: GXApplication exception]GeneXus.Http.GXHttpHandler.ProcessRequest(HttpContext httpContext) +1249System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +537System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +172System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93
--
Saludos,
gab
@gxsoft
--
Has recibido este mensaje porque estás suscrito al grupo "GeneXus" de Grupos de Google.
Para cancelar la suscripción a este grupo y dejar de recibir sus mensajes, envía un correo electrónico a genexus+unsubscribe@googlegroups.com.
Para ver esta conversación en el sitio web, visita https://groups.google.com/d/msgid/genexus/CAEogB3QNGY%3Da94Fyp%3DniSCgzq0X_jWHncjtLfpqdNkyqLcyQ2w%40mail.gmail.com.
Has recibido este mensaje porque estás suscrito al grupo "GeneXus" de Grupos de Google.
Para cancelar la suscripción a este grupo y dejar de recibir sus mensajes, envía un correo electrónico a genexus+unsubscribe@googlegroups.com.
Para ver esta conversación en el sitio web, visita https://groups.google.com/d/msgid/genexus/CAEogB3S-wpWSnhnnj0Wd6RoaLj%2Bc1L3pNr0HxpE5sReHKHfDZQ%40mail.gmail.com.
0 Response to "Re: Error: Unable to load DLL 'libmySQL.dll'"
Publicar un comentario