Error -2147417842 in VB COM dll
Posted on 2004-09-30
I have a web app with GUI in ASP. Backend processing takes place in a VB COM dll. I have MTS COM+ components for this dll.
Sometimes this VB dll gives me the error '-2147417842' which translates to 'The application called an interface that was
marshalled for a different thread'. Specifically this happens while copying a file from one folder to another. The threading model is 'Apartment threaded'
Just fyi, For some functions this VB dll calls another COM+ Dll in C++ but not at the point when this error occurs. Not sure if that could cause this.
Need a solution urgently. Please help..