F(xin)
¼鿴־У¾Ϣ
: δþʹõijÑ@ܕӾδД(sh)ՈʹòҪϵy(tng)YԴ
ҪÎՈʹ 'stsadm -o setproperty -propertyname portalsuperuseraccount -propertyvalue account -url webappurl'ˎnj SharePoint (sh)(j)ȫƙκΎǑó؎
Ӕ(sh)(j):
ǰĬJÑ: SHAREPOINT\system
ȥLһl(f)re¼鿴־Е¾棺
Event code: 3005
Event message: l(f)δ̎Į
Event time: 2012/11/13 11:52:38
Event time (UTC): 2012/11/13 3:52:38
Event ID: 497ba228589e4ff2a192bf6582f525c9
Event sequence: 310
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1949916159/ROOT-1-129972506606997458
Trust level: WSS_Minimal
Application Virtual Path: /
Application Path: C:\inetpub\wwwroot\wss\VirtualDirectories\80\
Machine name: SJ-MOSS-04
Process information:
Process ID: 4684
Process name: w3wp.exe
Account name: XXXX\sharepoint_admin
Exception information:
Exception type: SPException
Exception message: ÑڻΨһ
Request information:
Request URL: http://xxxx.com/sites/informationcenter/SitePages/Home.aspx
Request path: /sites/informationcenter/SitePages/Home.aspx
User host address: 10.72.29.35
User: 0#.f|admembership|XXXX
Is authenticated: True
Authentication Type: Federation
Thread account name: XXXX\sharepoint_admin
Thread information:
Thread ID: 18
Thread account name: XXXX\sharepoint_admin
Is impersonating: False
Stack trace: Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
Microsoft.SharePoint.Library.SPRequest.GetUserToken(String bstrUrl, String bstrLogin)
Microsoft.SharePoint.SPWeb.GetUserToken(String userName)
Microsoft.SharePoint.Publishing.CacheManager.<.ctor>b__0(SPSite newSite)
Microsoft.SharePoint.Publishing.CommonUtilities.<>c__DisplayClass1.<RunWithElevatedSite>b__0()
Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
Microsoft.SharePoint.Publishing.CommonUtilities.RunWithElevatedSite(SPSite siteNonElev, Boolean allowUnsafeUpdates, ElevatedSiteProcessor callWithElevatedSite)
Microsoft.SharePoint.Publishing.CacheManager..ctor(SPSite site)
Microsoft.SharePoint.Publishing.CacheManager.GetManager(SPSite site, Boolean useContextSite, Boolean allowContextSiteOptimization)
Microsoft.SharePoint.Publishing.WebControls.CombinedBasePermissions..ctor()
Microsoft.SharePoint.Publishing.WebControls.ConsoleNode.CurrentPermissions()
Microsoft.SharePoint.Publishing.WebControls.ConsoleNode.CurrentState(Page currentPage, Boolean cacheResult)
Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions.ConsoleAction.OnPreRender(EventArgs e)
System.Web.UI.Control.PreRenderRecursiveInternal()
System.Web.UI.Control.PreRenderRecursiveInternal()
System.Web.UI.Control.PreRenderRecursiveInternal()
System.Web.UI.Control.PreRenderRecursiveInternal()
System.Web.UI.Control.PreRenderRecursiveInternal()
System.Web.UI.Control.PreRenderRecursiveInternal()
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
ԭ
еİl(f)(ni)ݕþL
h(hun)FormADJCÑò_
h(hun)Mи߲l(f)yԇrTl(f)˴ˆ}
Qk
ʹùĄ(chung)Ñ
_J¹{(j)
ҪڹЄ(chung)Ñ\ SharePoint ľW(wng)վӋC Farm Administrators MijɆT
ڹľW(wng)վϵġóΓ Web ó
ΓҪõ Web óQ
ڡWeb óx헿ϵġԡMУΓÑԡ
ڡWeb óIJԡΓÑ
ġ^(q)бxЅ^(q)ȻΓһ
ڡÑI롰TÑÑ
ΓzQDԴ_QԱóϵCṩ
ڡxޡxСȫ - ȫƙޡ
Γɡ
Txߡ؏ͲE 5 E 8
ڡxޡxСȫxȡ - ȫֻxޡ
Γɡ
ӛ¡泬xߡ͡泬ÑQڡÑе@ʾʽ@ʾַͬwȡQǷ Web óʹC
ʹ Windows PowerShell Web óÑ
_JMҪՈ Add-SPShellAdmin
´aճNıӛ±У
$wa = Get-SPWebApplication -Identity "<WebApplication>"
$wa.Properties["portalsuperuseraccount"] = "<SuperUser>"
$wa.Properties["portalsuperreaderaccount"] = "<SuperReader>"
$wa.Update()
ռλQֵ
<WebApplication> Ҫӵ Web óQ
<SuperUser> ҪʹõġTÑ@ʾǰ^̵IJE 14 ᵽġÑСֶ
<SuperReader> ҪʹõġTxߡ@ʾǰ^̵IJE 14 ᵽġÑСֶ
ļ SetUsers.ps1
ע⣺ |
ʹļ회 ANSI aļUչ .ps1 ıļ |
P]ı
ڡ_ʼˆΓг
ΓMicrosoft SharePoint 2010 a(chn)Ʒ
ΓSharePoint 2010 Management Shell
D(zhun)ԓļĿ
Windows PowerShell ʾ̎I ./SetUsers.ps1
Internet Information Services (IIS)
YԴ
ÌÑhttp://technet.microsoft.com/zh-cn/library/ff758656.aspx