Enable assembly bind failure Logging (Fusion) in. NET

Source: Internet
Author: User

The problem with a new WCF project that was compiled into a 64-bit version of 64-bit Windows today is not fortunate

First, Baidu. How to view the assembly load log:

Add the following values to

Hkey_local_machine\software\microsoft\fusionadd:dword ForceLog Set value to 1DWORD logfailures set value to 1DWORD logres Ourcebinds set value to 1String LogPath set value to folder for logs (e.g. C:\FusionLog\)

Make sure your include the backslash after the folder name and that the folder exists.

You need to restart the program, which you ' re running to force it to read those registry settings.

Finally discovered that Iisexpress called the CLR under Framework\v4.0.30319\clr.dll, and I wiped this 32-bit CLR.

Then Baidu a bit, found vs2012 belt of Iisexpress is 32 bit of

The solution address is as follows: http://www.cnblogs.com/jianyus/p/3524335.html

VS2013 has a 64-bit version of iisexpress, so just use this.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.