visual style builder has encountered a problem

9 posts, 1 answers
  1. jack jai
    jack jai avatar
    7 posts
    Member since:
    Mar 2010

    Posted 28 Mar 2010 Link to this post

    hi
    i am using telerik rad control winforms q1 2010 with visual studio 2005, when i am run the telerik visual style builder it display an error message "Telerik.VisualStyleBuilder has encountered a problem and needs to close. we are sorry for the inconvenience.
    what is the reason for display the error message?
    plz help me, its very urgent

  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 29 Mar 2010 Link to this post

    Hello jack jai,

    I am afraid that the information provided is not enough to diagnose the problem. Please debug the application and post the stack trace of the exception that is thrown. We will also appreciate it if you send us the exact steps you did before the application crushed.

    Also do you have the Telerik assemblies installed in the GAC?  

    I am looking forward to your reply.
     

    Greetings,
    Victor
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. jack jai
    jack jai avatar
    7 posts
    Member since:
    Mar 2010

    Posted 29 Mar 2010 Link to this post

    Hi
    i select the debug mode then it display the TypeInitializationException was unhandled  error
    Message
    "The type initializer for 'Telerik.WinControls.UI.Docking.QuickNavigator' threw an exception."}
    then i select the view detail link
    Source
    "Telerik.WinControls.RadDock"


    Stack Trace "   at Telerik.WinControls.UI.Docking.QuickNavigator..ctor()\r\n   at VisualStyleBuilder.Design.VsbQuickNavigatorMetadata.CreatePreviewControl()\r\n   at VisualStyleBuilder.Design.VsbGenericControlMetadata`1..ctor(String name)\r\n   at VisualStyleBuilder.Design.VsbQuickNavigatorMetadata..ctor()\r\n   at VisualStyleBuilder.Design.ThemeViewModel.InitializeStructureTree()\r\n   at VisualStyleBuilder.Design.ThemeViewModel..ctor()\r\n   at VisualStyleBuilder.Design.VSBApplication..ctor()\r\n   at VisualStyleBuilder.Design.VSBApplication.get_Instance()\r\n   at Telerik.WinControls.Themes.Design.Program.Main()"

    Type Name
    "Telerik.WinControls.UI.Docking.QuickNavigator"


    Output Tab  in visual studio debugging Shows
    An unhandled exception of type 'System.TypeInitializationException' occurred in VisualStyleBuilder.Design.dll

    Additional information: The type initializer for 'Telerik.WinControls.UI.Docking.QuickNavigator' threw an exception.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\Program Files\Telerik\RadControls for WinForms Q1 2010\bin\VisualStyleBuilder.exe', No symbols loaded.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\VisualStyleBuilder.Design\2010.1.10.308__5bb2a467cbec794e\VisualStyleBuilder.Design.dll', No symbols loaded.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Telerik.WinControls\2010.1.10.308__5bb2a467cbec794e\Telerik.WinControls.dll', No symbols loaded.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Telerik.WinControls.UI\2010.1.10.308__5bb2a467cbec794e\Telerik.WinControls.UI.dll', No symbols loaded.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\TelerikCommon\2010.1.10.308__5bb2a467cbec794e\TelerikCommon.dll', No symbols loaded.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    The thread 0x98c has exited with code 0 (0x0).
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Telerik.WinControls.GridView\2010.1.10.308__5bb2a467cbec794e\Telerik.WinControls.GridView.dll', No symbols loaded.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Telerik.WinControls.Scheduler\2010.1.10.308__5bb2a467cbec794e\Telerik.WinControls.Scheduler.dll', No symbols loaded.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Telerik.WinControls.RadDock\2010.1.10.308__5bb2a467cbec794e\Telerik.WinControls.RadDock.dll', No symbols loaded.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Accessibility\2.0.0.0__b03f5f7f11d50a3a\Accessibility.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'VisualStyleBuilder.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    The program '[2300] VisualStyleBuilder.exe: Managed' has exited with code -532459699 (0xe0434f4d).


    i install only the winform radcontrol q1 2010 its enough or?
    plz give me the solution
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 01 Apr 2010 Link to this post

    Hi jack jai,

    Thank you for the information, while it was somewhat helpful, it does not indicate the type of the inner exception. A TypeInitializationException is thrown from the constructor of a type whenever something goes wrong during the constructor execution. For example, if a NullReferenceException is thrown from a constructor, it will be wrapped in a TypeInitializationException and then the new one will be rethrown.
    We need to know what the inner exception is so that we may get an idea what exactly is failing to execute, since the exception does not occur here.

    I am looking forward to your reply.

    Greetings,
    Victor
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  6. jack jai
    jack jai avatar
    7 posts
    Member since:
    Mar 2010

    Posted 01 Apr 2010 Link to this post

    Hi Victor
    Thanks for reply.

    Inner Exeception
    {"Method not found: 'System.Drawing.Icon System.Drawing.SystemIcons.get_Shield()'."}
    •         Data
                 {System.Collections.ListDictionaryInternal}
                 count
                 0
                 ISFixedSize  false
                 IsReadonly  false
                 IsSynchronized false


    •         Keys
                  {System.Collections.ListDictionaryInternal.NodeKeyValueCollection}
                  count  0
                  isSynchronized false
                  SyncRoot {object}
                  SyncRoot {object}

    •        Values
                {System.Collections.ListDictionaryInternal.NodeKeyValueCollection}
                count 0
                IsSynchronized false
                syncRoot {object}

    •      HelpLink null

    •      InnerException null



  7. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 06 Apr 2010 Link to this post

    Hello jack jai,
     
    This seems to be a problem local to your machine. The exception says "Method not found". The .Net run-time that you are using is probably out of date. Please update your .Net framework to at least 2.0.
     
    Greetings,
    Victor
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  8. jack jai
    jack jai avatar
    7 posts
    Member since:
    Mar 2010

    Posted 06 Apr 2010 Link to this post

    hi victor
    i m using visual studio 2005 and the framework is 2.0.

    Exception  error message
    An unhandled exception of type 'System.TypeInitializationException' occurred in VisualStyleBuilder.Design.dll
    Additional information: The type initializer for 'Telerik.WinControls.UI.Docking.QuickNavigator' threw an exception.

    Inner exception
    {"Method not found: 'System.Drawing.Icon System.Drawing.SystemIcons.get_Shield()'."}

    stack Trace
    "   at Telerik.WinControls.UI.Docking.QuickNavigator..cctor()"

    thank u
  9. Answer
    Victor
    Admin
    Victor avatar
    1351 posts

    Posted 08 Apr 2010 Link to this post

    Hi jack jai,
     
    The CLR cannot find the Shield property in the SystemIcons class which has been part of the .NET framework since version  2.0 SP1. You will have to install the .NET Framework 2.0 SP1 in order to run Visual Style Builder. We will consider using a different icon in it since the 2.0 SP has not been completely adopted.

    Write again if you need further assistance.
     
     
    Kind regards,
    Victor
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  10. jack jai
    jack jai avatar
    7 posts
    Member since:
    Mar 2010

    Posted 08 Apr 2010 Link to this post

    it's work
    Thanks u victor

Back to Top
UI for WinForms is Visual Studio 2017 Ready