Question

OCS R2 / Communicator R2 "presence unknown" for users adding contacts not already in contact list.

Asked by: apcoexch

Dear all,

I have just completed a migration to OCS 2007 R2 and Communicator R2 from OCS 2007, the migration has gone well so far and i've moved our complete infrastructure which consists of 3 standard edition servers, one per geographic region we provide services to, all clients are now using Communicator R2 that we deployed via gpo.

We host 600 users across the three servers, we're running Windows 2008 64bit standard edition with the default install of standard edition inc SQL Express 2005. We are using internally issued certificates, and all appropriate validation checks on all servers come up green. The event logs are clean on all servers, bar the below mentioned errors.

For users hosted on our americas and europe servers there are no problems:

From communicator all users hosted on our US and Europe servers can see the presence of users in both their home region and remote regions (UPN's take the format of jbloggs@asia.company.net, jbloggs@europe.company.net; jbloggs@americas.company.net ). For 90 percent (approx) of the users in our Asia region, any users already in their contact lists show as normal, anyone not already in their contact list shows as "Presence Unknown", unless that user has contacts that are hosted on another regions server in which case they show as "Presence Unknown".

Despite the presence unknown tag for all non-contact list contacts, calls and IM's are able to occur as normal, and users from other regions servers (and those users unaffected by the issue in Asia) are able to see presence of all users in all regions.

All affected users were able to see communicator presence as normal after the upgrade and before this problem began to appear (or so they say, i cant verify this) and there seems to be no relaitonship between this issue occuring and the client version of Communicator R2 in use:

We are using the following versions, all are affected: 3.5.6907.0, 3.5.6907.22 and 3.5.6907.34.

When i look in the iis logs on our affected server i see many many many 404 and 401 errors from abs retrieval, as shown below, the users who have no problems generally pull down the AB with a 200:

2009-07-28 00:11:07 10.0.1.245 GET /Abs/Int/Handler/D-0c38-0c3a.lsabs - 443 ASIA\**** 10.0.2.79 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506;+InfoPath.2;+MS-RTC+LM+8) 404 0 64 78
2009-07-28 00:11:07 10.0.1.245 GET /Abs/Int/Handler/D-0c38-0c39.lsabs - 443 - 10.0.2.79 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506;+InfoPath.2;+MS-RTC+LM+8) 401 2 5 62
2009-07-28 00:11:07 10.0.1.245 GET /Abs/Int/Handler/D-0c38-0c39.lsabs - 443 ASIA\**** 10.0.2.79 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506;+InfoPath.2;+MS-RTC+LM+8) 200 0 0 62
2009-07-28 00:14:04 10.0.1.245 GET /Abs/Int/Handler/D-0c38-0c3a.lsabs - 443 - 10.0.2.86 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506;+InfoPath.2;+MS-RTC+LM+8) 401 2 5 62
2009-07-28 00:14:04 10.0.1.245 GET /Abs/Int/Handler/D-0c38-0c3a.lsabs - 443 ASIA\**** 10.0.2.86 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506;+InfoPath.2;+MS-RTC+LM+8) 404 0 64 78
2009-07-28 00:14:04 10.0.1.245 GET /Abs/Int/Handler/D-0c38-0c39.lsabs - 443 - 10.0.2.86 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506;+InfoPath.2;+MS-RTC+LM+8) 401 2 5 62

I've ran tracing and see the following events again and again:
ModuleName      IIS Web Core
Notification      2
HttpStatus      401
HttpReason      Unauthorized
HttpSubStatus      2
ErrorCode      2147942405
ConfigExceptionInfo      
Notification      AUTHENTICATE_REQUEST
ErrorCode      Access is denied. (0x80070005)

When i look at an affected clients trace log there is a lot of info, little of it makes sense to me, but this may or may not be related:
07/29/2009|09:53:56.669 15F4:1774 TRACE :: CUccLogicalSubscription::ProcessCategoryDataCollection - Presentity object not found for [sip:****@asia.apco.net], this 0414B990
07/29/2009|09:53:56.669 15F4:1774 TRACE :: CUccLogicalSubscription::ProcessCategoryDataCollection - Presentity object not found for [sip:****@asia.apco.net], this 0414B8F0
07/29/2009|09:53:56.669 15F4:1774 TRACE :: CUccLogicalSubscription::ProcessCategoryDataCollection - Presentity object not found for [sip:****@asia.apco.net], this 0414B850

I've looked through the below but we dont get any address book errors from the client....

http://ucnoevil.blogspot.com/2008/03/address-book-download-issues-vista.html

I've tried deleting the cache on clients and signing in again, without any luck.

Two things have occured that differentiate the OCS R2 instance where we have the problem and those where we dont are:

http://blog.tiensivu.com/aaron/archives/1867-RtcQmsAgent-fails-to-start-on-OCS-2007-R2-server-and-causes-KB-967831-April-2009-update-for-Front-End-Server-components-install-to-fail.html (made sure i installed msmq on the other servers to prevent someone doing a careless update and breaking everything like i did). This was corrected as per the blog post.

The other issue i see are: on boot i get this error from the affected server, but i dont understand why, if it's an issue with certificates that some clients hosted on the asia OCS server have no problem with viewing presence and some do (pretty sure this is not related):

Log Name:      System
Source:        Schannel
Date:          7/29/2009 7:04:56 AM
Event ID:      36870
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      *******.asia.****.net
Description:
A fatal error occurred when attempting to access the SSL server credential private key. The error code returned from the cryptographic module is 0x80090011.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Schannel" />
    <EventID Qualifiers="49152">36870</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2009-07-28T23:04:56.000Z" />
    <EventRecordID>28986</EventRecordID>
    <Channel>System</Channel>
    <Computer>*******.asia.****.net</Computer>
    <Security />
  </System>
  <EventData>
    <Data>server</Data>
    <Data>80090011</Data>
  </EventData>
</Event>

To further confuse matters, my account used to be hosted in europe and i since transferred to our asia region, my home domain is still europe but i am hosted on our asia ocs server. My laptop is still also in the europe domain. I experience no problems. If i log onto a machine in the Asia domain, i experience the same issue the other users have with "presence unknown" for all users not already in my contact list.

Clearly this is an error on my part as we have two perfectly functional instances, i've been looking at this for two weeks and if anyone can give me any direction i'd be grateful.

Sorry for the unbelievably lengthy post here....

Thanks,

Jim

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-07-29 at 20:45:36ID24611873
Tags

OCS R2

,

Communicator R2

,

ABS

,

Presence Unknown

Topic

Live/Office Communications Server

Participating Experts
1
Points
500
Comments
10

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. SIP updates
    I have two questions about using a hardware SIP device with a general SIP proxy from someone like net2phone.com or iconnecthere.com (deltathree.com) I am on a broadband connection but it's one where I pay according to the downloaded data. - What's the bandwidth usage while ...
  2. Presence not working in OCS 2007 R2
    Hi, I have a new install of OCS 2007 R2. The server is working ok (without any errors) but from the office communicator client, if I search for a contact, it shows the contact. But the contact does not show online. If I hover over the contact, it says "Cannot get presen...
  3. Add SIP address to AD user account
    Hi! I'd like to add an SIP address to our AD users. We're using a hosted solution for OCS, but have our own Sharepoint server. When I do profile syncs the SIP addresses I enter manually in the Sharepoint SSP admin are overwritten with data from the AD - which is empty. Is t...
  4. Unable to see enhanced presence on CWA R1 users
    Hi experts, Below is my current environment : Two OCS 2007 R2 Front End Servers (Windows 2008 SP2) One single server for CWA R1 (Windows 2003 SP2) I am able to open the link for CWA, and chat , however, I am unable to see enhanced presence for the other users. Enhanced p...
  5. Ocs 2007 R2- restricting IM to Presence contacts
    Good day, We have OCS 2007 R2 using Remote Call Control. Within the contact list, users are able to try and initiate a video or IM chat with any contact that has an email address. Is it possible to implment an "email-only" contact similiar to a "phone-only&quo...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: adamg12345Posted on 2009-07-30 at 01:11:31ID: 24977574

Hi,

The Unknown Presence will be down to the Address Book Server, the reason you do not see it it because I am guessing you still have the galcontacts.db on your machine from before you moved pool and therefore it is continuing it use that.

It would be useful if you moved that file to another location and checkted to see if you are able to download a new one.

The file is located at %userprofile%\Local Settings\Application Data\Microsoft\Communicator\SIPURI

I have seen this type of thing before were the address book service comes completly confused. The way to check this is to delete all Address Book files on the SE Server and then regenerate the address book.

I do not have a Standard Edition Server to hand to check the location of these files; but they are shared from the SE Server and are a group of dabs and lsabs files.

To regenerate the Address Book in CMD if you go to %programfiles%\Microsoft Office Communications Server 2007 R2\Server\Core and run absserver.exe -syncNow

This will usually take up to 5 minutes to run and the are entries in the Event Log to show it has completed.

If errors still occur we can look at the other possible causes

Adam

 

by: apcoexchPosted on 2009-07-30 at 06:25:46ID: 24979521

thanks Adam, i'll try this straight away. Appreciate the response.

 

by: apcoexchPosted on 2009-07-30 at 06:43:12ID: 24979690

Hi Adam,

Despite deleting the cache on my instance, logging back in again i still have no problems and the address book is healthy.

I deleted the cache on another client, deleted lsabs and dabs files then rebuilt address book:

Log Name:      Office Communications Server
Source:        OCS Address Book Server
Date:          7/30/2009 9:36:45 PM
Event ID:      21007
Task Category: (1008)
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      ashkgapp02.asia.apco.net
Description:
Synchronization pass completed successfully.

Files written:
D:\Program Files\Microsoft Office Communications Server R2\Web Components\Address Book Files\Files\F-0c3c.lsabs with 1,477 contacts. (514,326 bytes compressed to 155,569 bytes)
D:\Program Files\Microsoft Office Communications Server R2\Web Components\Address Book Files\Files\F-0c3c.dabs with 875 contacts. (60,342 bytes compressed to 34,727 bytes)

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="OCS Address Book Server" />
    <EventID Qualifiers="17392">21007</EventID>
    <Level>4</Level>
    <Task>1008</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2009-07-30T13:36:45.000Z" />
    <EventRecordID>7280</EventRecordID>
    <Channel>Office Communications Server</Channel>
    <Computer>******.asia.*****.net</Computer>
    <Security />
  </System>
  <EventData>
    <Data>D:\Program Files\Microsoft Office Communications Server R2\Web Components\Address Book Files\Files\F-0c3c.lsabs with 1,477 contacts. (514,326 bytes compressed to 155,569 bytes)
D:\Program Files\Microsoft Office Communications Server R2\Web Components\Address Book Files\Files\F-0c3c.dabs with 875 contacts. (60,342 bytes compressed to 34,727 bytes)
</Data>
  </EventData>
</Event>

 but still no same issue with the "presence unknown" for all users not already in contact list.

I migrated one user from asia to europe and after 30 mins or so things started working, so it must be to do with the server here and not some weird client/exisiting ballsup i've made.

Thanks for the help. what do you reckon for next steps?

Best,

Jim

 

by: adamg12345Posted on 2009-07-30 at 07:13:18ID: 24980006

Users getting 401 message is there anything specific to them?

Adam

 

by: adamg12345Posted on 2009-07-30 at 09:15:53ID: 24981361

One other things to check is, if you try to access the URL from the Users PC in IE do you get a 401 error?

The IE Zone should also show as Local Intranet, if it does not add the FQDN of the SE Server to the Local Intranet Zone and try again.

Adam

 

by: apcoexchPosted on 2009-07-31 at 02:01:56ID: 24987235

Hi there,

It turns out it was a problem caused by a GPO template (damaged or badly converted communicator admx file), only the asia domain seems to have this template implemented and it was blanking the address book retrieval address or similar, despite having no active settings. By moving a PC to europe, the same users on the same pc were able to view presence. I compared Machine GPO's, this was the only difference, I removed the template and lo and behold...... Everything working.

Very sorry to have wasted anyones time,

Thanks for your prompt accurate help Adam, have fixed a different problem with the information you gave me for a different region since.

Thanks again,

Jim

 

by: apcoexchPosted on 2009-07-31 at 02:04:02ID: 24987244

I'm sure this is the wrong place to ask this but how do i award points here? Do i grant them to you Adam?

 

by: adamg12345Posted on 2009-07-31 at 02:04:18ID: 24987245

Always hapy to help.

It should not be nessecary to use GPOs to set Address Book URLs. This should be supplied during the client login through inband provisioning.

Adam

 

by: adamg12345Posted on 2009-07-31 at 02:14:02ID: 24987278

 

by: apcoexchPosted on 2009-07-31 at 02:26:54ID: 24987328

completely agree, it wasnt configured, but it was breaking the access - i think the admx file is damaged/converted from adm incorrectly.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...