???? ?? ????-?????? ???????? ?? ????? ?? Windows SharePoint ?????? 2.0 ?? SharePoint Portal Server 2003 ??? ??????? ??????? ?? ??????? ?? ??? ?? ???? ??? ?? ?? ?????

???? ?????? ???? ??????
???? ID: 918744 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

??????

?? ???? ????? ???? ?? ?? ?? ???????? ???? ?? ???? ??? ?? ?? ?? Microsoft Windows SharePoint ?????? 2.0 ??? ??????? ??????? ?? ??????? ?? ??? ????? ???? ??? ???????? introduces ???? ?? ????-?????? ???????? ?? ?? ??? Stsadm.exe ????-?????? ????? ?? ????? ?? ???? ???? ?? ???? ????? ???? ?? ?? ???????? ?? ??????? ???? ?? ??? ???? ????? ????? ???? ?? ?? ?? ?? Stsadm.exe ????-?????? ????? ?? ????? ?? databaserepair ????-?????? ???????? ?? ??? Windows SharePoint ?????? 2.0 ??? ??????? ??????? ??? orphaned ?????? ?? ????? ?? ?? ??? ????? ?? ??? ???? ?????

?????

?? ???? ??? Windows SharePoint ?????? 2.0 ??????? ??????? ?? ??????? ?? ??? ????? ?? ???? ??? ?? ?? ????-?????? ???????? ?? ????? ???? ??? ?? ????? ?? ???? ???databaserepairStsadm.exe ????-?????? ????? ?? ??????? ??????? ??? orphaned ?????? ?? ????? ?? ?? ??? ????? ?? ??? ???????-?????? ?????????

??? ????????? ??? ????? ????? Windows SharePoint ?????? 2.0 ??????? ??????? ????? ?? ???? ??? ??????? ????? orphaned ?????? ?? ?? ???? ??? ?????? ?? ???, ???? ???????? ??? ??? ???????? ????????? ?? ???? ?? ????? ??, ???? ??? ??? ?????? Windows SharePoint ?????? 2.0 ??? ???? ???? ??? ?? ????-?????? ???????? ?? ???? ??? ?????? ???????? ???? ??? ??, ???? ?? ???? Windows SharePoint ?????? 2.0 ??? ???? ?? ?? ????? ?? ?? ??????? ?? ??? ?? ??????? ??????? ?? ??????? ?? ???? ???? ?? ??? ????? ?? ???? ?? ???? ??? ???? ?? ????????? ?? ??????? ??????? ?? ??????? ?? ??? ????? ?? ???? ??? ?? ??????? ?????? ??? ??????? ??????? ?? ???? ??????? ???? ??????? ???? ???

?? ?????? ???? Windows SharePoint ?????? 2.0 ?????? ??? 3 ??? ????? ???? ??? ???Windows SharePoint ?????? 2.0 ?? ??? ?????? ?????? ??? ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:
906795Windows SharePoint ?????? 2.0 ?? ??? ?????? ?????? ??? ?? ??????? ???? ?? ??? ???? ????

???? ???????

?? ???????? ?? ??????? ???? ?? ??? ???? ????

??? Windows SharePoint ?????? post-Service ??? 2 ???????? ?????? 1 ???, 2006 ?? ???? ?? ?? ?? ?????? ?? ??? ???? ??? ??? ???? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::
918743Windows SharePoint ?????? ?????? ??? 2 ?????? ???????? ?????? ?? ?????: 1 ???, 2006

?? ???????? ?? ???? ??? ???????

?? ???????? ?? ??? ????? ??databaserepair???? ?????? ???????? ?? ????? ?? ???? ??? Stsadm.exe ????-?????? ????? ?? ??????? ???? ??????? ?? ??????? ?? ???? ?? ??? Stsadm.exe ????-?????? ????? ?? ????? ?? ???? ???databaserepair???????? ?? ??? ????? ?? ??? ?? Windows SharePoint ?????? 2.0 ??????? ??????? ??? orphaned ????? ???? ?? ????? ?? ???:
  • ???? ??? Windows SharePoint ?????? 2.0 ??? ???? ???? ?? ?? Windows SharePoint ?????? 2.0 ??? ????
  • ???? ??? Windows SharePoint ?????? 2.0 ??? ???? ???? ?? ?? ??? ?????
  • ?? ???? ?? ?? ???? ?????? Windows SharePoint ?????? 2.0 ??? ???? ???? ??
  • ???? ???????? ??? ??? ???????? ????????? ?? ??? ???? ?? ??
  • ?????? ???? ???? ?? ?? ???? ????
  • ??? ??? ?? ?? ???? ?????? Windows SharePoint ?????? 2.0 ??? ???? ???? ??
Thedatabaserepairoperation uses the following parameters:
  • Required parameters:url,databasename
  • Optional parameter:deletecorruption
When you use the Stsadm.exe command-line tool with thedatabaserepairoperation, the syntax is as follows.
  • To detect orphaned items, use the following command line:
    stsadm -o databaserepair -url http://URLofWindowsSharePointServicesSite-databasenameDatabaseName
  • To delete orphaned items, use the following command line:
    stsadm -o databaserepair -url http://URLofWindowsSharePointServicesSite-databasenameDatabaseName-deletecorruption

????? ???? ?? ????? ???? ?? ???

Consider the following information before you perform the procedure that is described in this article to repair content databases in Windows SharePoint Services 2.0:
  • The Stsadm.exe command-line tool and thedatabaserepair???????? ??? ??? ??????? ??????? orphaned ?????? ?? ??? ?????? ???? ??? ??? ?? ???? ???? ?????? ?? ??? ????? ?? ???? ?? orphaned ???? ???????? ???? "???????? ?? ???? ??? ???????" ??? ????
  • ?? ?? orphaned ???? ????? ?? ??? ?? ????????? ?? ?????, ???????? orphaned ???? ???? ?? ???? ???? ?? ???????? orphaned ???? ????? ?? ??? ????? ???? ?? ???? ???
  • ??? ?? Microsoft Office SharePoint Portal Server 2003 ' ?? ' Windows SharePoint ?????? 2.0 ??? ??? ???, ?? ?? ????????? ??? ???? orphaned ???? ??????????? ??????? ??? SharePoint Portal Server 2003 ???? After you perform this procedure, make sure that you run the Spsadm tool in SharePoint Portal Server 2003 to repair orphaned items in the configuration database.
  • Thedatabaserepairoperation removes orphaned items from content databases in Windows SharePoint Services 2.0. If orphaned items are present in the configuration database, you have to clean up the orphaned items in the configuration database. To do this, use the Window SharePoint Services Central Administration tool to remove the content databases from the virtual server. Then, reattach the content databases to the virtual server. ?? ?? ???? ??????? ????? ?? ??????? ???? ??????? ?? ??????? ???, ?? ??????? ??????? ??? ??? ?? Windows SharePoint ?????? 2.0 ??? ?????? ??????????? ??????? ??? ?????? ?????? ?? ????? ??? ???? ???? ??? ???? ?????? ??????????? ??????? ??? ??????? ??????? ??? ????? ???? ??? ?? Windows SharePoint ?????? 2.0 ??? ???? ?? ???? ???? ???? ??, Windows SharePoint ?????? 2.0 ??? ?????? ??????? ??????? ??????? ????? ?? ????? ???? ??? ?? ?? ????? ??? ???? Windows SharePoint ?????? 2.0 ??? ?????? ??????? ??????? ?? ????? ???? ??? ??? ?? ?? reattach ??????? ????? ?? ??? ??????? ???????? ?? ?? ??????? ?? ??? ??????? ????? ?? ??? ??????? ??????? reattach ??, ?? ?? orphaned ???? ??????? ??????????? ??????? ???

??? 1: ??? ????? ?? Windows SharePoint ?????? 2.0 ??????? ??????? ??? orphaned ?????? ?????

?? ??? Stsadm.exe ????-?????? ????? ?? ????? ???? ?? ???databaserepair???????? ?? ??? ????? ?? orphaned ???? ????? ?? ??? ????? ????? ?? ???? ??:
  1. ????? ????,???????????? ????,???????????:cmd?? ????-????? ????, ?? ???? ???OK.
  2. ????? ????????? ?? ????? ?????? ???? ????, ?? ???? ??? ENTER ?????:
    CD /d %commonprogramfiles%\Microsoft Shared\Web ????? Extensions\60\Bin
  3. ??????? ??? orphaned ???? ?? ??? ?????? ??? ???? ?? ???, ????? ????????? ?? ????? ?????? ???? ????, ?? ???? ??? ENTER ?????:
    stsadm -??? databaserepair - url http://URLofWindowsSharePointServicesSite-databasenameDatabaseName
    ?????? ??? Stsadm.exe ????-?????? ????? ?????? ???? orphaned ???? ?? ?? ???? ????????? ???? ???? ??? ?????? ??? ????? ???? ??<orphanedobjects count=" count=""></orphanedobjects count=">??????"> ???? orphaned ?????? ?? ?????? ?? ???????????? ???? ??? ????? ?????? ?? ?? ????? ?????? 10 orphaned ?????? ??? ??? ?????? ?? ?? ???? ??? ?? ?? ?????? ??:
    <OrphanedObjects Count="Number">
      <Orphan Type="SPList" Id="{ID}" SiteId="{ID}" />
      <Orphan Type="SPList" Id="{ID}" SiteId="{ID}" />
      <Orphan Type="SPList" Id="{ID}" SiteId="{ID}" />
      <Orphan Type="SPList" Id="{ID}" SiteId="{ID}" />
      <Orphan Type="SPList" Id="{ID}" SiteId="{ID}" />
      <Orphan Type="SPList" Id="{ID}" SiteId="{ID}" />
      <Orphan Type="SPList" Id="{ID}" SiteId="{ID}" />
      <Orphan Type="SPList" Id="{ID}" SiteId="{ID}" />
      <Orphan Type="SPList" Id="{ID}" SiteId="{ID}" />
      <Orphan Type="SPList" Id="{ID}" SiteId="{ID}" />
    </OrphanedObjects>
  4. Orphaned ?????? ?????? ??? ???? ?? ???, ????? ????????? ?? ????? ?????? ???? ????, ?? ???? ??? ENTER ?????:
    stsadm -??? databaserepair - url http://URLofWindowsSharePointServicesSite-databasenameDatabaseName-deletecorruption
  5. ?? ?? ?? Stsadm.exe ????? ?? ??? ?? orphaned ???? ?? ?? ??? ????? ??? 4 ?? 5 ???????? ?? orphaned ???? ?? ???? ???? ???, ?? ????? ???? Stsadm.exe ????-?????? ????? ?? ????? ???? ?? ??? ????????? ??:
    <OrphanedObjects Count="0" />

Step 2: Run the Spsadm.exe tool if you are running SharePoint Portal Server 2003

If you are running SharePoint Portal Server 2003, run the Spsadm.exe command-line tool with therepairorphanscommand-line operation to repair orphaned items that may be present in the configuration database. Therepairorphansoperation removes and then reattaches thePortalSiteName_SITE content database. When you run the Spsadm.exe tool with therepairorphansoperation, orphaned items that may exist for thePortalSiteName_SITE content database are removed from the configuration database.

??????????? ??????? ??? orphaned ?????? ?? ??? ???? ?? ??? Spsadm.exe ????? ?? ????? ???? ???? ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:
918742???? ?? ????-?????? ???????? SharePoint Portal Server 2003 ??? ??????????? ??????? ??? orphaned ?????? ?? ??? ???? ?? ??? ????? ?? ???? ??? ?? Spsadm.exe ????-?????? ????? ?? ??? ?????? ?? ?? ?? ?????

??? 3: ???????, ?? ???? ??? ??????? ????? ?? ??????? ??????? reattach

?? ?? ???? ??????? ????? ?? ??????? ???? ??????? ?? ??????? ???, ?? ?? ??????? ??????? ??? ???????? Windows SharePoint ?????? 2.0 ??? ?????? ?????? ???? ??? ?? ?? ?? ?? reattach ??????? ????? ?? ??? ??????? ???????? ???????????? ?? ??? ??? ?? ???? ?? ????, ?? ??? ?? ??? ?? ?? ??? ?? ????? ???? ???? ????? ??? ?? ?? ???? ??? off-peak ????? ?? ????? ??????

???????, ?? ???? ??? ??????? ??????? ?? ??????? ????? ?? ??????? ?? ??????? reattach, ?? ????? ?? ???? ????:
  1. ????? ????,???????????? ????,???????????? ??????? ????-????? ????, ?? ???? ???SharePoint ???? ??????????.
  2. ?? ?????????????? ????? ???????????Windows SharePoint ?????? 2.0 ???? ?????????? ????? ?? ????? ??????????? ????? ???????? ???????? ????.
  3. ??????? ????? ?? ???????? ????, ?? ???? ??? ???? ????? ??? ?? ????? ??????????? ?? ??????? ???????? ?????? ?????????????? ????? ?? ????????? ??????? ????? ???????? ??????
  4. ??????? ???????? ??????? ????? ??, ?? ??????? ????? ??? ?? ??????? ??????? ????? ?????
  5. ??????? ??????? ???????? ?? ??????? ???? ????? ?? ????? ?????? ?? ????? ???:
    • ??????? ?????
    • ??????? ?? ???
    • ??????? ?????? ????????
  6. ?? ??? ???? ?? ??? ????? ??????????? ??????? ?? ??????????????? ?? ????? ?? ??? ????? ????, ?? ???? ???OK. ?? ?? ??????? ??????? ?? ??????? ????? ??? ?? ?????? ???? ?? ??? ??? ???, ????? ????OK.
  7. ????? ????,OK.
  8. ??????? ??????? ?? ??????? ???? ????? ?? ????? ??????????? ??????? ?? ?????.
  9. ?????? ??????? ??????? ?? ???? ?????, ?? ??????? ?????, ??????? ?? ??? ?? ??????? ?????? ???????? ????????? ????? ???? ???, ????? ????OK.
???????????? ???? portal farm ?? ???? ???? ??? quiesced ?? ??????? "spsadm repairorphans" ???? ????? ????? ?? ?? ???? portal farm ?? Repairorphans ????? ????? ???, ????? ??????? ???? ??:
  • ?????????? ?????? portal farm ???? ??? ?????
  • Portal farm ???? ???? ?? ???? ????? SQL ?? ???? ????? ?????????? ?????? SharePoint ?? ?? SQL ??? farm ?? ???
  • Portal farm "repairorphans" ???? ?? ???? ????????? ?? ????? ?? ??? ????? OM ??? ???? ?? ?????
??? ????? ?? ???????????? ?? ?? ?? ??????? author ???? ?? ???? ?? ??????? ?????? Portal SharePoint ????? ?? ???????? ???? ????? ?? ???? ????? ?? ??? ????? ?? ??? ???? ?????? ??? ??? ???? ?? ??? ???? ???? ?? ???? ??? ???? ??????? ?? ??? ??????? ???? ?? ??? ????? ??? ???? ?? ????.SharePoint Portal Server 2003 ?????????? ?? ????????????:
HTTP://www.Microsoft.com/downloads/details.aspx?familyid=47405143-F586-4941-92F5-048BF00CF332 ?? displaylang ?? & displaylang = ?? =

??????

???? ??? "??????" ?????? ?? Stsadm.exe ????-?????? ????? ?? ???? ??? ???? ??????? ?? ??? "?????? Command-line" ????, "Command-line ????????" ???? ?? command-line-??? ?????"Microsoft Windows SharePoint ?????? 2.0 ?????????? ????????????. ??????? ???? ?? ???Microsoft Windows SharePoint ?????? 2.0 ?????????? ????????????????? Microsoft ??? ???? ?? ????::
HTTP://www.Microsoft.com/downloads/details.aspx?familyid=A637EFF6-8224-4B19-A6A4-3E33FA13D230 ?? displaylang ?? =
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

???

???? ID: 918744 - ????? ???????: 06 ?????? 2010 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft Windows SharePoint Services 2.0
  • Microsoft Office SharePoint Portal Server 2003
??????: 
kbwsssp3fix kbqfe kbbug kbfix kbwsspresp3fix kbmt KB918744 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:918744

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com