What steps will reproduce the problem?
1. Trying to connect the Oracle 10g through Migrator.Net (version 0.8.0)
2. Following paremeter used for connection
- Data Source=ORCL;User Id=xxxx;Password=xxxx
3. It throws the following error messages
Exception has been thrown by the target of an invocation.
InnerException:System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. --->
System.TypeInitializationException: The type initializer
for 'Oracle.DataAccess.Client.OracleConnection' threw an exception. --->
Oracle.DataAccess.Client.OracleException The provider is not compatible
with the version of Oracle client at
Oracle.DataAccess.Client.OracleInit.Initialize()
at Oracle.DataAccess.Client.OracleConnection..cctor()
--- End of inner exception stack trace ---
at Oracle.DataAccess.Client.OracleConnection..ctor()
at Migrator.Providers.Oracle.OracleTransformationProvider..ctor(Dialect
dialect, String connectionString)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args,
SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args,
SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at Migrator.Providers.Dialect.NewProviderForDialect(String
connectionString)
What is the expected output? What do you see instead?
Expected output: It should connect and migrate all data to Oracle 10g.
Actual output: Exception has been thrown by the target of an invocation.
InnerException:System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. --->
System.TypeInitializationException: The type initializer
for 'Oracle.DataAccess.Client.OracleConnection' threw an exception. --->
Oracle.DataAccess.Client.OracleException The provider is not compatible
with the version of Oracle client at
Oracle.DataAccess.Client.OracleInit.Initialize()
at Oracle.DataAccess.Client.OracleConnection..cctor()
--- End of inner exception stack trace ---
at Oracle.DataAccess.Client.OracleConnection..ctor()
at Migrator.Providers.Oracle.OracleTransformationProvider..ctor(Dialect
dialect, String connectionString)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args,
SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args,
SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at Migrator.Providers.Dialect.NewProviderForDialect(String
connectionString)
Please use labels and text to provide additional information.
Original issue reported on code.google.com by kanu.dha...@gmail.com on 27 May 2010 at 1:01
Original issue reported on code.google.com by
kanu.dha...@gmail.com
on 27 May 2010 at 1:01