One place I have been receiving a fair number of errors inside of Visual Studio 2005 is Windows Workflow Foundation. Now most errors seem to occur when working in Visual Basic [:(], switching to C# seems to produce better results.
However one error that crops up both in VB and C# is “Error HRESULT E_FAIL has been returned from a call to a COM component” while trying to open a Expression condition in a state workflow. This error seems to appear pretty randomly and most of the time just closing all windows and reopening the workflow is enough to solve it and continue work. There are times when that isn’t enough though and I need to restart VS.
Now the problem is I cannot reproduce this error on demand and to report it I really need to. So if you have any clue to the cause please let me know so we can report this as a bug and with any luck get it fixed.
Maurice de Beijer