AG_E_UNKNOWN_ERROR (code 4004) while referencing custom control in Silverlight

by 28. December 2009 16:20

AG_E_UNKNOWN_ERROR

Check all namespace declarations in your Generic.xaml.  If you find something like this:

xmlns:local="clr-namespace:Your_namespace" you should add assembly reference as well:
xmlns:local="clr-namespace:Your_namespace;assembly=Your_assembly"

AG_E_PARSER_BAD_TYPE

Maybe you forgot add reference to assembly(and all its references) with custom control?

Error: Unhandled Error in Silverlight Application Code: 2103 Category: InitializeError Message: Invalid or malformed application: Check manifest

Right click on project, go to properties, and select the valid name under "Startup object"

Tags: ,

IT | Software

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Name: Ilya Khaprov (rus Илья Хапров)

Age: 23

Sex: Male

I'm a postgraduate (an "aspirant" in Russian terminology see Wikipedia for details) at Bryansk State Technical University.

I'm working with .Net since 2004. Also i like lisp.

My research interests lie in the area of Intelligence. In particular i am studing personal information filters, ontology learning, and some other stuff.

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in  anyway.

© Copyright 2009

Recent Visitors