Home > .NET, asp.net, aspx, bug, c#, visual studio, visual studio 2005, visual studio 2008 > Solution: The operation could not be completed. Invalid FORMATETC structure

Solution: The operation could not be completed. Invalid FORMATETC structure

July 2nd, 2009

This morning I ran into a ASP.NET bug in Visual Studio. Dragging a custom server control on an aspx file was not possible since I had ‘an invalid FORMATETC structure’ (what the …. is that?!). The message box alerting me something is really really wrong is this one:

Solution: The operation could not be completed. Invalid FORMATETC structure FORMATETC problem

Trying to solve the bug, I  found the following attribute to be the problem: [ToolboxItem(true)]. Just delete the attribute, rebuild the application and the problem/bug disappears!

Good luck! Happy coding!

If you like this blog post, you can easily share it:
  • Solution: The operation could not be completed. Invalid FORMATETC structure services sprite
  • Solution: The operation could not be completed. Invalid FORMATETC structure services sprite
  • Solution: The operation could not be completed. Invalid FORMATETC structure services sprite
  • Solution: The operation could not be completed. Invalid FORMATETC structure services sprite
  • Solution: The operation could not be completed. Invalid FORMATETC structure services sprite
  • Solution: The operation could not be completed. Invalid FORMATETC structure services sprite
  • Solution: The operation could not be completed. Invalid FORMATETC structure services sprite
  • Solution: The operation could not be completed. Invalid FORMATETC structure services sprite
Comments are closed.