FIX: A Connected Services Framework Server 2.5-based application truncates the ServiceContext parameter value to 255 Unicode characters (916594)



The information in this article applies to:

  • Microsoft Connected Services Framework Server 2.5

SYMPTOMS

In a Microsoft Connected Services Framework (CSF) Server 2.5-based application, the ServiceContext parameter for user to service mapping in Profile Manager is stored in the ServiceContext column of the UserServiceMapping table. When you try to store a ServiceContext parameter value that is larger than 255 Unicode characters of the nvarchar data type, the application truncates the ServiceContext parameter value to 255 Unicode characters.

CAUSE

This problem occurs because the application can only retrieve 255 Unicode characters from the ServiceContext column. The ServiceContext column is defined as the nvarchar(255) data type. For example, the nvarchar(255) data type can only store strings up to 255 Unicode characters or 512 bytes.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
File nameFile sizeDateTime
Qfe28_fix.sql13,30510-Mar-200603:04

STATUS

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

MORE INFORMATION

This hotfix increases the size of the ServiceContext column of the UserServiceMapping table in the CSFDB database. After you apply this hotfix, the ServiceContext column is defined as the nvarchar(1024) data type. The complete fix is confined to changing the table schema and the corresponding stored procedures. No change is required in any other part of the application.

To apply this hotfix, follow these steps:
  1. Start SQL Query Analyzer on the instance of Microsoft SQL Server that is hosting the CSFDB database. To do this, click Start, click Programs, click Microsoft SQL Server, and then click Query Analyzer.
  2. On the Query menu, click Change Database.
  3. In the Select Database dialog box, click CSFDB, and then click OK.
  4. On the File menu, click Open, locate the Qfe28_fix.sql script, and then click Open.
  5. On the Query menu, click Execute.
  6. To restart Microsoft Internet Information Services on the server that hosts the Profile Manager Web service, run the following command at a command prompt:

    IISReset

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MinorLast Reviewed:7/26/2006
Keywords:kbHotfixServer kbQFE kbpubtypekc KB916594 kbAudITPRO kbAudDeveloper