locked
The type initializer for 'System.Drawing.ToolboxBitmapAttribute' threw an exception. RRS feed

  • Question

  • Hi,

    I have a VS 2013 Report Project and when I opened it today it showed me this error 

    "

    One or more errors encountered while loading the designer. The errors are listed below.
                    The type initializer for 'System.Drawing.ToolboxBitmapAttribute' threw an exception. 

    "

    I don't know why this is happening. Any tips on how to fix?

    Thank you.

    Tuesday, March 22, 2016 12:48 PM

Answers

  • Could be a variety of reasons this happened. I have fixed similar issues with using Devenv /setup.

    Go to your program files x86\visual studio 2013\common7\ide folder in an admin command prompt.

    Run devenv /setup from that folder and see if it will fix your issue. Example:

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv /setup


    Brad Syputa, Microsoft SQL Server Business Intelligence This posting is provided ASIS with no warranties.

    Tuesday, March 22, 2016 11:08 PM

All replies

  • Hi,

    Do you have a full stack trace ?

    Regards


    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it

    Tuesday, March 22, 2016 1:03 PM
  • Could be a variety of reasons this happened. I have fixed similar issues with using Devenv /setup.

    Go to your program files x86\visual studio 2013\common7\ide folder in an admin command prompt.

    Run devenv /setup from that folder and see if it will fix your issue. Example:

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv /setup


    Brad Syputa, Microsoft SQL Server Business Intelligence This posting is provided ASIS with no warranties.

    Tuesday, March 22, 2016 11:08 PM