A new address book error that only some Russian got so far–and me? #OCS

So at first I got some reports that users could only see some people and some groups when they searched for someone. And if I deleted a group and then searched for it MOC did not find it. Downloading the address book seemed fine and MOC did not report any problems.

And when trying to run "ABServer.exe -SyncNow" I got the error “Triggering Address Book Server synchronization pass – function not available when RTCSRV service is not running. Start the RTCSRV service."

And yes the service was started, port 135 was open and then I found this: http://blog.tiensivu.com/aaron/archives/1939-2-new-recently-discovered-issues-with-Server-2008-R2-and-OCS-2007-R2-ABServer-errors-and-moving-users.html

(the servers was Windows server 2008 RTM and NOT R2)

Create a new DWORD registry entry at HKLM\SYSTEM\CurrentControlSet\Control\Lsa\DisableLoopbackCheck set to the value of 1.

Well after this regfix and after a reboot “ABServer.exe –SyncNow” actually seemed to start since it didn’t give anything in the command promt. But checking the event log showed this.

Log Name:      Office Communications Server
Source:        OCS Address Book Server
Date:          10/11/2010 4:51:05 PM
Event ID:      21015
Task Category: (1008)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      ocfe.domain.se
Description:
Unable to access WMI Settings.  The Address Book Server will stop.
Exception: COM error code 800407D0 returned – ‘SELECT * FROM MSFT_SIPAddressBookSetting WHERE Backend = "(local)\\rtc"’. Check inner exception for details.
Exception type: ManagementException
Cause: May be a permission issue or may be because the Address Book Server has not been installed correctly.
Resolution:
Re-run the activation wizard.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="OCS Address Book Server" />
    <EventID Qualifiers="50160">21015</EventID>
    <Level>2</Level>
    <Task>1008</Task>
    <Keywords>0×80000000000000</Keywords>
    <TimeCreated SystemTime="2010-10-11T14:51:05.000Z" />
    <EventRecordID>68327</EventRecordID>
    <Channel>Office Communications Server</Channel>
    <Computer>ocsfe.domain.se</Computer>
    <Security />
  </System>
  <EventData>
    <Data>COM error code 800407D0 returned – ‘SELECT * FROM MSFT_SIPAddressBookSetting WHERE Backend = "(local)\\rtc"’. Check inner exception for details.
Exception type: ManagementException</Data>
  </EventData>
</Event>

So Google showed that at least one more had got the same problem but as usual no solution.

http://www.google.se/#hl=sv&q=%22Unable+to+access+WMI+Settings.++The+Address+Book+Server+will+stop%22&aq=f&aqi=&aql=&oq=&gs_rfai=&fp=9164a363d5a04bdd

 

 

Solution

The simple solution was to just update everything to CU 7 http://technet.microsoft.com/en-us/office/ocs/ee695846.aspx

Hyper-V Server R2 – Virtual Switch: Error applying new virtual network changes

Hi, this might be a bit of topic but since I’m working on a lot of other things this month to get updated on the basics again I’m posting it for future reference.

I ran into an issue with applying an external virtual switch to a interface on Hyper-V Server 2008 R2.  The error was "Error applying new virtual network changes…binding to external Ethernet… failed".  "Cannot bind to … because it is already bound to another virtual network". 

To fix it open the command prompt on Hyper-V Server 2008 R2 and run:

netcfg -u vms_pp

netcfg –l c:\windows\winsxs\amd64_wvms_pp.inf_31bf3856ad364e35_6.1.7600.16385_none_beda85050b13680c\wvms_pp.inf -c p -i vms_pp

Have a great summer….