Question

I'm experimenting with EntLib6 and Visual Studio 2013.

When I attempt to open the web.config with the EntLibConfig.exe or EntLibConfig-32.exe, I get the following exception:

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

I'm experimenting with the sample here - http://code.msdn.microsoft.com/Use-Jquery-Autocomplete-a2e3e42e#content (Use Jquery Autocomplete With Web Service (ASMX) DataSource)

My machine is Windows 7 64 bit, VS2013 Update 2. Which file is it referring to and how do I get past this error?

Was it helpful?

Solution

Search for these dll's and see if they are in the folder with Entlibconfig.exe. It looks like Microsoft.Practices.Unity.dll is the problem most of the time. At least it has been a problem for me in the past.

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

OTHER TIPS

Check to have following files. These make possible to load the console and use Logging Application Block with Database Trace Listener.

  • 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

For those that find this years from now (like I just did): if you downloaded the EL binaries, after installation, there's a PowerShell script, install-packages.ps1. Running it results in a number of additional DLLs (and who knows what else) being downloaded to the local directory, and then EntLibConfig runs fine.

I was able to compile the code .link to Enterprise library 6 Config exe is https://github.com/EnlightonOcean/Microsoft.Practices.EnterpriseLibrary.ConfigConsoleV6 Happy coding.....

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top