Visual Studio 2015 Community: PNG Editor Error - "Exception from HRESULT: 0x80020101"

My Visual Studio has encountered an error for quite some time. Every time I try to edit a PNG image file in Visual Studio, when I click on most of the buttons, an error message appears.

Exception from HRESULT: 0x80020101 

List of affected buttons (and keys):

  • Delete key
  • Advanced menu and everything below it
  • Channel A, R, G, and B buttons
  • Grid Button
  • Set image in window
  • Set image width in window window
  • Zoom button
  • Pan button

Any help would be great. Thanks.

+6
source share
1 answer

This is a known behavior after VS Update1 and annoys me every time I try to edit .png. This is really annoying !. Microsoft Team is working on it. Link to the original answer on msdn.

I copied it (in case it will be deleted later)

The Visual Studio graphics team found an error due to which some of the graphic editors either didn’t open or didn’t work, as was developed after the installation of Update 1. The affected files include scenes (.fbx), shaders (.dgsl), and some types images (.png). Typical error behavior is either the XML text being displayed, or a graphical editor, or receiving a dialog box indicating error 0x80020101. We have a fix and we are working to make it publicly available until the end of January 2016.

To resolve the issue until we release the hotfix, consider one of the following methods:

  • Go to this OneDrive folder . This folder contains a zip file called VsGraphicsScripts.zip. Zip itself contains a folder called "Scripts". Extract the contents of the zip file somewhere convenient for you. After that, replace the Scripts folder installed by Visual Studio in C: \ Program Files (x86) \ Microsoft Visual Studio 14.0 \ Common7 \ IDE \ Extensions \ Microsoft \ VsGraphics \ Assets \ Scripts with the new Scripts folder that you just extracted.
  • Use Community Edition for Visual Studio 2013 to do the editing you need to do for the affected files.
  • Uninstall Update 1

We sincerely apologize for the concern,

Jim grismer

Visual Studio Graphics Tools

+10
source

All Articles