1

Closed

Please Help: MySql.Data, Version=6.3.5.0 ... could not be louded

description

I am using Phalanger 2.1 with Visual Studio 2010, but whenever I add phalangermysql (MySql.Data.dll) and try to run I get this error. Please how do I do this again?
 
System.Configuration.ConfigurationErrorsException was unhandled
Message=Library assembly 'MySql.Data, Version=6.3.5.0, Culture=neutral, PublicKeyToken=2771987119c16a03' could not be loaded. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source=PhpNetCore
BareMessage=Library assembly 'MySql.Data, Version=6.3.5.0, Culture=neutral, PublicKeyToken=2771987119c16a03' could not be loaded. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Line=0
StackTrace:
   at PHP.Core.AssemblyLoader.Load(String assemblyName, Uri assemblyUrl, LibraryConfigStore config)
   at PHP.Core.Reflection.PureAssembly.LoadCompileTimeReferencedAssemblies(AssemblyLoader loader)
   at PHP.Core.AssemblyLoader.Load(Assembly realAssembly, LibraryConfigStore config)
   at PHP.Core.ScriptContext.RunApplication(Delegate mainRoutine, String relativeSourcePath, String sourceRoot)
   at <Global>.Run()
InnerException: System.Reflection.ReflectionTypeLoadException
   Message=Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   Source=mscorlib
   StackTrace:
        at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
        at System.Reflection.RuntimeModule.GetTypes()
        at System.Reflection.Assembly.GetTypes()
        at PHP.Core.Reflection.ClrModule.ReflectTypes(Assembly realAssembly, Dictionary`2 types)
        at PHP.Core.Reflection.ClrModule.Reflect(Boolean full, Dictionary`2 types, Dictionary`2 functions, DualDictionary`2 constants)
        at PHP.Core.ApplicationContext.LoadModuleEntries(DModule module)
        at PHP.Core.AssemblyLoader.Load(Assembly realAssembly, LibraryConfigStore config)
        at PHP.Core.AssemblyLoader.Load(String assemblyName, Uri assemblyUrl, LibraryConfigStore config)
   InnerException:
Closed May 25, 2011 at 11:08 AM by jakub
duplicated issue -> Closing

comments