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

Windows8 Theme error : Attempted to read or write protected memory. This is often an indication that other memory is corrupt

5 Answers 69 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
pharmadev
Top achievements
Rank 1
pharmadev asked on 24 Dec 2012, 05:52 PM
Hi,

I have a RadDatePicker with the following markup:
 <telerik:RadDatePicker x:Name="dpBirth" telerik:StyleManager.Theme="Windows8" SelectedDate="{Binding CurrentDM.BRTHDAT, Converter={StaticResource DateTimeConverter}, Mode=TwoWay}" Tag="BRTHDAT"  
                                                    Width="100" InputMode="DatePicker" DateSelectionMode="Month" HorizontalAlignment="Right" Background="{x:Null}" DateTimeWatermarkContent="dd-MMM-yyyy"/>

When I change the date, the debugger is looking for a specific file: Telerik.Windows.Controls.Input.xaml for the Windows 8 theme and  error is raised (see attached file)

When I add Telerik.Windows.Controls.Input.xaml in the solution (was taken from C:\Program Files (x86)\Telerik\RadControls for Silverlight Q3 2012\Themes\Windows8\Themes folder), the same error is raised (Attempted to read or write protected memory. This is often an indication that other memory is corrupt)

I know the problem is in the xaml but I cannot fix it. How? It I put a Vista theme, no error is raised.

I am missing something?

P.S The converter is only there for the formatting of the date



 

5 Answers, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 27 Dec 2012, 04:31 PM
Hi,

We tried to reproduce the issue but with no success.

Could you try to reproduce the issue in a sample project and send it to us in order for us to observe it and see what could be the cause of it?

Kind regards,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
pharmadev
Top achievements
Rank 1
answered on 04 Jan 2013, 11:58 AM
Hi,
I performed a some cleaning on my desktop and solution: I removed the Metro folder in C:\Program Files (x86)\Telerik\RadControls for Silverlight Q3 2012\Themes, clean my solution, removed the Theme.Metro reference, fixed my xaml, removed new MetroTheme() line is my App.xaml.cs) files and the problem seems to have disappeared.
When you look at the error, you can see tha the application is looking for the Metro theme (which is obsolete, replaced by Window8 Theme), that why i did "my cleaning".

 I will monitor the situation but we can consider that the problem is fixed.

Thank you for support!

P.S
Sorry for my late response, we were in vacation.
0
pharmadev
Top achievements
Rank 1
answered on 12 Jan 2013, 05:00 PM
Problem is still there...

I found an opening issue with this (#12781). We need a fix since that we are releasing our application this month.
Can you please provide an "real update"  for a fix?
0
pharmadev
Top achievements
Rank 1
answered on 12 Jan 2013, 05:01 PM
Also, this post might you guys to know what i am talking about :

http://www.telerik.com/community/forums/silverlight/datepicker/datepicker-under-ie-9-and-sl-5-crashes.aspx

0
Vladi
Telerik team
answered on 14 Jan 2013, 12:56 PM
Hello,

We are still unable to reproduce the issue at our side.

Without being able to observe the issue we cannot provide you with appropriate support.

Could you try to reproduce it in a sample project and open a support ticket in which attach the project and send it to us.

All the best,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
DateTimePicker
Asked by
pharmadev
Top achievements
Rank 1
Answers by
Vladi
Telerik team
pharmadev
Top achievements
Rank 1
Share this question
or