mybatis / old-google-code-issues

Automatically exported from code.google.com/p/mybatis
2 stars 4 forks source link

Can myBatis be used by WindowsServer 2012, SQLServer 2012, and .NET Framework 4.5? #827

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Now, I would like to move the application which is operating now to a new 
server and .NET Framework. 

However, the following error has occurred in the place connected to DB using 
iBatis.

[The contents of an error] 

[Version] 
・iBatis 1.6.2 
・WindowsServer 2012
・SQLServer 2012 
・ .NET Framework 4.5 

Is it possible to make it operate in the following environments using iBatis4.5 
or the newest myBatis? 

・WindowsServer 2012
・SQLServer 2012 
・.NET Framework 4.5 

Original issue reported on code.google.com by taniyas...@gmail.com on 9 Mar 2014 at 4:12

GoogleCodeExporter commented 9 years ago
Sorry Error is this.

IBatisNet.Common.Exceptions.ConfigurationException: 
- The error occurred while configure DaoSessionHandler.
- configure dao  
- Check the Ekihi.Dao.AdminDaoImpl, EkihiApp. ---> IBatisNet.Common.
Exceptions.ConfigurationException: Error configuring DAO. Cause: あいま
いな一致が見つかりました。 ---> System.Reflection.
AmbiguousMatchException: あいまいな一致が見つかりました。
   場所 System.RuntimeType.GetMethodImpl(String name, BindingFlags 
bindingAttr, Binder binder, CallingConventions callConv, Type[] types, 
ParameterModifier[] modifiers)
   場所 System.Type.GetMethod(String name)
   場所 Castle.DynamicProxy.Builder.CodeBuilder.SimpleAST.
LockBlockExpression.Emit(IEasyMember member, ILGenerator gen)
   場所 Castle.DynamicProxy.Builder.CodeBuilder.AbstractCodeBuilder.
Generate(IEasyMember member, ILGenerator il)
   場所 Castle.DynamicProxy.Builder.CodeBuilder.AbstractEasyType.
EnsureBuildersAreInAValidState()
   場所 Castle.DynamicProxy.Builder.CodeBuilder.AbstractEasyType.
BuildType()
   場所 Castle.DynamicProxy.Builder.CodeGenerators.BaseCodeGenerator.
CreateType()
   場所 Castle.DynamicProxy.Builder.CodeGenerators.
InterfaceProxyGenerator.GenerateCode(Type[] interfaces, Type targetType)
   場所 Castle.DynamicProxy.ProxyGenerator.CreateProxy(Type[] interfaces,
 IInterceptor interceptor, Object target)
   場所 IBatisNet.DataAccess.Configuration.DaoProxy.NewInstance(Dao dao)
   場所 IBatisNet.DataAccess.Configuration.Dao.Initialize(DaoManager 
daoManager)
   --- 内部例外スタック トレースの終わり ---
   場所 IBatisNet.DataAccess.Configuration.Dao.Initialize(DaoManager 
daoManager)
   場所 IBatisNet.DataAccess.Configuration.DomDaoManagerBuilder.
ParseDaoFactory(ConfigurationScope configurationScope, DaoManager 
daoManager)
   場所 IBatisNet.DataAccess.Configuration.DomDaoManagerBuilder.
GetContexts(ConfigurationScope configurationScope)
   場所 IBatisNet.DataAccess.Configuration.DomDaoManagerBuilder.
BuildDaoManagers(XmlDocument document, Boolean useConfigFileWatcher)
   --- 内部例外スタック トレースの終わり ---
   場所 IBatisNet.DataAccess.Configuration.DomDaoManagerBuilder.
BuildDaoManagers(XmlDocument document, Boolean useConfigFileWatcher)

Original comment by taniyas...@gmail.com on 9 Mar 2014 at 4:21

Attachments: