Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug AG_E_UNKNOWN_ERROR introduced after installing Silverlight 2.0 RCO
3 replies. Latest Post by HiHoSilver on November 3, 2008.
(0)
HiHoSilver
Member
16 points
12 Posts
10-31-2008 2:34 PM |
After installing SP1 for VS.net 2008, I then installed Silverlight 2.0 RCO, the new tools, and finally the new Blend 2.0. What I have discovered even in a NEW Silverlight project is that I receive AG_E_UNKNOWN_ERROR whenever I open a XAML after closing it first. For example, after successfully compiling a Silverlight project, I can open and close multiple xamls and it will paint the xaml with no errors occurring as long as at least one xaml stays opened. But, after I close ALL the xamls tabs, I receive the error once I open the first XAML, the error repeating for each XAML I open going forward. This only gets resolved by either recompiling or shutting down Visual Studio and restarting.I thought maybe it was my existing project, so I started a new one by creating one xaml with a simple textbox and button and I get the same problem. I have done some research and found no one having this same exact problem. Everyone in my office is having the same problem.
Any ideas?
mukkuonline
4 points
2 Posts
10-31-2008 4:55 PM |
This Error is due to use of some invalid properties like TextAlignment, Textdecoration as in RCO these properties has been changed.
kamil.sv...
27 points
23 Posts
10-31-2008 4:57 PM |
It happens to me with pages where is user defined control included (for example menu control embedded to the page). The error is not present when I remove the included control :-( Furtunatelly the pages with the error can be builded ...
11-03-2008 2:11 PM |
Hi mukkuonline,
That may be true for projects created in the older beta versions, but I created a new project with a simple textbox and command button and it still does the same thing.
Thanks for your reply.