Error: The Type Initializer for 'MS.Internal.FontCache.Util' Threw an Exception

Follow

Summary

When starting DyKnow Vision, DyKnow quits working with the following error: The type initializer for 'MS.Internal.FontCache.Util' threw an exception.

There is no code fix for this issue, however the underlying issue is below:

This can be caused by an improperly set registry key at :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\WinDir

If that registry key is not of type REG_EXPAND_SZ the above error can occur.

Solution

Make sure that the Registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\WinDir

is of the type REG_EXPAND_SZ

Have more questions? Submit a request

Comments

Powered by Zendesk