The 0x80004002 error normally refers to the 'E_NOINTERFACE COM' error, which suggests that there might be an issue with your interface or a missing component.
]. The above link is assuming that you have used the MediaStream methods as you gave us no more information than the error itself with SQL-Server and Windows tags selected!
Another solution might help - C# wrapper interface error: E_NOINTERFACE
You need to provide more details about your project, such as the type of application you are building (Windows Forms, WPF, etc.), any specific libraries or dependencies used, or any recent changes you made to your project that caused the failed compilation.