zoukankan      html  css  js  c++  java
  • 使用IBatisNet报错

    The error occurred while loading Providers

    错误代码

    未处理IBatisNet.Common.Exceptions.ConfigurationException
      HResult=-2146232832
      Message=
    - The error occurred while loading Providers.
      Source=IBatisNet.DataMapper
      StackTrace:
           在 IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument document, DataSource dataSource, Boolean useConfigFileWatcher, Boolean isCallFromDao)
           在 IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument document, Boolean useConfigFileWatcher)
           在 IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Configure(Stream resource)
           在 ConsoleApplication1.Program.Main(String[] args) 位置 e:易建科技	estConsoleApplication1ConsoleApplication1Program.cs:行号 28
           在 System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
           在 System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
           在 Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
           在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           在 System.Threading.ThreadHelper.ThreadStart()
      InnerException: IBatisNet.Common.Exceptions.ConfigurationException
           HResult=-2146232832
           Message=Unable to load embedded resource from assembly "providers.config,ConsoleApplication1".
           Source=IBatisNet.Common
           StackTrace:
                在 IBatisNet.Common.Utilities.Resources.GetEmbeddedResourceAsXmlDocument(String resource)
                在 IBatisNet.Common.Utilities.Resources.GetAsXmlDocument(XmlNode node, NameValueCollection properties)
                在 IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.GetProviders()
                在 IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Initialize()
                在 IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument document, DataSource dataSource, Boolean useConfigFileWatcher, Boolean isCallFromDao)
           InnerException:

    解决方法:

    image

    image

  • 相关阅读:
    STM8S TIM4库函数应用
    几种更新(Update语句)查询的方法
    CentOS 配置httpd使局域网能够正常訪问
    天将降大任于斯人也,必先苦其心志,劳其筋骨,饿其体肤,空乏其身,行拂乱其所为,所以动心忍性,增益其所不能
    Numeral.js 是一个用于格式化和数字四则运算的js 库
    SVN高速新手教程
    我的Android开发相关文章
    cocos2d-x游戏开发实战原创视频讲座系列1之2048游戏开发
    运动检测(前景检测)之(一)ViBe
    linux概念之分区与文件系统
  • 原文地址:https://www.cnblogs.com/ilooking/p/4614832.html
Copyright © 2011-2022 走看看