Exception:The type initializer for 'Dapper.SqlMapper' threw an exception.Exception of type 'System.OutOfMemoryException' was thrown.

报错信息

TypeInitializationException: The type initializer for 'Dapper.SqlMapper' threw an exception.
--TypeName: Dapper.SqlMapper
StackTrace:
   at Dapper.SqlMapper.AddTypeHandler[T](TypeHandler`1 handler)
   at Quicker.Domain.Services.SQLDataMgr..ctor(IAppPathProvider pathProvider)
   at DynamicInjectord24723a9173d45ed86ccbc7e5b81e2f6(Object[] )
   at Ninject.Activation.Context.ResolveInternal(Object scope)
   at Ninject.Activation.Context.Resolve()
   at Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings, Boolean filterImplicitBindings)
   at Ninject.Planning.Targets.Target`1.ResolveWithin(IContext parent)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Ninject.Activation.Providers.StandardProvider.Create(IContext context)
   at Ninject.Activation.Context.ResolveInternal(Object scope)
   at Ninject.Activation.Context.Resolve()
   at Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings, Boolean filterImplicitBindings)
   at Quicker.App.FLvigKiPju()
   at Quicker.App.<StartupApplicationAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Quicker.App.<ApplicationStart>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
StackTrace:
   at System.Linq.Enumerable.WhereArrayIterator`1.Select[TResult](Func`2 selector)
   at Dapper.SqlMapper..cctor()

 

解决方法

暂无解决方案。

相关信息
1 查看
24天15小时前
Quicker版本
版本 反馈次数