Error: System.Runtime.InteropServices.COMException

hello there!

can you let me know when this error will show up

System.Runtime.InteropServices.COMException

This is pretty generic, when you use any com object, this error can come.

Can you share little more details on the code you used ?