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

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

2 Answers 127 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stephen Tearle
Top achievements
Rank 2
Stephen Tearle asked on 12 Jun 2012, 12:38 AM
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 Answers, 1 is accepted

Sort by
0
Stephen Tearle
Top achievements
Rank 2
answered on 12 Jun 2012, 12:55 AM
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()

0
Legoless
Top achievements
Rank 1
answered on 16 Jun 2012, 04:36 AM
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
Tags
General Discussions
Asked by
Stephen Tearle
Top achievements
Rank 2
Answers by
Stephen Tearle
Top achievements
Rank 2
Legoless
Top achievements
Rank 1
Share this question
or