Search This Blog

Monday, May 4, 2015

EWS issues in Lync client

http://uc-dude.com/2014/05/27/complete-guide-for-troubleshooting-lync-outlook-clients-integration/

In one of my cases, the solution was to make string of internalEWS empty in registry

 HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Lync\sip_address@domain.con\Autodiscovery/InternalEwsUrl


Monday, April 13, 2015

O365 federation

http://blogs.technet.com/b/compilations/archive/2014/04/15/office-365-single-sign-on-with-adfs-roadmap-design-implementation-adfs-high-availability-amp-the-choice-of-configuration-database-type-for-redundancy-steps-amp-faqs.aspx#.VSuvTvmsVqU

https://sfspug.files.wordpress.com/2013/11/office-365-single-sign-on-with-adfs.pptx


http://blogs.technet.com/b/rmilne/archive/2014/04/28/how-to-install-adfs-2012-r2-for-office-365.aspx


https://www.youtube.com/watch?v=GHMaQjAS0qo

https://technet.microsoft.com/en-us/library/jj710171.aspx

Saturday, April 11, 2015

Looking for free HLB solution for Lync?

Here are some tools that I have tried and that are proven to work with Lync, Exchange and HTTP web:

http://www.zenloadbalancer.com

this guy you probably know - it is free KEMP (no cluster, 20 mbps limit)

http://freeloadbalancer.com

Heavy weight player from Open Source world:

http://www.haproxy.org

And something I have never tried, but it could be fun:

http://nginx.org/en/docs/http/load_balancing.html (Hello Igor!)







GetItemById SharePoint list function optimisation

Hello, a little magic for tonight. If you use custom code around your SharePoint, and you wonder why your code is slow on large document libraries , check out this article:

https://msdn.microsoft.com/en-us/library/bb687949(v=office.12).aspx


Then search your code to see if you use GetItemById on items collection level. If you do you might accelerate your code 10x times by simply changing it to list level.

Example (red is not optimal code):

SPList _spList = spWeb.Lists.GetList(document.MossDocLibGuid, false);

         ///       SPListItemCollection listItemCollection = _spList.Items;
         ///       SPListItem item = listItemCollection.GetItemById(document.MossDocId);  

SPListItem item = _spList.GetItemById(document.MossDocId);  

Wednesday, March 25, 2015

Error installing Service Pack 1 Microsoft CRM 2013 Language pack

Having issues  with Service Pack 1 installation:

The given key was not present in the dictionary.


in the log file I can see:

12:05:48|  Error| System.Exception: Échec de l’action Microsoft.Crm.UpdateWrapper.MspInstallAction. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Microsoft.Crm.Setup.Update.HotFixArpEntryHandler.<>c__DisplayClass7.b__5(ArpEntryDescriptor entry)
   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
   at Microsoft.Crm.Setup.Update.HotFixArpEntryHandler.RemoveSupercededEntries(IEnumerable`1 arpEntries, Version minimumVersionToKeep)
   at Microsoft.Crm.UpdateWrapper.MspInstallAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)

   --- End of inner exception stack trace ---, Error, RetryCancel, Option1





My solution is to delete empty registry branches in UNINSTALL container and try again.


to get a following