Hey guys,
All of a sudden my NetAdvantage tab on my toolbox in VS2008 stopped working. Whenever I try to drag a control from the toolbox onto my page, I get the following error:
The operation could not be completed. Invalid FORMATETC structure.
I tried removing the tab and readding it and it didn't work. I also tried removing the references to Infragistics in my project and readding them and it also didn't work.
Any help on this would be much appreciated.
Thanks,
Ilija
I too was getting this on a project (minus the FORMATETC bit) was just saying "Operation could not be completed", no other details. Followed all the suggested solutions, none of which worked... then just by chance (after 4hrs of trying) I noticed that the "licenses.licx" file hand somehow became blank... re-added the Infragistics stuff in there and walla, it finally worked again!
P
I found that there are many situations where you might get this error.
There are around 7 solutions. But I couldn't post all of them here.
I have tried to list most of them here.
Solution: Invalid FORMATETC structure
Jayvardhan Patil
I've ran into this problem more than once. Its seems to happen at random and its kinda annoying, but its easy to fix. I've fix it every time by just removing the IG controls from the toolbox and then running the Create Visual Studio Tool Box command line utility. Or you could add them manually if you wanted.
I just fixed my problem with the FORMATETC error. Apparently after upgrading my Infragistics to the latest release, my toolbox was not updated to the new version of the controls. I went to Add controls in the Toolbar, unselected all the old versions and selected only the latest version of all the controls. Once the Toolbar updated, I no longer get this error.
Don