Microsoft KB Archive/883316

= The changes are not applied when you use the Windows SharePoint Services object model from within a serviced component to modify or to update an item =

Article ID: 883316

Article Last Modified on 5/17/2007

-

APPLIES TO


 * Microsoft Office SharePoint Server 2007
 * Microsoft Office SharePoint Portal Server 2003
 * Microsoft Windows SharePoint Services 3.0
 * Microsoft Windows SharePoint Services

-



SYMPTOMS
When you use the Microsoft Windows SharePoint Services object model from within a serviced component to update or to modify an item in a Windows SharePoint Services Web site, the item is not updated or modified. You do not receive any error messages that notify you that the changes were not applied to the item.

For example, if you use the Windows SharePoint Services object model from within a serviced component to apply a theme or to change a title, the theme is not applied and the title is not changed.



CAUSE
This behavior occurs because Windows SharePoint Services object model calls are not supported from a COM+ component.

In Windows SharePoint Services, an operation such as applying a theme does not involve a single transaction. The operation cannot be transacted. You cannot transact Windows SharePoint Services object model calls from COM+.



MORE INFORMATION
For more information about the Windows SharePoint Services object model, see the Microsoft SharePoint Products and Technologies 2003 Software Development Kit (SDK). To obtain the SharePoint Products and Technologies 2003 SDK, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=aa3e7fe5-daee-4d10-980f-789b827967b0&displaylang=en

For more information about serviced components, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/7c05y13x(vs.71).aspx

Keywords: kbprogramming kbtshoot KB883316

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.