WPF Demo Crashes while browsing around

10 posts, 0 answers
  1. Miguel
    Miguel avatar
    2 posts
    Member since:
    Nov 2008

    Posted 21 Nov 2008 Link to this post

    Hello, I just installed the demo. It seems to work fine when I click on an item on the tree list but when I click on another item on the tree list, it crashes. It always crashes when I select my second item but the first item loads fine.

    Here's a screenshot: http://img291.imageshack.us/img291/7963/crashwi6.jpg
  2. Nikolay
    Admin
    Nikolay avatar
    3997 posts

    Posted 26 Nov 2008 Link to this post

    Hi Miguel,

    First of all, I apologize for the late reply.

    Did you mean that the QSF crashes upon clicking on an item? Can you elaborate a bit more on what you did before the problem appeared? Step-by-step details will be of great help for us to try to reproduce the problem locally.

    Sincerely yours,
    Nick
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Miguel
    Miguel avatar
    2 posts
    Member since:
    Nov 2008

    Posted 26 Nov 2008 Link to this post

    When I load the application, I am able to click on a single item and it will load correctly. The moment I select another item from the list, that's when the crash occurs. It happens 100% of the time.
  4. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 01 Dec 2008 Link to this post

    Hello Miguel,

    Sorry for the caused inconvenience. After performing some tests at our side we did not reproduce this problem. I would suggest that delete your browser's cache(if you run the sample as a .xbap application), and then download again the installation and run it again. We really have no clues what might be causing the problem as everything is running as expected at our side.

    Let us know how this goes.

    Regards,

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Tor
    Tor avatar
    1 posts
    Member since:
    Dec 2008

    Posted 18 Dec 2008 Link to this post

    Hi,

    This happend to me too, and I've sent an email about it, but here is the error message reported in the browser:

    Startup URI: http://demos.telerik.com/wpf/
    Application Identity: http://demos.telerik.com/wpf/#Telerik.Windows.Examples.xbap, Version=1.0.3.3, Culture=neutral, PublicKeyToken=68aea52899ac9a31, processorArchitecture=msil/Telerik.Windows.Examples.exe, Version=1.0.3.3, Culture=neutral, PublicKeyToken=68aea52899ac9a31, processorArchitecture=msil, type=win32

    System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
       at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
       at System.Security.CodeAccessPermission.Demand()
       at MS.Internal.PresentationFramework.SecurityHelper.DemandUIWindowPermission()
       at System.Windows.Application.Shutdown(Int32 exitCode)
       at Telerik.Windows.Examples.App.App_DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e)
       at System.Windows.Threading.Dispatcher.CatchException(Exception e)
       at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
       at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

    The action that failed was:
    Demand
    The type of the first permission that failed was:
    System.Security.Permissions.UIPermission
    The first permission that failed was:
    <IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    version="1"
    Window="AllWindows"/>

    The demand was for:
    <IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    version="1"
    Window="AllWindows"/>

    The granted set of the failing assembly was:
    <PermissionSet class="System.Security.PermissionSet"
    version="1">
    <IPermission class="System.Security.Permissions.FileDialogPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    version="1"
    Access="Open"/>
    <IPermission class="System.Security.Permissions.IsolatedStorageFilePermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    version="1"
    Allowed="ApplicationIsolationByUser"
    UserQuota="512000"/>
    <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    version="1"
    Flags="Execution"/>
    <IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    version="1"
    Window="SafeTopLevelWindows"
    Clipboard="OwnClipboard"/>
    <IPermission class="System.Drawing.Printing.PrintingPermission, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    version="1"
    Level="SafePrinting"/>
    <IPermission class="System.Security.Permissions.MediaPermission, WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    version="1"
    Audio="SafeAudio"
    Video="SafeVideo"
    Image="SafeImage"/>
    <IPermission class="System.Security.Permissions.WebBrowserPermission, WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    version="1"
    Level="Safe"/>
    <IPermission class="System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    version="1">
    <ConnectAccess>
    <URI uri="(http|https)://demos\.telerik\.com/.*"/>
    </ConnectAccess>
    </IPermission>
    </PermissionSet>

    The assembly or AppDomain that failed was:
    Telerik.Windows.Examples, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null
    The method that caused the failure was:
    Void App_DispatcherUnhandledException(System.Object, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs)
    The Zone of the assembly that failed was:
    MyComputer
    The Url of the assembly that failed was:
    file:///C:/Users/tfn/AppData/Local/Apps/2.0/V5MYDAC1.4OW/0OGHPGCX.ZRT/tele..xbap_68aea52899ac9a31_0001.0000_7f5a2504a61aa5eb/Telerik.Windows.Examples.EXE

     

    Regards,
    Tor Thorbergsen

  6. Rosi
    Admin
    Rosi avatar
    2529 posts

    Posted 18 Dec 2008 Link to this post

    Hello Tor,

    We are sorry to hear that you experience any problems with our controls.

    We tried to reproduce the problem, but to no avail. Could you please provide us with more details on how to reproduce the issue? Does the error appear  when you click on a particular example? If so, could you tell us which is the example?

    This will help us to understand the problem better and provide you with more specific instructions. Also I suggest you install the examples locally and let us know how this goes.

    Regards,
    Rosi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. Arne
    Arne avatar
    1 posts
    Member since:
    Dec 2008

    Posted 19 Oct 2009 Link to this post

    Hi,

    I'm experiencing the same thing. The xbap seems to load just fine, but when I try to navigate to any of the links I get the same security exception. FYI.


    Kind Regards,

    Arne Wauters
  8. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 22 Oct 2009 Link to this post

    Hello Arne,

    Can you point us to the specific example you have clicked that resulted in this error?

    Kind regards,
    Stefan Dobrev
    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.
  9. yonadav
    yonadav avatar
    60 posts
    Member since:
    Oct 2009

    Posted 02 Nov 2009 Link to this post

    I had the same problem, an issue with the UIPermission (I'm running on Windows 7).

    However, when I ran IE in Administrator mode (bad idea, generally), it worked fine.

    Can the fact that the user is not an administrator cause a problem?
  10. yagimay
    yagimay avatar
    4 posts
    Member since:
    Sep 2008

    Posted 05 Feb 2010 Link to this post

    Hello, I meet the same issue as well.

    yonadav, I'm not sure if this is a UAC issue in Vista and Windows 7.
    I run on Vista with UAC disabled but see the same issue.

    My guess is that the Demo XBAP application requires full trust to run.

    http://blogs.microsoft.co.il/blogs/maxim/archive/2008/03/05/wpf-xbap-as-full-trust-application.aspx

    Telerik team,
    Do you think you could test this via internet.

    Thanks,
    yagimay

Back to Top