I was working on our Web 2.0 project today, and I kept getting one of the following errors with Visual Studio 2005 any time I tried to drag and drop an AJAX Toolkit control in my Web Site Project:
---------------------------
Microsoft Visual Studio
---------------------------
The operation could not be completed. Invalid FORMATETC structure
---------------------------
OK
---------------------------
---------------------------
Microsoft Visual Studio
---------------------------
Invalid FORMATETC structure (Exception from HRESULT: 0x80040064 (DV_E_FORMATETC))
---------------------------
OK
---------------------------
---------------------------
Microsoft Visual Studio
---------------------------
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
---------------------------
OK Help
---------------------------
So, after fighting this error for hours and hours, trying to get my AJAXToolkit Drag & Drop working, the problem turned out to be a solution wide reference problem.
I removed all project references from the solution (actually remove them from the solution by Right Clicking the Project in Solution Explorer > Remove), then added them back one by one. Recompiled, and the problem seemed to go away.
UPDATE 1/23/2008: Please check my other post on this problem.
Microsoft, thanks for another the great and descriptive error message... *sigh*.
