[Fix]-Assembly binding logging is turned OFF

Wikitechy | 7476 Views | asp.net | 28 May 2016

 

Scenario:

While launching the web application to the server, the following error shows up.

Error:

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\ (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\ 

Reason:

It can be because of a missing library reference or an issue related to the Operating System.

Fix 1:

Add reference to following libraries in your application:

  • System.Web.Extensions.Design.dll 
  • System.Web.Extensions.dll

Fix 2:

Update .Net Framework version in project properties page, rebuild and run the application.

Fix 3:

The error may sometimes occur because of adding reference to 32-bit assembly in 64 bit operating system, In such cases change the compiler settings to use “Any cpu” option. 

Fix 4:

Add the Enterprise Library files to the bin folder of the website.

Fix 5:

  • Create a new Application Pool.
  • Select Advanced Settings of this application pool.
  • Set the property Enable 32-Bit Application to True.
  • Point the web application to the newly created Pool.




Workshop

Bug Bounty
IOT Hackathon
Webinar

Join our Community

Advertise