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

Trial download: demo throws exception :(

1 Answer 27 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Keith Woods
Top achievements
Rank 1
Keith Woods asked on 30 Nov 2009, 05:40 PM
Already used more brain cycles than I want to just evaluate the product :(

System.Security.SecurityException was unhandled by user code
  Message="Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
  Source="mscorlib"
  StackTrace:
       at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
       at System.Security.CodeAccessPermission.Demand()
       at System.Environment.GetCommandLineArgs()
       at System.Windows.StartupEventArgs.GetCmdLineArgs()
       at System.Windows.StartupEventArgs.get_Args()
       at Telerik.Windows.Examples.App.OnStartup(StartupEventArgs e)
       at System.Windows.Application.<.ctor>b__0(Object unused)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  InnerException:

1 Answer, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 02 Dec 2009, 05:20 PM
Hi Keith Woods,

The error is due to an incorrect security setting in the Examples project and it can be fixed with ease. May I ask you to open the project's properties and go to the Security tab. There you will find the option "Enable CLickOnce Security Settings" - just uncheck it and you should be able to run the examples.

Don't hesitate to contact us if you have other questions.

Best wishes,
Boyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Keith Woods
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Share this question
or