Tuesday, September 04, 2007

Monday morning, our application went live!! Hooray!!

All seems to be going well, although one user had problems when starting the application:

System.Windows.Markup.XamlParseException: Cannot convert string '0,0' in attribute 'StartPoint' to object of type 'System.Windows.Point'. Premature string termination encountered. Error at object 'LinearGradientBrush_1' in markup file 'PresentationUI;V3.0.0.0;31bf3856ad364e35;component/installationprogress.xaml'. ---> System.InvalidOperationException: Premature string termination encountered.

The problem occured even before our application had downloaded. Notice the component/installationprogress.xaml: That's not ours, but belongs to the framework.

I have seen these problems from time to time. We tried to fix it by re-installing the framework. (Sometimes, people have 6.715 instead of 6.920). That didn't work.

In the end, we simply had to discard the users profile. I made a copy of the profile, so maybe I'll find the time to look into the issue in-depth, but I wanted to blog about it, because someone might be running into the same issue.

Friday, January 25, 2008 11:02:31 PM (Romance Standard Time, UTC+01:00)
The problem has simple reason and an easy fix. In some countries, like Belgium where I am from, we use de , (comma) for decimal symbol and the . (dot). The XAML parser probably assumes to hav a dot as decimal symbol instead of using the user profile...

It's a shame to have a new framework that always brags about the localization support, having such obvious localization bugs!
Friday, January 25, 2008 11:42:00 PM (Romance Standard Time, UTC+01:00)
haha, great suggestion!
However, all machines were installed remotely with the same image and users were unable to change those kinds of settings. Everything locked down and pushed through group policies...
So I don't think that was it, but it could be!
Ruurd
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):