When trying to run a query or open ssms, you receive this error, related to fonts:
Error Desc:
Object reference not set to an instance of an object. (Microsoft.VisualStudio.Editor.Implementation) ------------------------------ Program Location: at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.SetScrollPosition(Int32 iBar, Int32 iFirstVisibleUnit)
To Resolve:
Solution 1 - Run Fixit tool for KB4074906
Microsoft has released a Fixit tool for KB4074906, available on Windows Update, WSUS, Microsoft Update Catalog, and as a direct download.
and/or
Solution 2 - Replace GlobalUserInterface.CompositeFont Manually
Manually replace corrupted font file with correct version.
- Download GlobalUserInterface.CompositeFont (default download for Windows 7 is %USERPROFILE%\Downloads).
- Launch
cmd
as Administrator and navigate to %windir%\Microsoft.NET\Framework\v4.0.30319\WPF\Fonts and run:xcopy /y %USERPROFILE%\Downloads\GlobalUserInterface.CompositeFont .
(or copy and paste the GlobalUserInterface.Composite file through Windows Explorer to %windir%\Microsoft.NET\Framework\v4.0.30319\WPF\Fonts) - Re-launch WPF application.
- Reboot machine and re-launch application if you still have trouble.
No comments:
Post a Comment