Silverlight: the AG_E_RUNTIME_MANAGED_ASSEMBLY_DOWNLOAD error

Published Mon, Jul 23 2007 22:34

Quick tip: if you have this error, then you've got the wrong name for your assembly in the xmlns namespace introduced on the xaml file. Quick example:

xmlns:la="clr-namespace:Silverlight.Controls;assembly=ClentBin/SilverlightProgressBar.dll"

Notice the ClentBin (instead of ClientBin) typo...

Filed under:

Comments

# Kevin said on Monday, August 20, 2007 9:57 AM

Heya,

Any idea why this would be an issue only in some browsers? I have an application that works fine in IE, but throws this error in Firefox. I've double checked the assembly path and it looks good.

# Dominic Pettifer said on Monday, September 17, 2007 4:26 PM

I had this problem and it was because i had a space in my project name "Silverlight Overview". It was creating a "Silverlight Overview" dll file but the dll being referenced in the Page.xaml was "Silverlight_Overview" (notice the underscore?).

If I changed the dll file to use an underscore instead of a space it worked but of course screwed up my Visual Studio 2006 project files. So I recreated the Project as "SilverlightOverview" and it worked fine.

It's alpha software for a reason I guess :)

# ksirg said on Wednesday, January 02, 2008 1:00 PM

Kevin: try to add width and height attribute, I have the same problem and i notice that firefox dosn't display canvas without height atribute.

Leave a Comment

(required) 
(required) 
(optional)
(required)