??? ????? 404 ?????? ??? ??? ??? Windows SharePoint ?????? 3.0 ?? Microsoft Office SharePoint ????? 2007 ??? ?? Microsoft SharePoint ????? 2010 ?? ????? ???? ?? ??? ???? ????

???? ?????? ???? ??????
???? ID: 941329 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?????

?? ???? ????? ?? ?? ???? Windows SharePoint ?????? 3.0, Microsoft Office SharePoint ????? 2007 ???, ??? ?? ????? 404 ?????? ??? ??? ?? ????? ???? ?? ??? ?? ?? Microsoft SharePoint ????? 2010 ????

???? ???????

Windows SharePoint ?????? 3.0 ?? SharePoint ????? 2007

??? ????? 404 ?????? ??? ??? ?? ????? ???? ?? ??? Windows SharePoint ?????? 3.0 ?? SharePoint ????? 2007 ?? ???????? ????, ????? ????? ?? ???? ?????

???:??????? ??? ??? ?? ???? ????? 404 ?????? ??? ??? ??? ???? ???? ?? ?????? ???? ?? ?????? ?? ??????
  1. SharePoint ????? 2007 ???????????? ????????? ?? ?? ???? ???? ?? ????? ?? ??? ??? ?? ?? ???????? ?? ??? ?? ?????
  2. Windows Explorer ???, ????? ??????? ?? ?????::
    % systemdrive %????? Extensions\12\TEMPLATE\LAYOUTS\ \Program Files\Common Files\Microsoft Shared\WebLangID
    ???
    • ?? ?? ???% systemdrive %?????? ?? ??? ?? ???????? ?????? ??????? ?? ?? ?????? ?? ???????? ??? ?? ???????????? ???? ???
    • ?? ?? ???LangID???????? ???? ID ?? ????? ???? ???? ???? ?? ???????????? ???? ??? ?????? ?? ???, 1033 ???? ????????? ?? ??? ???? ID ???
  3. ????? HTML ????? ?????? ??? ???? ?? ???, ??????? ???? ?? ????? ?????

    Microsoft Office SharePoint ????? 2007

    1. ???????? ?? SharePoint ????? 2007 ?? ??? ??, ?? ?? ??????? ??????? ?? ??? Sps404.html ????? ?? ????????? ??????
    2. Sps404.html ????? ?? ??? ?????? ?????? ?? ???, ????? ????? ??? ???:
      Custom404.HTML
    3. ????? ??????? Custom404.html ????? ???????
    4. ???? ?? ??? Custom404.html ????? ?? ????????? ?????% systemdrive %????? Extensions\12\TEMPLATE\LAYOUTS\ \Program Files\Common Files\Microsoft Shared\WebLangID???????.

    Windows SharePoint ?????? 3.0

    1. ???????? ??? ?? Windows SharePoint ?????? 3.0 ?? ??? ??, ?? ????? ??????? ??? ?????? Error.htm ????? ?? ?????? ?????:
      % systemdrive %????? Extensions\12\TEMPLATE\LAYOUTS\ \Program Files\Common Files\Microsoft Shared\WebLangID
      ???
      • ?? ?? ???% systemdrive %?????? ?? ??? ?? ???????? ?????? ??????? ?? ?? ?????? ?? ???????? ??? ?? ???????????? ???? ???
      • ?? ?? ???LangID???????? ???? ID ?? ????? ???? ???? ???? ?? ???????????? ???? ??? ?????? ?? ???, 1033 ???? ????????? ?? ??? ???? ID ???
    2. ??????? ??????? ?? ??? Error.htm ????? ?? ????????? ??????
    3. Error.htm ????? ?? ??? ?????? ?????? ?? ???, ????? ????? ??? ???:
      Custom404.htm
    4. ?????? ?? ??? ??? Custom404.htm ????? ??????? ?????
    5. ???? ?? ??? Custom404.htm ????? ?? ????????? ?????% systemdrive %????? Extensions\12\TEMPLATE\LAYOUTS\ \Program Files\Common Files\Microsoft Shared\WebLangID???????.
  4. Microsoft Visual Studio 2005 Professional Edition ?? Microsoft Visual Studio 2005 Standard Edition ?? ????? ?? ???? ????? ????? ????????? ?? ?????? ???, ????? ????? ????????? ?? ??? ????? ??? ???????
    // The following code assumes that a reference is made to Microsoft.SharePoint.
    
    Microsoft.SharePoint.Administration.SPWebApplication webapp = 
    Microsoft.SharePoint.Administration.SPWebApplication.Lookup(new Uri("http://<serverurl>"));
                webapp.FileNotFoundPage = "<Custom404.htm>";
                webapp.Update();
    
    ???
    • ?? ??? ???<serverurl></serverurl>SharePoint ????? 2007 ??? ??? ???????? ?? ???????? URL ?? ???????????? ???? ???
    • ?? ??? ???<custom404.htm></custom404.htm>????? HTML ???? ?? ??? ???? ?? ???????? ??? ?? ???????????? ???? ???
    Visual Studio 2005 ?? ????? ?? ???? ????? ????? ????????? ?? ????? ?? ??? ???? ???? ?? ???? ??? ???? ??????? ?? ??? ????? Microsoft ??? ???? ?? ????:
    HTTP://msdn2.Microsoft.com/en-us/library/ms438026.aspx
    ???:SharePoint ????? 2007 ???, ?? Windows SharePoint ?????? 3.0 ??? ???????? ??? ??FileNotFoundPage??? "??" ?????? ?? ??? ??? ???
  5. SharePoint ????? 2007 ??? ??? ???????? ?? ????? ?? ????? ????????? ?? ??????
???:Windows Internet Explorer ??? ???????? ??? ????????? HTTP ?????? ????? ???????????? ???? ??? ?? ?????? ???, ????? ?????? ????? ???? ??? ???? ????? ?????? ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:
218155???????????? ??????????? ????????? ?????? ????? ?? ?????

SharePoint ????? 2010

SharePoint ????????? ????? ?? ??? ????? 404 ?????? ??? ??? ?? ????? ???? ?? ??? SharePoint ????? 2010 ???????? ????, ????? ????? ?? ???? ?????
  1. SharePoint ????? 2010 ???????????? ????????? ?? ?? ???? ???? ?? ????? ?? ??? ??? ?? ?? ???????? ?? ??? ?? ?????
  2. Windows Explorer ???, ????? ??????? ?? ?????::

    % systemdrive % \Program Files\Common Files\Microsoft Shared\Web ????? Extensions\14\TEMPLATE\LAYOUTS\LangID

    ???

    ? ?? ?? ??? ??, ?? % systemdrive % ????? ?????? ?? ???????? ??? ?? ?????? ?? ??? ?? ???????? ?????? ??????? ???

    ? ?? ?? ???, LangID ?????? ?? ???? ?? ????? ????? ?? ???????? ???? ID ??? ?????? ?? ???, 1033 ???? ????????? ?? ??? ???? ID ???
  3. ????? HTML ????? ?????:
    1. ???????? ?? SharePoint ????? 2010 ?? ??? ??, ?? ?? ??????? ??????? ?? ??? Sps404.html ????? ?? ????????? ??????
    2. Sps404.html ????? ?? ??? ?????? ?????? ?? ???, ????? ????? ??? ???:

      Custom404.HTML
    3. ??? HTML ?????? ?? ????? ???? Custom404.html ????? ?? ??? ????? ??????? ???????
     
  4. ???? ?? ??? % systemdrive % \Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ LangID ??????? Custom404.html ????? ?? ????????? ??????
  5. SharePoint 2010 ??????? ??? ?? ?? ????? PowerShell ???? ?????:

    (??????? SPWebApplication http:// <serverurl>: <port>) .FileNotFoundPage "Custom404.html" =</port></serverurl>


    ???????? ???? ?? ????? ??????? ?? ??? ?? ??? ??? ??:

    (??????? SPWebApplication http:// <serverurl>: <port>) .FileNotFoundPage</port></serverurl>

    ???

    ? ??? <serverurl>???? ?? ??? ??? ??? ????????? ?? ???????? URL ?? ???????????? ???? ??</serverurl>, ?? ??? 404 ?????? ????? ??????

    ? ??? <port>nonstandard ????? ????, ??? ???, ?? ?? ??? ????? ???? ??? ?? ?? ???????????? ???? ??</port>, ?? ??? ??? ??????????

    ? ?? ???, Custom404.html ?????? ????? HTML ???? ?? ??? ???? ?? ???????? ??? ???

    SharePoint 2010 ?? ??????? PowerShell ????????? ?? ????? ???? ???? ?? ???? ??? ???? ??????? ?? ??? ????? Microsoft ??? ???? ?? ????:

    SharePoint ????????? 2010 ?? ??? Windows PowerShell

    ???:SharePoint ????? 2010 ??? ???????? ??? ??FileNotFoundPage??? "??" ?????? ?? ??? ??? ???
 

???

???? ID: 941329 - ????? ???????: 22 ??????? 2011 - ??????: 3.0
???? ???? ???? ??:
  • Microsoft Office SharePoint Server 2007
  • Microsoft Windows SharePoint Services 3.0
  • Microsoft SharePoint Foundation 2010
  • Microsoft SharePoint Server 2010
??????: 
kbexpertiseinter kbhowto kbmt KB941329 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:941329

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

 

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