In Visual Studio 2008, all of a sudden, when I try to Add Existing Item to a project, I'm getting this error:
The operation could not be completed. ClassFactory cannot supply requested class
Since I installed VS 2010 Beta 2 yesterday, I just now did a system restore to before that point to see if that was the cause. It wasn't.
I think I know what caused this, but I don't know how to fix it. I think it was caused by trying to fix another Visual Studio problem, as described in this thread:
AnswerEvent log error 4201 - ERROR WMI INSTANCE NOT FOUND
I ran the long procedure described in the post starting with "OK Ladies and Gentleman, here is what we have found;". It fixed a problem I was having with Server Explorer not working, but I think it may have caused my current problem due to a permissions issue.
If so, does anyone know what permission I need to fix? Is there a way I can find out? Or do you have any other ideas about what I can do to solve this? (I haven't tried a repair install yet, because I'm hoping for a solution that won't take that long.)