Problem using Type.GetType

  • Thread starter Thread starter Daniel Bello Urizarri
  • Start date Start date
D

Daniel Bello Urizarri

Hello:

I have a form that finds all the dlls with types inheriting from
DbConnection and allow users to key-in a connection string. Then I save the
AssemblyQualifyedName of the type and the connection string, and later I
use: Type type = Type.GetType ( _assemblyQN ); to get the type.
Works fine for Oledb, Odbc, SqlServer and Oracle, My problem is that i have
also the ADO.Net driver for MySql database and I want my application to work
with it. If I save the dlls on my application's folder everything works
fine, but if I copy the dlls on the framework folder
("C:\WINNT\Microsoft.NET\Framework\v1.1.4322" in that case), the form works
fine, but Type.GetType ( .. ) returns null..

I try using RegAsm, but it does'nt work.

Did i miss some step? Any idea ?

Thanks
 
Well.. i have discovered that using gacutil and registering into the global
assebly cache works but im still looking for ideas.. i don't like this one.
 
Back
Top