Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fuslogvw.exe tool for .Net does not show UI

Tags:

.net

fuslogvw

I'm trying to use fuslogvw.exe on a Win 2008 R2 system. It shows the process started and using CPU but no UI appears. I've tried the 32bit and 64bit version in and not in admin mode but no luck. I don't see anything in the event log as a problem.

like image 742
JOAC Avatar asked Feb 26 '10 19:02

JOAC


People also ask

Where is Fuslogvw EXE located?

Fuslogvw is an assembly log viewer and part of the . NET framework. The location on my machine is “C:Program Files (x86)Microsoft SDKsWindowsv7. 0ABin.” The actual location on your machine may vary.

What is Fuslogvw?

fuslogvw. The viewer displays an entry for each failed assembly bind. For each failure, the viewer describes: the application that initiated the bind. the assembly the bind is for, including name, version, culture and public key.

What is FusionLog?

FusionLog folder is not part of SolarWinds and is a folder created by Microsoft. The way this works is Microsoft has its libraries and we use them as a client. Fusion logging is extra logging that we can sometimes use to see underlying issues that our logs might have not caught.


1 Answers

If you cannot get the UI to work, it is not actually needed to configure and view the fusion logs. You can set the fusion log settings in the registry under the HKEY_LOCAL_MACHINE\Software\Microsoft\Fusion key, and then view the logs directly from the directory you have configured (as they are just HTML files).

If you want to configure the logs using the registry, you need to set the following keys (from here):

  • LogFailures = 1 (DWORD Value)
    This turns on failure logging so that failed attempts to locate all assemblies are logged.

  • LogResourceBinds = 1 (DWORD Value)
    This turns on failure logging so that failed attempts to locate satellite assemblies are logged. This is not logged by default.

  • ForceLog = 1 (DWORD Value)
    This turns on logging for all assembly binds - both failures and successes. By default, only failures are logged. This is useful if you want to verify that an assembly is loading from a specific directory instead of from the global assembly cache.

  • LogPath = "C:\fusionlogs\" (String Value)
    If you want to view the fusion logs easily, set the LogPath to a directory to output them to. By default the log files go into the Temporary Internet Files folder of the current user’s profile. For an ASP.Net or a .Net Windows service application, the only way to view the fusion log is to use this option. This is because they run as users other than the current user. The directory specified must already exist and have appropriate file permissions to be written to. For ASP.Net applications, the ASPNET user must have write permission to the directory. If the permissions are wrong, there will be no log output.

like image 171
adrianbanks Avatar answered Sep 20 '22 17:09

adrianbanks