Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵兆

當協力廠商組件嘗試存取某些敏感性屬性時,使用者代碼可能會受到封鎖。 發生此問題時,「8gaol」事件項目會記錄在 「SharePoint 整合記錄系統」(ULS) 記錄。 

原因

為了協助維護安全性,協力廠商程式集無法存取某些敏感性屬性。

解決方案

若要解決這個問題,請安裝下列更新之一:

若要啟用信任的協力廠商程式集存取 Web.config 檔案中的敏感性屬性,請將它們新加到程式集清單中。

例如,假設您在 ULS 記錄中找到下列訊息: 

8gaol  無法存取此敏感性屬性:來自外部不受信任程式集<協力廠商程式集全名>的<敏感性屬性名稱>。 信任的程式集清單:<可存取敏感性屬性的程式集清單>

在這種情況下,請遵循下列步驟: 

  1. 在 Web.config 檔案中 SharePoint SafeMode 下新增 AllowAccessSensitivePropertiesAssemblies 章節:

    <SharePoint>
       <SafeMode>
          <AllowAccessSensitivePropertiesAssemblies>
          </AllowAccessSensitivePropertiesAssemblies>
       
       </SafeMode>
       
    </SharePoint>

  2. 針對每個協力廠商程式集,在 AllowAccessSensitivePropertiesAssemblies 章節新增具有程式集全名的項目:

    <AllowAccessSensitivePropertiesAssemblies>
       <AllowAccessSensitivePropertiesAssembly Assembly="XXX, Version=XXX, Culture=XXX, PublicKeyToken=XXXX"/>
    </AllowAccessSensitivePropertiesAssemblies>

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×