Skip to main content

Unable to cast object of type ‘System.Reflection.CustomAttributeData’ to type ‘System.ComponentModel.TypeConverterAttribute’

Alejo Sotelo - Developer
Publicado el 30 Octubre 2013 - Modificado el 21 Octubre 2020

Last week, using Blend 2012 in a Windows Phone 8 Project caused a weird error. An error hard to know why it is happening and which sentence is the guilty.

The error says:

“Unable to cast object of type ‘System.Reflection.CustomAttributeData’ to type ‘System.ComponentModel.TypeConverterAttribute’

If you search on the Internet about this error you can find some webs talking about Update 2 of Visual Studio 2012 in WP8 projects.

I was working with DataTrigger and ChangePropertyAction in Windows Phone 8 using Blend 2012. From properties tab I put the Binding, the Value to compare, the property to modify and finally the value to assign.

In this case the property was Source from Image Control and Blend 2012 write in XAML this piece of code as follows:

<ec:DataTrigger Binding=

Más artículos de Alejo A Sotelo - Desarrollo Web

12 Mayo 2026
Si trabajás en Linux, Mac o WSL (Windows Subsystem for Linux) y necesitás comprimir o descomprimir archivos desde la terminal, esta guía te va a salvar más de una vez. Cada formato tiene su propio comando, y es fácil confundirse…
07 Mayo 2026
Cuando migrás una tienda a Tiendanube, el trabajo no termina con pasar los productos. Quedan cientos de URLs viejas indexadas en Google que ahora dan 404, y cada una de esas páginas perdidas es autoridad SEO que se evapora. En mi…
28 Abril 2026
Desarrollé SA MCP Server, un componente open source para Joomla 3 y 4 que implementa el protocolo MCP (Model Context Protocol) y permite que asistentes de inteligencia artificial como Claude gestionen el contenido de tu sitio dir…
23 Abril 2026
Hace poco recibí el contacto de una persona cuyo sitio web en Joomla no es gestionado por mi equipo. Me contactó con urgencia: su página estaba funcionando mal, aparecían archivos extraños y temía que los datos de sus clientes es…