Hi,
I have an SL app that displays dashboards using the XamTileView in combination with the XamDataChart and XamGrid. Since upgrading to Silverlight 5 the following issue now occurs:
System.AccessViolationException was unhandled Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt. InnerException:
Click here for the call stack from VS - https://skydrive.live.com/?cid=09f71a6daa654209#cid=09F71A6DAA654209&id=9F71A6DAA654209%21259
The ImageColumn is set up as follows:
column = new ImageColumn { Key = string.Format("Column{0}", j), HeaderText = label, Width = new ColumnWidth(columnWidth, false), ImageWidth = 16, ImageHeight = 16, ImageStyle = Application.Current.Resources["KpiStatusIconStyle"] as Style, ValueConverter = Application.Current.Resources["StatusIconConverter"] as IValueConverter, MinimumWidth = 30 };
I am running the latest version of the SL client - 5.1.10411.0
Can you please advice of potential solutions.
Regards,
Chris
Hello Ingo,
I have logged this with development under ID: 126052 and I have also created a support ticket on your behalf: CAS-103735-R7L1M8 and have linked the development issue to it, so that you can get automatically updated, when a Service Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://ko.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://ko.infragistics.com/Membership/MySupport.aspx
Also until this is fixed you can use the workaround I implemented in your sample.
Hi Stefan,
Please check my two/three latest posts on that matter. I have attached a solution.
regards,
Ingo
Thank you for your post. I have been looking into it and I created a sample project for you following your scenario and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Looking forward for your reply.
It could be useful to describe a scenario that throws the exception... :)
Press button 1 (Home) -> Homepage will be loaded (Yellow)
Press button 2 (Page 1) -> Page 1 will be loaded (Blue containing the grid)
Press button 3 (Page 2) -> Page 2 will be loaded (Green)
NOW press button 2 again...
Best regards,
Attached:
Solution with problem!