[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Posted on 2008-11-12
Last Modified: 2013-11-26
Event Category:      None
Event ID:      0
Date:            11/12/2008
Time:            12:46:23 PM
User:            N/A
Service cannot be started. System.TypeInitializationException: The type initializer for 'Microsoft.Practices.EnterpriseLibrary.Logging.Logger' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=, Culture=neutral, PublicKeyToken=5' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Practices.EnterpriseLibrary.Common, Version=, Culture=neutral, PublicKeyToken=5'
   at Microsoft.Practices.EnterpriseLibrary.Logging.Logger..cctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   --- End of inner exception stack trace ---
   at Microsoft.Practices.Ente...

For more information, see Help and Support Center at

Question by:Swetha_aJaX
    LVL 23

    Expert Comment

    by:Jens Fiederer
    The application is trying to load a DLL, and failing.

    If you set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1, a log will be kept of all DLLs loaded (you can use Fusion Log Viewer to see this) that will help you find out where the problem is.

    Author Comment

    Its not help full
    i setup the enable log to 1 but no result
    is there any onther way you can see
    LVL 23

    Accepted Solution

    LVL 23

    Expert Comment

    by:Jens Fiederer
    You could try hooking the
    AppDomain.AssemblyResolve  event and see where it gets called....

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now