首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >企业库6配置工具/控制台使用Visual 2013抛出FileNotFoundException

企业库6配置工具/控制台使用Visual 2013抛出FileNotFoundException
EN

Stack Overflow用户
提问于 2014-05-13 17:39:46
回答 4查看 2.5K关注 0票数 4

我正在试验EntLib6和Visual 2013。

当我试图用web.config或EntLibConfig-32.exe打开EntLibConfig.exe时,会得到以下异常:

代码语言:javascript
复制
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01:   entlibconfig.exe
Problem Signature 02:   6.0.1304.0
Problem Signature 03:   51795f05
Problem Signature 04:   EntLibConfig
Problem Signature 05:   6.0.1304.0
Problem Signature 06:   51795f05
Problem Signature 07:   3
Problem Signature 08:   29
Problem Signature 09:   System.IO.FileNotFoundException
OS Version: 6.1.7601.2.1.0.256.48
Locale ID:  1033
Additional Information 1:   25bb
Additional Information 2:   25bbdf70ded93ca74287ca4dc5fdb6ca
Additional Information 3:   86d3
Additional Information 4:   86d3c846a76cb9420f22a0b4ef52ed43

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

我正在这里试验这个示例- http://code.msdn.microsoft.com/Use-Jquery-Autocomplete-a2e3e42e#content (使用(ASMX) DataSource)

我的机器是Windows764位,VS2013更新2。它指的是哪个文件,如何克服这个错误?

EN

回答 4

Stack Overflow用户

回答已采纳

发布于 2014-10-07 19:26:33

搜索这些dll并查看它们是否在带有Entlibconfig.exe的文件夹中。看起来大多数时候Microsoft.Practices.Unity.dll都是问题所在。至少在过去这对我来说是个问题。

Microsoft.Practices.EnterpriseLibrary.Common.dll Microsoft.Practices.EnterpriseLibrary.Configuration.Design.HostAdapterV5.dll Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll Microsoft.Practices.Unity.dll

票数 3
EN

Stack Overflow用户

发布于 2014-12-15 16:01:27

检查是否有以下文件。这样就可以加载控制台并在数据库跟踪侦听器中使用日志应用程序块。

  • EntLibConfig.exe EntLibConfig.exe.config
  • Microsoft.Practices.EnterpriseLibrary.Common.dll
  • Microsoft.Practices.EnterpriseLibrary.Configuration.Design.HostAdapter.dll
  • Microsoft.Practices.EnterpriseLibrary.Configuration.Design.HostAdapterV5.dll
  • Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll
  • Microsoft.Practices.EnterpriseLibrary.Configuration.EnvironmentalOverrides.dll
  • Microsoft.Practices.EnterpriseLibrary.Data.dll
  • Microsoft.Practices.EnterpriseLibrary.Logging.Database.dll
  • Microsoft.Practices.EnterpriseLibrary.Logging.dll
  • Microsoft.Practices.ServiceLocation.dll
  • Microsoft.Practices.Unity.dll
  • Microsoft.Practices.Unity.Interception.dll
票数 2
EN

Stack Overflow用户

发布于 2018-04-10 19:28:51

对于那些在几年后发现的(就像我刚才所做的那样):如果您下载了EL二进制文件,在安装之后,就会有一个PowerShell脚本install-packages.ps1。运行它将导致许多额外的DLL(以及谁知道还有什么)被下载到本地目录,然后EntLibConfig运行良好。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23638098

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档