Server Error in '/' Application.

ERROR [IM003] Specified driver could not be loaded due to system error  126: The specified module could not be found. (MySQL ODBC 3.51 Driver, C:\Program Files (x86)\MySQL\Connector ODBC 5.1\myodbc5.dll).

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.Data.Odbc.OdbcException: ERROR [IM003] Specified driver could not be loaded due to system error  126: The specified module could not be found. (MySQL ODBC 3.51 Driver, C:\Program Files (x86)\MySQL\Connector ODBC 5.1\myodbc5.dll).

Source Error:


Line 56: 
Line 57:         funciones = New Funciones
Line 58:         funciones.AbrirConexionTraza("EventoUnico.aspx")
Line 59: 
Line 60:         If usarURLPruebas = "S" Then

Source File: D:\XVRT\uniontours.org\Html\ser\EventoUnico.aspx.vb    Line: 58

Stack Trace:


[OdbcException (0x80131937): ERROR [IM003] Specified driver could not be loaded due to system error  126: The specified module could not be found. (MySQL ODBC 3.51 Driver, C:\Program Files (x86)\MySQL\Connector ODBC 5.1\myodbc5.dll).]
   System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode) +1300746
   System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle) +95
   System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions) +53
   System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +55
   System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +22
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions) +38
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +5376958
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +146
   System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +16
   System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +17
   System.Data.Odbc.OdbcConnection.Open() +42
   Funciones.AbrirConexionTraza(String pServer_Name) +135
   ser_EventoUnico.PasarDatos_Load(Object sender, EventArgs e) in D:\XVRT\uniontours.org\Html\ser\EventoUnico.aspx.vb:58
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36730