Hi,
I have a .NET DLL (exposed for COM interop) migrated from a server into many client machines. This DLL is causing an Automation error 0x80070002 ("The system cannot find the file specified. ").
The invoking VB dll is in the same folder as the .NET dll and is having a proper .tlb refernce made which is visible in Intellisense.
I am quite confused why this error should popup as everything is fine with both the components. Even re-registering the component with regasm didn't help.
But the interesting thing is that, it started working when I locally compiled the .NET component(using .NET 2005).
Why does this happen? I cannot make out anything as both the binaries I have (the migrated ones and the locally compiled ones) are identical.
Can anyone please provide an insight ?
Regards,
SP.