54

Assembly Binding Log Viewer (fuslogvw) is not logging bindings for any version of the framework installed on my machine.

I tried using a custom log location, the default log location, the default category, and the native images category.

Assembly Binding Log Viewer worked a few months ago. I'm on a 64-bit machine and am running: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64\FUSLOGVW.exe

0

6 Answers 6

53

Going into Internet Explorer --> Tools --> Internet Options --> Browsing History,Delete..., , checking Temporary Internet Files and clicking delete fixed my issue.

Thanks to this blog post: http://www.request-response.com/blog/CommentView,guid,9f383687-3e1e-4568-833b-ef80e0938337.aspx

4
  • 1
    Okay, so the obvious elephant in the room here is that if I uninstalled Internet Explorer then I can't use this?
    – marknuzz
    Commented May 23, 2014 at 8:10
  • 1
    @Nuzzolilo There should be a way to reduce the number of temporary internet files on your system. Maybe try this? windows.microsoft.com/en-us/windows-vista/… I don't use Windows much anymore. Commented May 25, 2014 at 6:44
  • 1
    Thanks I was able to find the options despite having it uninstalled
    – marknuzz
    Commented May 26, 2014 at 7:20
  • 5
    Note that MSDN states that the IE cache is only used when not using a custom log location.
    – user3638471
    Commented Jul 9, 2016 at 4:31
40

After much frustration I have found that by default, fuslogvw does not log assembly binding failures!

You need to click 'settings' then select "log bind failures to disk", otherwise you won't see anything in the window.

To change the settings, you may have to run fuslogw.exe as administrator.

5
  • 2
    I needed to browse to the right directory because in the command-prompt it used fuslogvw in the directory v10.0A. The one I needed was in the directory v7.0A.
    – redcurry
    Commented Apr 11, 2016 at 15:03
  • 6
    Also need to click Refresh to see stuff
    – altumano
    Commented Dec 1, 2017 at 13:20
  • 1
    @redcurry it took me about 20 google searches to finally find your response about v7.0A, and that was the answer to my problem of getting it to run for an MVC site running through my local IIS. THANK YOU! Commented Jan 17, 2019 at 0:00
  • I posted an answer pointing to a tool called Fusion++. I just thought to mention it here to make it visible to you.
    – Waescher
    Commented Apr 3, 2020 at 12:58
  • The developer(s) of fuslogvw know very little about a good user experience! Commented Apr 20, 2022 at 22:59
26

If you're building an ASP.NET MVC application (or possibly any other application involving IIS) restarting IIS was required to start getting binding logs.

1
  • Similar with Cassini (Visual studio temp webserver). need to stop it and it will restart once you relaunch project
    – Dave
    Commented Aug 7, 2015 at 16:24
15

The Assembly Binding Log Viewer (FUSLOGVW.exe) has quite some glitches.

Like the fact that it does not bind errors by default when running or that you have to make sure to not add an additional backslash to a custom log path. You cannot use the UI to go on error hunt you literally have to scan the file system to read logs. Heck, you cannot even resize the app window.

There's so much wrong with it that I decided to write an alternative assembly binding log viewer named Fusion++ and put it on GitHub. It uses the same mechanics internally but parses the logs for you. You don't have to care for any settings at all, not even log paths 😉

You can get the latest release from here or via chocolatey (choco install fusionplusplus).

Fusion++

5
  • 1
    Thanks for that! Wow, Reading through this post and answer, what a painful app! Unreal, doing something in IE impacts a completely unrelated dev tool! Thank you for making something better! P.S. I love dark mode! Thank you! Commented Apr 5, 2020 at 12:21
  • Thanks David. Glad you like it.
    – Waescher
    Commented Apr 6, 2020 at 17:25
  • 1
    @Waescher where has this app been all my life? Thanks! :-)
    – bart
    Commented May 4, 2021 at 18:43
  • 1
    Oh my god. This is going to be such a time saver. Immediately shared this with my entire team. That being said, my problem was that I needed to reset IIS. But still...
    – Mike Loux
    Commented Feb 16, 2023 at 19:00
  • 1
    Outstanding piece of work! The tool initially wasn't capturing anything but started to do so after an iisreset. (And the actual culprit turned out to an old version of the DDL cached within the "Temporary ASP.NET Files" folder.)
    – track0
    Commented Mar 16, 2023 at 23:07
8

According to this post it uses the IE Cache for logging. So it is a better idea to avoid clearing the browsing history all together and click on Settings->Enable Custom Log Path and choose a directory where you won't be sharing with IE.

1
  • 1
    This didn't work for me, even with a custom fold set I STILL had to clear the IE temp files/history
    – stonedauwg
    Commented Jul 30, 2015 at 19:45
8

I use the script from this blog post to enable fuslogvw.exe's logging, without the need to use the exe itself.

The script can be downloaded here.

This script "enables" and "disables" custom settings for the Fusion Log Viewer tool.

Enabling settings will:

  • Create a log folder (default: C:\fusionlogs)
  • Add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogPath and set it to the log folder
  • Set HKEY_LOCAL_MACHINE\SOFTWAR\Microsoft\Fusion\LogFailures to 1
  • Optionally set HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\ForceLog to 1
  • Optionally set HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogResourceBinds to 1

Disabling settings will:

  • Delete the log folder and its contents
  • Delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogPath
  • Set HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogFailures to 0
  • Set HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\ForceLog to 0
  • Set HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogResourceBinds to 0
2
  • This answer is the most correct. Deleting IE cache in the marked answer, does not guarantee that Fusion will display logged assemblies. Commented Feb 2, 2018 at 4:51
  • script is no longer available
    – Markus
    Commented Oct 16, 2019 at 12:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.