Trial download: demo throws exception :(

2 posts, 0 answers
  1. Keith Woods
    Keith Woods avatar
    4 posts
    Member since:
    Nov 2009

    Posted 30 Nov 2009 Link to this post

    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:
  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 02 Dec 2009 Link to this post

    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.
Back to Top