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

6 posts, 0 answers
  1. pharmadev
    pharmadev avatar
    7 posts
    Member since:
    Dec 2012

    Posted 24 Dec 2012 Link to this post

    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



     

  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 27 Dec 2012 Link to this post

    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.

  3. DevCraft banner
  4. pharmadev
    pharmadev avatar
    7 posts
    Member since:
    Dec 2012

    Posted 04 Jan 2013 Link to this post

    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.
  5. pharmadev
    pharmadev avatar
    7 posts
    Member since:
    Dec 2012

    Posted 12 Jan 2013 Link to this post

    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?
  6. pharmadev
    pharmadev avatar
    7 posts
    Member since:
    Dec 2012

    Posted 12 Jan 2013 Link to this post

    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

  7. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 14 Jan 2013 Link to this post

    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.

Back to Top
DevCraft banner