I am writing a middleware library in .Net which will be invoking Web services and respond back to VB6 legacy applications with the service output.
So far I have made the assembly as ComVisible without generating strong-name for it.
The .Net dll will be used to generate a type library (.tlb) which can be added in Project References of the VB6 application and used to invoke the services.
Using regasm tool, the TLB file is generated fine and registered to the local registry.
I first registered the TLB from local system drive and everything worked fine.
Now the system constraint is that, the assembly and type library cannot be stored in end-user machines.
So I need to map to a network drive and register the TLB from there.
The regasm tool registers it from network drove also, but the VB6 application is not able to access the classes in .Net
Command used: WINDIR%\Microsoft.Net\Framework\v2.0.50727\regasm <dllname> /tlb /codebase <network folder path>
Whenever i try to create new object, it is throwing error '430-Automation error. Class does not support the expected interface'.
So I want to know how to resolve this issue?