Re: Error: Unable to load DLL 'libmySQL.dll'

Gracias Daniel,

Ya tenía instaladas las Librerias, finalmente el problema lo encontré en otro mail del foro que había enviado Gabriel Gramajo.
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.





--
Saludos,
gab
@gxsoft



On Thu, Apr 25, 2024 at 12:46 AM Daniel Diaz <developerdanieldiaz@gmail.com> wrote:

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 U1016.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) +0
   MySQLDriverCS.MySQLConnection.Open() +446
   GeneXus.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() +227
   GeneXus.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() +1215
   GeneXus.Data.ADO.GxConnectionManager.IncOpenHandlesImpl(GxConnection con) +30
   GeneXus.Data.ADO.GxConnectionManager.IncOpenHandles(Int32 handle, String dataSource) +67
   GeneXus.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) +243
   GeneXus.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) +541
   GeneXus.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() +895
   GeneXus.Data.ADO.GxCommand.FetchData(IDataReader& dr) +412
   GeneXus.Data.NTier.ADO.ForEachCursor.execute() +130
   GeneXus.Data.NTier.DataStoreProvider.execute(Int32 cursor, Object[] parms, Boolean batch) +1203
   GeneXus.Programs.country.GetKey011() +110
   GeneXus.Programs.country.getEqualNoModal() +17
   GeneXus.Programs.country.AfterKeyLoadScreen() +199
   GeneXus.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) +0
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +118
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +182
   System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +897
   GeneXus.Http.DynAjaxEvent.DoInvoke(Object[] MethodParms) +195
   GeneXus.Http.DynAjaxEvent.Invoke(String JsonMessage, GXHttpHandler targetObj) +285
   GeneXus.Http.GXHttpHandler.webAjaxEvent() +538
   GeneXus.Http.GXHttpHandler.ProcessRequest(HttpContext httpContext) +863
 
[Exception: GXApplication exception]
   GeneXus.Http.GXHttpHandler.ProcessRequest(HttpContext httpContext) +1249
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +537
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +172
   System.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