Microsoft Knowledge Base Email Alertz

The Modified column shows the current date and time instead of the date and time that you configured in a custom program in SharePoint Portal Server 2003

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 915489 - Last Review: May 8, 2006 - Revision: 1.2

The "Modified" column shows the current date and time instead of the date and time that you configured in a custom program in SharePoint Portal Server 2003

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986  (http://kbalertz.com/Feedback.aspx?kbNumber=256986/ ) Description of the Microsoft Windows registry

SYMPTOMS

Consider the following scenario. You create a discussion board in Microsoft Office SharePoint Portal Server 2003. You run a custom program that adds discussion items to the discussion board programmatically. The custom program also configures the date and time that appear in the Modified column for the discussion items.

However, after you run the custom program, the Modified column for the discussion items shows the current date and time instead of the date and time that you configured in the custom program.

CAUSE

This issue occurs when the discussion board is located in a subarea of the portal site. For example, you do not experience this issue when the discussion board is located in the Home area of the portal site or in a Microsoft Windows SharePoint Services Web site.

WORKAROUND

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
Important The following steps are provided as a general guideline only. Before you perform this workaround, you must contact Microsoft Product Support Services for more information about how to complete the workaround. Microsoft Product Support Services will help you determine and set the value of the FullControlSID registry entry that is required in this workaround.

For a list of Microsoft Product Support Services telephone numbers, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
To work around this issue, follow these steps:
  1. Add the FullControlSID registry entry to the following registry subkey:
    HKEY_LOCAL_MACHINE\Software\Microsoft\SharePoint Portal Server
    Then, set the value of the FullControlSID registry entry to the security ID (SID) of the user account that you are logged on as.

    Important Make sure that you contact Microsoft Product Support Services for help to determine the SID that you need and to set the value of the FullControlSID registry entry to the SID.
  2. Run the custom program to add the discussion items to the discussion board.
  3. Delete the FullControlSID registry entry that you added in step 1.

MORE INFORMATION

The following steps describe only how to add the FullControlSID registry entry. Contact Microsoft Product Support Services for help to determine the SID that you need and to set the value of the FullControlSID registry entry to the SID.

To add the FullControlSID registry entry, follow these steps:
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\Software\Microsoft\SharePoint Portal Server
  3. On the Edit menu, point to New, and then click Binary Value.
  4. Type FullControlSID, and then press ENTER.
  5. Double-click FullControlSID. Set the value of the FullControlSID registry entry to the SID of the user account that you are currently logged on as, and then click OK.

    Important Make sure that you contact Microsoft Product Support Services for help to complete this step.
  6. On the File menu, click Exit to exit Registry Editor.

APPLIES TO
  • Microsoft Office SharePoint Portal Server 2003
  • Microsoft Windows SharePoint Services 2.0
Keywords: 
kbtshoot kbnofix kbbug kbexpertiseinter kbprb KB915489
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Scott - scottv -at- rbh.com Report As Irrelevant  
Written: 5/16/2006 11:29 AM
This KB was created for a problem that I was having. I had written a custom program to convert our Exchange public folders into Sharepoint Discussion Lists. As part of the conversion process, the program would replace the author and date with the author and date of the original public folder item. Everything worked fine until we tried to run the conversion on a discussion board that wasn't in the root area of the portal. The items would get added, but the author would display as the current user and the date would be the current date. The article doesn't note that the problem also prevented the program from replacing the author name of the list item (when it would run, all the items would appear to have been created by the current user instead of the author).

Scott - scottv -at- rbh.com Report As Irrelevant  
Written: 5/16/2006 11:38 AM
I should also mention that the case involved (in case anyone is googling for the answer), uses the SPList.Update() method. Here's a code snippet: Dim oItem As SPListItem = oList.Items.Add() oItem("ows_Title") = objItem.Item.Subject() oItem("ows_Body") = objItem.HTMLBody() oItem("ows_Created") = objItem.Item.SentOn() oItem("ows_Modified") = objItem.Item.SentOn() oItem("ows_Author") = nUserID oItem("ows_Editor") = nUserID oItem.Update()