This is a migrated thread and some comments may be shown as answers.

visual style builder has encountered a problem

8 Answers 210 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
jack jai
Top achievements
Rank 1
jack jai asked on 28 Mar 2010, 01:27 PM
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

8 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 29 Mar 2010, 02:01 PM
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.
0
jack jai
Top achievements
Rank 1
answered on 29 Mar 2010, 08:10 PM
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
0
Victor
Telerik team
answered on 01 Apr 2010, 12:38 PM
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.
0
jack jai
Top achievements
Rank 1
answered on 01 Apr 2010, 11:21 PM
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



0
Victor
Telerik team
answered on 06 Apr 2010, 09:57 AM
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.
0
jack jai
Top achievements
Rank 1
answered on 06 Apr 2010, 03:11 PM
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
0
Accepted
Victor
Telerik team
answered on 08 Apr 2010, 04:19 PM
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.
0
jack jai
Top achievements
Rank 1
answered on 08 Apr 2010, 09:10 PM
it's work
Thanks u victor

Tags
Themes and Visual Style Builder
Asked by
jack jai
Top achievements
Rank 1
Answers by
Victor
Telerik team
jack jai
Top achievements
Rank 1
Share this question
or