I am using ibatis.net 1.6 sql mapper + spring.net 1.1RC, oracle.dataAccess.dll for 10g (came with oracle 10g installtion). I got the following error which I don't have any idea:

Unhandled Exception: System.Configuration.ConfigurationErrorsException: Error in stantiating context 'spring.root'. ---> Spring.Objects.FatalObjectException: Can not instantiate Type [Spring.Context.Support.XmlApplicationContext] using ctor [ Void .ctor(System.String, Boolean, System.String[])] : 'Exception has been throw n by the target of an invocation.' ---> System.Reflection.TargetInvocationExcept ion: Exception has been thrown by the target of an invocation. ---> Spring.Objec ts.Factory.ObjectCreationException: Error creating object with name 'sqlMapClien t' defined in 'file [C:\c#\spring_net\IBatisSpringExample\IBatisSpringExample\Ap plicationContext.xml]' : Initialization of object failed : The invoked member is not supported in a dynamic module. ---> System.NotSupportedException: The invok
ed member is not supported in a dynamic module.
at System.Reflection.Emit.AssemblyBuilder.GetManifestResourceStream(String na
me)
at IBatisNet.Common.Utilities.Resources.GetEmbeddedResourceAsXmlDocument(Stri
ng resource)
at IBatisSpringExample.IBatis.SqlMapClient.AfterPropertiesSet() in C:\c#\spri ng_net\IBatisSpringExample\IBatisSpringExample\IBatis\SqlMapClient.cs:line 47 at Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.Invoke InitMethods(Object target, String name, IConfigurableObjectDefinition definition
.........

Is there any help?

-Henry

Reply via email to