[SOLVED] Could not load file or assembly ‘System.Windows.Browser, Version=2.0.5.0…

Couple of days ago I’ve decided to get to know more with Lync 2013 SDK.

The purpose is to use it for monitoring, anyway, I was trying to install that on one of my servers, so I have installed .NET 4.5 and Lync SDK as well as Visual Sudio 2012. I was using http://blogs.technet.com/b/csps/archive/2011/05/05/sendim.aspx as a guide.

I have even remembered about registering DLL with regsvr32 Microsoft.Lync.Model.DLL

After successful installation I was all happy to send my first IM message with Powershell.

How deep was my sadness when I received message saying that:

Could not load file or assembly ‘System.Windows.Browser, Version=2.0.5.0…

So my first thought was about the error I was receiving during registering of the DLL:

The module “.\Microsoft.Lync.Model.dll” was loaded but the entry-point DLLRegistetrServer was not found.

regsvr32_MicrosoftLyncModelDll

But if believing the message, despite of the error, DLL library has been loaded.

I thought it was the case of Windows Server 2012 I was using for that, so I have tried the same on 2008 – same situation.

And the last thought came to my mind in the evening that day…

Definitely that error message was not in relation to only Lync SDK but to some standard .NET classes, I realized there was one message when installing Visual Studio 2012:

VisualStudio2012_IE10

…..

zoidberg1

So the message was only telling about “working in the best way” with IE10. But still, worth trying.

After upgrading the IE to version 10 I was able to successfully import Lync Model module to Powershell session:

importmodule_lyncModelDll

And of course was able to send my first IM in Lync over my beloved Powershell!!!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s