Reader Level:
Articles

Invalid FORMATETC structure Error

By Mahesh Chand on Sep 12, 2008
This tip shows how to fix Invalid FORMATETC structure error when you drag and drop a control from Toolbox to a XAML file.
  • 0
  • 0
  • 20834

Invalid FORMATETC structure Error

Problem:

Usually, you get this error when an assembly reference in your Visual Studio is messed up.

In my Visual Studio 2008, I was getting this error when drag and drop a control from Toolbox to a XAML page.

"The operation could not be completed. Invalid FORMATETC structure."

Resolutuon:

I right click on Toolbox and selected "Reset Toolbox" menu item. It resets the assembly and control references and I no longer get this error.

More Solutions:

  1. http://bchavez.bitarmory.com/archive/2008/01/23/invalid-formatetc-structure.aspx
  2. http://forums.asp.net/t/1122343.aspx
  3. http://www.codenewsgroups.net/group/microsoft.public.dotnet.framework.aspnet.webcontrols/topic7774.aspx

Mahesh Chand

C# Corner founder, 10-times Microsoft MVP, technical author, and software architect. Mahesh authored his first book, A Programmer’s Guide to ADO.NET in C# with APress at the age of 25. C# Corner is a memb... Read more

COMMENT USING

Trending up