COM typelibrary for Office 2010 IM integration - com

I am integrating Office applications with custom IM solution.
I have implemented the COM class as suggested by http://msdn.microsoft.com/en-us/library/office/jj900715.aspx
I have also registered the COM implementation and hosted the COM server in my exe.
Do I also need to additionally register the typelibrary of my com class ?
I am seeing issues with type library regsitration and lync client 2013.
When I uninstall the type library, Lync Client breaks
Generic COM Exception. Code is 0x80080005.
at Microsoft.Lync.Model.LyncClient.EnsureOI()
at Microsoft.Lync.Model.LyncClient.GetClient()
I understand that Lync 2013 provides its own typelib which I am overwriting.
Is it required for me to register my typelib for Office integration to work ?

I realize this question is dated but I ran into this problem today. I found this article that points to having both Lync 2010 and Lync 2013 installed on the same machine.
Uninstalling Lync 2010 worked perfectly for me. COM operations began working immediately.

Related

Any difference regarding remote COM server activation on Windows 7 vs on Windows XP?

I'm studying Microsoft COM technology from the book Learning DCOM 1999. I am puzzled with its Hello Universe sample program in Appendex D. The code is available here.
This sample contains a HelloClient.exe and a HelloServer.exe. They can be run on different Windows machines and HelloClient.exe is able to remotely call server's exposed IHello interface.
I tried HelloServer.exe on Windows XP and the HelloClient.exe on Win7 successfully call into the remote object.
However, when HelloServer.exe is run on Windows 7, the remote client always fails on CoCreateInstanceEx(CLSID_Hello, ...) with 0x80040154 (Class not registered).
So I think there must be some change since Windows Vista/7 that causes the failure.
Then what is the change, or, what am I missing?
BTW: I compile the code using Visual Studio 2010 SP1.

WCF service library in Visual Basic 2010 express

I'm using visual basic 2010 express as my IDE, i need to use WCF to create a client-server system, but i can't find the WCF service library, it's not shown as template and i can't find a place to download it, i've seen a few videos of people with visual studio (not visual basic) using WCF, is that the problem?
it seems like WCF is not available to VB 2010, I'll have to swap to VS

can i publish outlook add-ins which target 2010, 2013 versions of outlook on the online office store

I am planning to develop a outlook add-in which will work with the desktop version of outlook 2010 and 2013.
Can i publish it on the online office store (https://store.office.com/) or is it that the store only allows submission of office 365 apps???
I tried looking at the store's documentation but it does not mention anything on the topic.
I have tried contacting Microsoft support but they seem to have no clue.
You can't publish COM add-ins to the Office store.
COM add-ins (like any other Windows desktop applications) can be published to the Windows store.
Office Store only accepts JS based addins. COM addins for the desktop versions of Outlook cannot be distributed though the store.

Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154

I am running 32 bit Windows 7 Operation System which has IIS 7.5 installed.
In Visual Studio 2010, I open my solution having the web site project hosting WCF service. I have created an application in the IIS which points to the website project. The web site's bin folder has many assemblies which I need to refer. But those assemblies also have built using .NET 4 on the same computer.
I can browse the WCF service using both HTTP & HTTPS.
However, when i access the service from the test windows application (using the proxy class of the WCF contract), I get the error in question. Everything was working without problem earlier.
Anyone can help to fix the issue?. How to investigate this issue?
Error 0x80040154 means "Class Not Registered", which usually means you're depending on a COM component that hasn't been installed properly on the machine.
Is any of those Assemblies you reference a COM Interop Assembly? If so, find out what it uses and then install the appropriate COM component.

Deploy a Silverlight Lync application on IIS7

I'm writing a Silverlight application in Visual Studio 2010 leaning on the walktroughs in the Lync SDK.
If I run the application in VS 2010 it all works in debug and in the release version.
If I try to deploy this to IIS7 the Silverlight is also running but I can't see the presence. The little square is without a filling color.
I assume some configuration is missing on IIS7?
My environment is a Windows Vista PC with local IIS7.
Can someone help me?
Did you add the site to your browsers Trusted Sites zone? see the answer here
This is a bug in Lync SDK
http://support.microsoft.com/kb/2464845
The combination of adding the site to the Trusted Sites zone in addition to installing the fix below seems to resolve this issue.
Cumulative update package for Lync 2010: January 2011