Errors appear sometimes [modified]
-
OK, this is a small WPF application that I am working on. While testing, no problem appeared. Even when using the exe that would be released to everyone. Now, in one of the text boxes I had put UndoLimit=-1, to avoid the problems with the undo limit. This worked perfectly on my machine. But a user reported this:
Exception: System.Windows.Markup.XamlParseException
28/06/2008 14:01:28
Message: Cannot find DependencyProperty or PropertyInfo for property named 'UndoLimit'.
Property names are case sensitive. Error at object 'txtDNA' in markup file 'Origones;component/mainwindow.xaml'.
Source: PresentationFrameworkSTACK TRACE
Void ThrowException(System.String, System.Exception, Int32, Int32, System.Uri,
System.Windows.Markup.XamlObjectIds, System.Windows.Markup.XamlObjectIds, System.Type)
at System.Windows.Markup.XamlParseException.ThrowExce ption(String message,
Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri,
XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType)
[Note: Some newlines added]
[Snipped]Strangely enough, simply removing the UndoLimit fixed it. Another problem with the same application: One of the users reported that the "portrait" had a purple tint. That problem is in this screenshot.[^] Now, viewing the same files on my computer, and apparently everybody else's resulted in the correct coloring. Has anybody had any experience with these strange small inexplicable problems?
modified on Sunday, June 29, 2008 9:44 AM
-
OK, this is a small WPF application that I am working on. While testing, no problem appeared. Even when using the exe that would be released to everyone. Now, in one of the text boxes I had put UndoLimit=-1, to avoid the problems with the undo limit. This worked perfectly on my machine. But a user reported this:
Exception: System.Windows.Markup.XamlParseException
28/06/2008 14:01:28
Message: Cannot find DependencyProperty or PropertyInfo for property named 'UndoLimit'.
Property names are case sensitive. Error at object 'txtDNA' in markup file 'Origones;component/mainwindow.xaml'.
Source: PresentationFrameworkSTACK TRACE
Void ThrowException(System.String, System.Exception, Int32, Int32, System.Uri,
System.Windows.Markup.XamlObjectIds, System.Windows.Markup.XamlObjectIds, System.Type)
at System.Windows.Markup.XamlParseException.ThrowExce ption(String message,
Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri,
XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType)
[Note: Some newlines added]
[Snipped]Strangely enough, simply removing the UndoLimit fixed it. Another problem with the same application: One of the users reported that the "portrait" had a purple tint. That problem is in this screenshot.[^] Now, viewing the same files on my computer, and apparently everybody else's resulted in the correct coloring. Has anybody had any experience with these strange small inexplicable problems?
modified on Sunday, June 29, 2008 9:44 AM
Looking at the UndoLimit documentation it appears this was added in 3.0sp1 so it could be a versioning issue for that user. The WPF performance tool has an option to tint software rendering in purple, perhaps that debug option got enabled or some graphics driver is causing problems? Does the portrait have any BitmapEffects applied to it which would cause it to be rendered in software? The image you posted didn't work for me but perhaps you could test with the option enabled and see if they match, the part about deleting the registry key might help that user. http://msdn.microsoft.com/en-us/library/aa969767.aspx#perforator