Exception:“Dapper.SqlMapper”的类型初始值设定项引发异常。“System.Text.RegularExpressions.RegexCharClass”的类型初始值设定项引发异常。尝试读取或写入受保护的内存。这通常指示其他内存已损坏。

报错信息 1
TypeInitializationException
   在 Dapper.SqlMapper.AddTypeHandler[T](TypeHandler`1 handler)
   在 Quicker.Domain.Services.SQLDataMgr..ctor(IAppPathProvider pathProvider)
   在 DynamicInjectorebf8bfd8e95d4df98bb582784e88cf43(Object[] )
   在 Ninject.Activation.Context.ResolveInternal(Object scope)
   在 Ninject.Activation.Context.Resolve()
   在 Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings, Boolean filterImplicitBindings)
   在 Ninject.Planning.Targets.Target`1.ResolveWithin(IContext parent)
   在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   在 System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   在 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   在 Ninject.Activation.Providers.StandardProvider.Create(IContext context)
   在 Ninject.Activation.Context.ResolveInternal(Object scope)
   在 Ninject.Activation.Context.Resolve()
   在 Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings, Boolean filterImplicitBindings)
   在 Quicker.App.R2yNWKxZCl()
   在 Quicker.App.<StartupApplicationAsync>d__16.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Quicker.App.<ApplicationStart>d__14.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

TypeInitializationException
“System.Text.RegularExpressions.RegexCharClass”的类型初始值设定项引发异常。
   在 System.Text.RegularExpressions.RegexCharClass.IsWordChar(Char ch)
   在 System.Text.RegularExpressions.RegexParser.CountCaptures()
   在 System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op)
   在 System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache)
   在 System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options)
   在 Dapper.SqlMapper..cctor()

AccessViolationException
尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
   在 System.Text.RegularExpressions.RegexCharClass..cctor()
版本:1.39.24 2025-10-20 09:06 Microsoft Windows NT 10.0.19044.0