I want to share an issue I faced a few weeks ago that took me around 1 week to get solved.
This issue is related to a .NET User control exposed via COM interop to be accessible from MS Access 2010.
Despite the Usercontrol is registered in regasm using regams /tlb myUC.dll, every time I placed a instance of this .NET "Activex" control in a MS Access form I got this error: "OLE Server isn't registered".
This issue was not reproduced in development environments with VS.NET installed.
Anyway, the issue was fixed by strongly signing the assembly and all its references. Then, we used regasm /tlb /codebase myUC.dll to register the component.
As soon as we did that, I was able to add this component in a MS Access form.
This issue is related to a .NET User control exposed via COM interop to be accessible from MS Access 2010.
Despite the Usercontrol is registered in regasm using regams /tlb myUC.dll, every time I placed a instance of this .NET "Activex" control in a MS Access form I got this error: "OLE Server isn't registered".
This issue was not reproduced in development environments with VS.NET installed.
Anyway, the issue was fixed by strongly signing the assembly and all its references. Then, we used regasm /tlb /codebase myUC.dll to register the component.
As soon as we did that, I was able to add this component in a MS Access form.
Comment