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.
MS describes it in detail with a solution pointing to an update at -
E_NOINTERFACE" error when you use MediaStreamSource API for JavaScript in Windows 8.1 or Windows Server 2012 R2[
^]. 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.