PDA

View Full Version : ارور System.Windows.Markup.XamlParse



A3ed.BlackHat
یک شنبه 09 خرداد 1395, 14:46 عصر
سلام موقع باز کردن برنامه ارور زیر رو میده


Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: app.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 57247396
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.30319.18408
Problem Signature 06: 52310b91
Problem Signature 07: 10eb
Problem Signature 08: 6f
Problem Signature 09: System.Windows.Markup.XamlParse
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1065
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt



Application: app.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Windows.Markup.XamlParseException
Stack:
at System.Windows.Markup.WpfXamlLoader.Load(System.Xa ml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(Syste m.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
at System.Windows.Markup.XamlReader.LoadBaml(System.I O.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
at System.Windows.Application.LoadBamlStreamWithSyncI nfo(System.IO.Stream, System.Windows.Markup.ParserContext)
at System.Windows.Application.LoadComponent(System.Ur i, Boolean)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1(System.Object)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(System.Delegate, System.Object, Int32)
at MS.Internal.Threading.ExceptionFilterHelper.TryCat chWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.Invok eImpl()
at System.Windows.Threading.DispatcherOperation.Invok eInSecurityContext(System.Object)
at System.Threading.ExecutionContext.RunInternal(Syst em.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threa ding.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threa ding.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invok e()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(In tPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation( System.Object)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(System.Delegate, System.Object, Int32)
at MS.Internal.Threading.ExceptionFilterHelper.TryCat chWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeIm pl(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(Syste m.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl( System.Windows.Threading.DispatcherFrame)
at System.Windows.Threading.Dispatcher.PushFrame(Syst em.Windows.Threading.DispatcherFrame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(System.Ob ject)
at System.Windows.Application.RunInternal(System.Wind ows.Window)
at System.Windows.Application.Run(System.Windows.Wind ow)
at System.Windows.Application.Run()
at BendingTest.App.Main()

سیدسبحان
یک شنبه 09 خرداد 1395, 20:58 عصر
سلام مهندس
خب ما که نمیدونیم برنامه ت چه ویژگی ای داره .
ارور هارو هم که حفظ نیستیم....

از برنامه ت بگو تا ببینیم کجاش رو احتمالا اشتباه انجام دادی

A3ed.BlackHat
دوشنبه 10 خرداد 1395, 10:13 صبح
سلام مهندس
خب ما که نمیدونیم برنامه ت چه ویژگی ای داره .
ارور هارو هم که حفظ نیستیم....

از برنامه ت بگو تا ببینیم کجاش رو احتمالا اشتباه انجام دادی
سلام
برنامه روی ویندوز های دیگه بدون مشکل باز میشه



از برنامه ت بگو تا ببینیم کجاش رو احتمالا اشتباه انجام دادی
از چیه برنامه بگم؟

سیدسبحان
سه شنبه 11 خرداد 1395, 09:47 صبح
سلام
برنامه روی ویندوز های دیگه بدون مشکل باز میشه


از چیه برنامه بگم؟

خب باید برای باز کردن برنامه، چه کدی رو نوشتی تا بگیم کجای کدت مشکل داره.
باید بگی روی کدوم خط ، داره ارور میده

A3ed.BlackHat
سه شنبه 11 خرداد 1395, 13:34 عصر
خب باید برای باز کردن برنامه، چه کدی رو نوشتی تا بگیم کجای کدت مشکل داره.
باید بگی روی کدوم خط ، داره ارور میده
این کد پنجره لاگین

<Window x:Name="lockerWin" x:Class="tensileTest.LockerWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ورود" Height="350" Width="400">
<Grid>
<Grid Name="LockGrid" >
<Grid.Background>
<ImageBrush ImageSource="Images/back_login.jpg"/>
</Grid.Background>
<Button x:Name="but_Ok" Content="ثبت" HorizontalAlignment="Left" Margin="160,249,0,0" VerticalAlignment="Top" Width="75" Click="Ok_click"/>
<Button x:Name="but_Cancel" Content="انصراف" HorizontalAlignment="Left" Margin="80,249,0,0" VerticalAlignment="Top" Width="75" Click="Cancel_click"/>
<TextBox Name="nameTxtBox" HorizontalAlignment="Left" Height="23" Margin="80,142,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="155"/>
<TextBox Name="IPTxtBox" HorizontalAlignment="Left" Height="23" Margin="80,181,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="155"/>
<Label Content="نام سرور" HorizontalAlignment="Left" Height="33" Margin="245,137,0,0" VerticalAlignment="Top" Width="81" Foreground="#FFF5F1F1"/>
<Label Content="آی پی سرور" HorizontalAlignment="Left" Height="32" Margin="243,177,0,0" VerticalAlignment="Top" Width="81" Foreground="#FFFFFDFD"/>


</Grid>
</Grid>
</Window>





باید بگی روی کدوم خط ، داره ارور میده
روی چند تا سیستم تست کردم مشکلی نداشت رو این سیستم مشکل داره
نشون هم نمیده خط چندم هست فقط این پنجره رو میاره
http://up.vbiran.ir/uploads/6449146468844832905_errprr.png


Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: app.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 57247396
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.30319.18408
Problem Signature 06: 52310b91
Problem Signature 07: 10eb
Problem Signature 08: 6f
Problem Signature 09: System.Windows.Markup.XamlParse
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1065
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
<a href="http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409" target="_blank">http://go.microsoft.com/fwlink/?link...8&clcid=0x0409</a>

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

سیدسبحان
چهارشنبه 12 خرداد 1395, 11:25 صبح
حالا شد
اینطوری که فهمیدم روی xaml خطا میده. درسته؟
چون کدهای برنامه نویسیت رو نذاشتی به این نتیجه رسیدم

A3ed.BlackHat
چهارشنبه 12 خرداد 1395, 16:25 عصر
حالا شد
اینطوری که فهمیدم روی xaml خطا میده. درسته؟
چون کدهای برنامه نویسیت رو نذاشتی به این نتیجه رسیدم
اگه نمیتونی کمک کنی اسپم نکن

سیدسبحان
پنج شنبه 13 خرداد 1395, 11:18 صبح
اگه نمیتونی کمک کنی اسپم نکن

چی بگم والا
شاید مال ورژن دات نت فریم ورک سیستم هست.
چیزهایی رو که اسم برده، بنظرم مال dll های مربوط به اون باشه