Release v/s debug mode
I just came across an issue where C# application using COM component works fine with debug build of application but when built with release mode, it gives ComException while instantiating the component.
While researching about that issue, I found following good links, storing for future references.. Hope you will also find it informational..
Best information I could find at,
Stay tuned.. 