"WPF Demos has stopped working" in RadControls for WPF 2012.2.607

3 posts, 0 answers
  1. Stephen Tearle
    Stephen Tearle avatar
    9 posts
    Member since:
    Feb 2004

    Posted 11 Jun 2012 Link to this post

    Hi,

    After upgrading to RadControls for WPF 2012.2.607, the Demos app crashes on launch with the following error:

    "WPF Demos has stopped working".

    We are running Windows 7 64 bit.

    Problem signature:
      Problem Event Name: CLR20r3
      Problem Signature 01: wpf demos.exe
      Problem Signature 02: 1.0.0.0
      Problem Signature 03: 4fd0cd4f
      Problem Signature 04: mscorlib
      Problem Signature 05: 4.0.0.0
      Problem Signature 06: 4ee9af8e
      Problem Signature 07: 3fda
      Problem Signature 08: 13c
      Problem Signature 09: System.UnauthorizedAccess
      OS Version: 6.1.7601.2.1.0.256.48
      Locale ID: 3081
      Additional Information 1: 0a9e
      Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
      Additional Information 3: 0a9e
      Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
  2. Stephen Tearle
    Stephen Tearle avatar
    9 posts
    Member since:
    Feb 2004

    Posted 11 Jun 2012 Link to this post

    After further investigation it appears the error is caused by security not allowing a file to be created... starting the Demos with "Run as Administrator" option allows the app to run.

    This is the full exception from the event log:

    Application: WPF Demos.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.UnauthorizedAccessException
    Stack:
       at System.IO.__Error.WinIOError(Int32, System.String)
       at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean)
       at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32, System.IO.FileOptions)
       at System.IO.StreamWriter.CreateFile(System.String, Boolean)
       at System.IO.StreamWriter..ctor(System.String, Boolean, System.Text.Encoding, Int32)
       at System.IO.StreamWriter..ctor(System.String, Boolean, System.Text.Encoding)
       at System.IO.File.InternalAppendAllText(System.String, System.String, System.Text.Encoding)
       at System.IO.File.AppendAllText(System.String, System.String)
       at Telerik.Windows.QuickStart.App.App_DispatcherUnhandledException(System.Object, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs)
       at System.Windows.Threading.Dispatcher.CatchException(System.Exception)
       at System.Windows.Threading.Dispatcher.CatchExceptionStatic(System.Object, System.Exception)
       at System.Windows.Threading.ExceptionWrapper.CatchException(System.Object, System.Exception, System.Delegate)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
       at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
       at System.Windows.Application.RunDispatcher(System.Object)
       at System.Windows.Application.RunInternal(System.Windows.Window)
       at System.Windows.Application.Run(System.Windows.Window)
       at Telerik.Windows.QuickStart.App.Main()

  3. UI for WPF is Visual Studio 2017 Ready
  4. Legoless
    Legoless avatar
    9 posts
    Member since:
    Mar 2012

    Posted 15 Jun 2012 Link to this post

    Hello,

    I can confirm this error on both: Windows 7 32bit, Windows 7 64bit and Windows 8 Release Preview 64bit. The "Run as Administrator" does help this issue, but the crash should be fixed none-the-less.

    Best regards,

    Dal
Back to Top