Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The QueryCategory function in an MSPL script does not return the presence information in Lync Server 2010

View products that this article applies to.


Consider the following scenario:
  • You deploy a custom application in the Microsoft Lync Server 2010 environment. You do this by installing a Microsoft SIP Processing Language (MSPL) script on the Lync Server 2010 front-end server. The MSPL script uses the QueryCategory function to verify the user status.
  • A Lync 2010 user invites another Lync 2010 user for an instant messaging session.
  • You verify the corresponding log in Event Viewer.
In this scenario, the log displays a warning message that states that the QueryCategory function returns a NULL value instead of the presence information as a string.

↑ Back to the top


To resolve this issue, install the following cumulative update: 
2500442 Description of the update for Lync Server 2010: April 2011

↑ Back to the top


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top

Keywords: kbqfe, kbfix, kbhotfixrollup, kbsurveynew, kbexpertiseinter, kb

↑ Back to the top

Article Info
Article ID : 2538969
Revision : 2
Created on : 9/20/2018
Published on : 9/20/2018
Exists online : False
Views : 273