natasha Posted February 28, 2008 Report Share Posted February 28, 2008 Hi, I have a project in Visual Studio 2005 that uses ChartFX and I am trying to modify that project with some additional features. I installed the ChartFX Gauges for .NET but I am unable to build the solution as it keeps throwing this exception. Error 6 Exception occurred creating type 'ChartFX.WinForms.Gauge.RadialGauge, ChartFX.WinForms.Gauge, Version=1.0.2601.0, Culture=neutral, PublicKeyToken=a1878e2052c08dce' System.TypeInitializationException: The type initializer for 'ChartFX.WinForms.Gauge.BaseGauge' threw an exception. ---> System.TypeInitializationException: The type initializer for 'a8' threw an exception. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.RegistryPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. D:\src\chineseresx\635devatd\ease_of_use\TestSummaryPanel\Properties\licenses.licx 1 TestSummaryPanel Any advice would be greatly appreciated. Thanks Link to comment Share on other sites More sharing options...
Frank Posted February 28, 2008 Report Share Posted February 28, 2008 The problem is permissions. In order to build an app using Gauges you must be an administrator on the machine you are compiling. The license needs to be obtained from the registry. The error you are getting says that the control is failing to obtain the information from the registry dues to a security restriction. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.