Knowledgebase Helps Solve Strange Visual Studio FORMATETC Error

ASP.NET Team Blog
27 September 2010

Last week, I spoke with a potential DevExpress customer who asked for help in trying to figure out an unusual Visual Studio 2008 error:

VS_FormatEtc_error

Mark Lauter of Sumo Software had already tried a google search without any luck. So my first suggestions were to make sure to install:

I also didn’t have a clue as to the source of the error. But I knew that it probably didn’t originate from the DevExpress ASP.NET controls. Why?

  1. Glaring errors are usually reported quickly by the large customer base (and fixed promptly by DevExpress Support)
  2. The DevExpress ASP.NET team runs tons of unit and QA tests

So, I asked Mark to check this knowledgebase search results of similar reported issues and very soon afterwards, Mark solved the issue! Here’s how…

Hi Mehul,

I have some good news.  Through the DevExpress knowledgebase I came across someone who said that they were receiving the FORMATETC error because they had projects in VS 2008 that were unloaded – load them all and it fixes the error.  In the solution we’re working on right now we have about 16 “dead code” projects that we keep around for reference, but keep in them unloaded because they won’t build anymore and the error messages get in the way of current code messages.

So today I removed all the dead code projects from the solution, loaded all of the remaining unloaded projects and presto! I was able to add a DevExpress ASP.NET button and it automagically created the references and the registration tags in the ASPX page.  Now the fun begins!

We bought two licenses and I’m excited to start adding some DevExpress features to the project.

Thanks for all your help so far.

Regards,
--
Mark Lauter
President | SUMO Software Corporation

Thanks Mark! Your feedback will be help for other developers in a similar jam.

Visual Studio Rocks!

I love Visual Studio, especially the latest Visual Studio 2010. Microsoft has created a great IDE and working through these rare errors is well worth the effort.

Have you faced a similar ‘invalid FORMATETC error’? Drop me a line below with your issue/solution for this error. Thanks!

DXperience? What's That?

DXperience is the .NET developer's secret weapon. Get full access to a complete suite of professional components that let you instantly drop in new features, designer styles and fast performance for your applications. Try a fully-functional version of DXperience for free now: http://www.devexpress.com/Downloads/NET/

Free DevExpress Products - Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We'll be happy to follow-up.
No Comments

Please login or register to post comments.