By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,011 Online
Bytes IT Community
Submit an Article
Got Smarts?
Share your bits of IT knowledge by writing an article on Bytes.

.NET UserControls error in MS Access

P: 1
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.
May 20 '15 #1
Share this Article
Share on Google+
1 Comment


100+
P: 293
As per my experience , "OLE server isn't registered" usually comes when an assembly never gets signed by a correct key.

Even ,incorrect key may leads to this error.
Oct 11 '15 #2