http://www.infini-tec.de/InfiniTec - Henning Krauses Blog - InvalidCastException: Unable to cast object of Type 'X' to 'X'2008-05-20T20:17:54+00:00Don't adjust your mind - it's reality that is malfunctioning Henning KrauseBlogEngine.Net Syndication Generatorhttp://www.infini-tec.de/opml.axdHenning KrauseDon't adjust your mind - it's reality that is malfunctioning en-USInfiniTec - Henning Krauses Blog 0.0000000.000000http://www.infini-tec.de/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_ed14a55c-0957-47c8-b92f-82c2ab1592e6<a class="comment_auth" href="http://blogs.microsoft.co.il/blogs/sasha" alt="http://blogs.microsoft.co.il/blogs/sasha" title="http://blogs.microsoft.co.il/blogs/sasha">Sasha Goldshtein</a> on <a href="/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_ed14a55c-0957-47c8-b92f-82c2ab1592e6" alt="/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_ed14a55c-0957-47c8-b92f-82c2ab1592e6">InvalidCastException: Unable to cast object of Type 'X' to 'X'</a>2008-05-20T20:17:54+00:00Sasha GoldshteinYou might want to look at <a href="http://blogs.microsoft.co.il/blogs/sasha/archive/2007/03/06/Assembly-Load-Contexts-Subtleties.aspx" rel="nofollow">blogs.microsoft.co.il/.../...texts-Subtleties.aspx</a> while recommending the use of Assembly.LoadFrom <img src="/editors/tiny_mce_3_4_3_1/plugins/emotions/img/smiley-smile.gif" class="flag" alt="Smile" />2008-05-20T20:17:54+00:00Sasha Goldshteinhttp://www.infini-tec.de/pingback.axdhttp://www.infini-tec.de/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_ed14a55c-0957-47c8-b92f-82c2ab1592e6http://www.infini-tec.de/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_ed14a55c-0957-47c8-b92f-82c2ab1592e6#commenthttp://www.infini-tec.de/syndication.axd?post=ed14a55c-0957-47c8-b92f-82c2ab1592e6http://www.infini-tec.de/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_ce935f93-1d36-449f-b161-371f65720864<a class="comment_auth" href="http://blog.cwa.me.uk/2008/06/12/the-morning-brew-113/" alt="http://blog.cwa.me.uk/2008/06/12/the-morning-brew-113/" title="http://blog.cwa.me.uk/2008/06/12/the-morning-brew-113/">blog.cwa.me.uk</a> on <a href="/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_ce935f93-1d36-449f-b161-371f65720864" alt="/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_ce935f93-1d36-449f-b161-371f65720864">InvalidCastException: Unable to cast object of Type 'X' to 'X'</a>2008-06-12T07:17:07+00:00blog.cwa.me.ukPingback from blog.cwa.me.uk
Reflective Perspective - Chris Alcock &amp;amp;amp;amp;raquo; The Morning Brew #1132008-06-12T07:17:07+00:00blog.cwa.me.ukhttp://www.infini-tec.de/pingback.axdhttp://www.infini-tec.de/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_ce935f93-1d36-449f-b161-371f65720864http://www.infini-tec.de/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_ce935f93-1d36-449f-b161-371f65720864#commenthttp://www.infini-tec.de/syndication.axd?post=ce935f93-1d36-449f-b161-371f65720864http://www.infini-tec.de/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_6cfb3d5f-22aa-4d99-97f6-ca239d940e92<a class="comment_auth" href="http://www.zkc.borec.cz/" alt="http://www.zkc.borec.cz/" title="http://www.zkc.borec.cz/">zkc</a> on <a href="/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_6cfb3d5f-22aa-4d99-97f6-ca239d940e92" alt="/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_6cfb3d5f-22aa-4d99-97f6-ca239d940e92">InvalidCastException: Unable to cast object of Type 'X' to 'X'</a>2009-01-16T16:27:55+00:00zkcI&amp;amp;amp;#39;ve tried several recipes like rinning IISRESET /RESTART, unifying all projects&amp;amp;amp;#39; build paths for a single bin\, setting &amp;amp;amp;amp;quot;Local Copy&amp;amp;amp;amp;quot; property of affected referencies to false, etc. ...all with no success.
And this is sorted my problem immediately.
Thanks indeed !!2009-01-16T16:27:55+00:00zkchttp://www.infini-tec.de/pingback.axdhttp://www.infini-tec.de/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_6cfb3d5f-22aa-4d99-97f6-ca239d940e92http://www.infini-tec.de/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_6cfb3d5f-22aa-4d99-97f6-ca239d940e92#commenthttp://www.infini-tec.de/syndication.axd?post=6cfb3d5f-22aa-4d99-97f6-ca239d940e92http://www.infini-tec.de/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_765af77f-211a-4856-9101-5e7b741b9ff7<a class="comment_auth" href="http://markegilbert.wordpress.com/2009/02/09/fluorine-did-it-in-the-aspnet-temporary-folder-using-an-invalidcastexception/" alt="http://markegilbert.wordpress.com/2009/02/09/fluorine-did-it-in-the-aspnet-temporary-folder-using-an-invalidcastexception/" title="http://markegilbert.wordpress.com/2009/02/09/fluorine-did-it-in-the-aspnet-temporary-folder-using-an-invalidcastexception/">markegilbert.wordpress.com</a> on <a href="/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_765af77f-211a-4856-9101-5e7b741b9ff7" alt="/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_765af77f-211a-4856-9101-5e7b741b9ff7">InvalidCastException: Unable to cast object of Type 'X' to 'X'</a>2009-02-10T10:46:14+00:00markegilbert.wordpress.comPingback from markegilbert.wordpress.com
Fluorine did it, in the ASP.NET Temporary folder, using an InvalidCastException &amp;amp;amp;amp;laquo; Mark Gilbert&amp;amp;amp;amp;#8217;s Blog2009-02-10T10:46:14+00:00markegilbert.wordpress.comhttp://www.infini-tec.de/pingback.axdhttp://www.infini-tec.de/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_765af77f-211a-4856-9101-5e7b741b9ff7http://www.infini-tec.de/post/2008/05/13/InvalidCastException-Unable-to-cast-object-of-Type-X-to-X.aspx#id_765af77f-211a-4856-9101-5e7b741b9ff7#commenthttp://www.infini-tec.de/syndication.axd?post=765af77f-211a-4856-9101-5e7b741b9ff7