<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Custom Server Controls</title><link>http://forums.asp.net/19.aspx</link><description>All about building ASP.NET server controls. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=12&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/2915649.aspx</link><pubDate>Wed, 04 Feb 2009 14:39:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2915649</guid><dc:creator>jayvardhanpatil</dc:creator><author>jayvardhanpatil</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2915649.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=2915649</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;check here&lt;/p&gt;&lt;p&gt;http://codeforfuture.com/2009/02/04/solution-invalid-formatetc-structure/&lt;/p&gt;&lt;p&gt;&amp;nbsp;Not sure if above link is working properly so reposting.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/2915637.aspx</link><pubDate>Wed, 04 Feb 2009 14:34:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2915637</guid><dc:creator>jayvardhanpatil</dc:creator><author>jayvardhanpatil</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2915637.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=2915637</wfw:commentRss><description>&lt;p&gt;I found that there are many situations where you might get this error.&lt;/p&gt;&lt;p&gt;There are around 7 solutions. But I couldn&amp;#39;t post all of them here. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have tried to list most of them here.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://codeforfuture.com/2009/02/04/solution-invalid-formatetc-structure/" title="Solution: Invalid FORMATETC structure" target="_blank"&gt;Solution: Invalid FORMATETC structure&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;P.S. One of my blog reader also found a solution. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/2626327.aspx</link><pubDate>Wed, 17 Sep 2008 07:09:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2626327</guid><dc:creator>penski516</dc:creator><author>penski516</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2626327.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=2626327</wfw:commentRss><description>&lt;p&gt;Odd enough, as i thought the problem was with my custom control&amp;#39;s assembly being referenced in the wrong way, simply adding the &amp;quot;public&amp;quot; declaration over my custom control class did do the trick for me. I&amp;#39;ve been encountering this error when dropping my custom control in source-view.&lt;/p&gt;&lt;p&gt;Thanks alot :)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/2210978.aspx</link><pubDate>Tue, 04 Mar 2008 14:38:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2210978</guid><dc:creator>danfcosta</dc:creator><author>danfcosta</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2210978.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=2210978</wfw:commentRss><description>&lt;p&gt;Hi, Dil!&lt;/p&gt;&lt;p&gt;I had the same problem with the custom control I developed. All of them had the &lt;b&gt;ToolboxItem&lt;/b&gt; attribute set to true. When I removed it, all controls works fine. Very nice!&lt;/p&gt;&lt;p&gt;Thanks!!!&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;Dil:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;I found it..!!&amp;nbsp;&lt;/p&gt;I have used this attribute in my custom control and it throws the same error.,,!!&amp;nbsp;&amp;nbsp; When I removed its working fine.!!&amp;nbsp; &lt;font color="#008000" size="2"&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;
&lt;p&gt;[ToolboxItem(true)]&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Dil&lt;/p&gt;&lt;/font&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/2202300.aspx</link><pubDate>Thu, 28 Feb 2008 19:12:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2202300</guid><dc:creator>dba123</dc:creator><author>dba123</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2202300.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=2202300</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I ended up just reinstalling VS I believe.&amp;nbsp; Or porting over the code to a brand new web project.&amp;nbsp; I can&amp;#39;t remember which but one of them resolved this.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/2194454.aspx</link><pubDate>Mon, 25 Feb 2008 17:11:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2194454</guid><dc:creator>PeterBrunone</dc:creator><author>PeterBrunone</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2194454.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=2194454</wfw:commentRss><description>&lt;p&gt;I just got a report of the same thing from a customer using EasyListBox in VS 2008 (though I know there are others with 2008 and they&amp;#39;ve had no trouble).&amp;nbsp; ELB has public a public constructor in each class, and again, some folks are using it in this environment with no trouble at all.&amp;nbsp; No ToolboxItem attribute either.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Anyone from MS want to comment?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/1982631.aspx</link><pubDate>Wed, 31 Oct 2007 08:17:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1982631</guid><dc:creator>Rom-Rom</dc:creator><author>Rom-Rom</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1982631.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=1982631</wfw:commentRss><description>&lt;p&gt;In my case, it happened when my page contains errors (which i knew) that i tried to drag a control from the toolbox. Same error appeared as discuss here.&lt;/p&gt;
&lt;p&gt;So what i did is remove all occurences of errors, and then build the solution. Once successful, i tried dragging the controls again, it worked!&lt;/p&gt;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/1789601.aspx</link><pubDate>Fri, 06 Jul 2007 01:41:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1789601</guid><dc:creator>dba123</dc:creator><author>dba123</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1789601.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=1789601</wfw:commentRss><description>&lt;p&gt;I got that error after trying to drag in an ASP.NET AJAX Toolkit control.&amp;nbsp; After I rebuilt my entire solution that I was working with, I could then drag it in just fine.&lt;/p&gt;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/1764877.aspx</link><pubDate>Thu, 21 Jun 2007 02:36:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1764877</guid><dc:creator>Dil</dc:creator><author>Dil</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1764877.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=1764877</wfw:commentRss><description>&lt;p&gt;I found it..!!&amp;nbsp;&lt;/p&gt;I have used this attribute in my custom control and it throws the same error.,,!!&amp;nbsp;&amp;nbsp; When I removed its working fine.!!&amp;nbsp; &lt;font color="#008000" size="2"&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;
&lt;p&gt;[ToolboxItem(true)]&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Dil&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/1730306.aspx</link><pubDate>Tue, 29 May 2007 14:52:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1730306</guid><dc:creator>cruster</dc:creator><author>cruster</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1730306.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=1730306</wfw:commentRss><description>&lt;p&gt;Oh yes, it does. At least for me it did solve the problem. And my control does not have any constructor.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/1728591.aspx</link><pubDate>Mon, 28 May 2007 14:42:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1728591</guid><dc:creator>Volcano_88101</dc:creator><author>Volcano_88101</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1728591.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=1728591</wfw:commentRss><description>&lt;p&gt;Declaring the class as being public unfortunately does not &amp;quot;solve&amp;quot; INVALID FORMATETC structure. I think what the prior person really meant to state was make sure there your class is public &lt;strong&gt;AND HAS a public default constructor &lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/1706764.aspx</link><pubDate>Sat, 12 May 2007 09:56:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1706764</guid><dc:creator>cruster</dc:creator><author>cruster</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1706764.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=1706764</wfw:commentRss><description>You need to declare the control as public.&lt;br /&gt;That is:&lt;br /&gt;public class Basket : Control, INamingContainer&lt;br /&gt;{&lt;br /&gt;...&lt;br /&gt;}&lt;br /&gt;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/1511689.aspx</link><pubDate>Thu, 28 Dec 2006 23:02:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1511689</guid><dc:creator>MNF</dc:creator><author>MNF</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1511689.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=1511689</wfw:commentRss><description>&lt;p&gt;Гена,&lt;/p&gt;
&lt;p&gt;Try to close Visual Studio and re-open it again.&lt;/p&gt;
&lt;p&gt;Может, поможет.&lt;br /&gt;Миша.&lt;/p&gt;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/1510770.aspx</link><pubDate>Thu, 28 Dec 2006 08:06:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1510770</guid><dc:creator>guenavan</dc:creator><author>guenavan</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1510770.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=1510770</wfw:commentRss><description>&lt;div&gt;&lt;font face=Arial size=2&gt;&lt;a href="http://forums.asp.net/AddPost.aspx?PostID=1509366"&gt;http://forums.asp.net/AddPost.aspx?PostID=1509366&lt;/a&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;span class=199114307-28122006&gt;&lt;font face=Arial size=2&gt;I tried this code, &lt;br /&gt;I&amp;nbsp;succeded to add Basket to TollBox&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span class=199114307-28122006&gt;&lt;font face=Arial size=2&gt;Trying to drag&amp;amp;drop onto Design surface doesn''t have any reaction (neither error or something&amp;nbsp;inserted)&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span class=199114307-28122006&gt;&lt;font face=Arial size=2&gt;Drag&amp;amp;dropping into Editor in Source mode gives this error in MessageBox. Nothing is inserted&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;</description></item><item><title>Re: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))</title><link>http://forums.asp.net/thread/1509366.aspx</link><pubDate>Wed, 27 Dec 2006 03:24:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1509366</guid><dc:creator>MNF</dc:creator><author>MNF</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1509366.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=1509366</wfw:commentRss><description>&lt;p&gt;I've added my Control Library DLL&amp;nbsp; into the Toolbox correctly.&amp;nbsp;&lt;br /&gt;Then when I tried to add it to my page in both design and source view, Ive got "Control cannot be created because Visual Studio cannot find the control's type in the control assembly" and then Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC)).&lt;/p&gt;
&lt;p&gt;However when I've closed and then re-opened solution, I was able to add my controls successfully.&lt;/p&gt;</description></item></channel></rss>