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.

徵兆

某些函數無法在使用 SPWorkflowDataSource 或 FabricWorkflowInstanceProvider 用者控制項的自訂 SharePoint 頁面上運作,而且會在 SharePoint 統一登入系統 (ULS) 記錄中看到 9zu4p 9zu4q 事件標記的項目。 此問題在安裝下列 2021 年 2 月 9 日 SharePoint 安全性更新之後發生:

原因

在 SPWorkflowDataSource 和 FabricWorkflowInstanceProvider 中轉換類型時,可以增強安全性規則。 只限轉換受信任的類型。

解決方案

要還原無法運作的函數,只要封鎖類型是安全的,可以在 Web.config 檔案中將封鎖類型新增為受信任的類型。

要這樣做,請在 Web.config 檔案的configuration/SharePoint/SafeMode/AllowConvertTypes 元素下新增具有 type 屬性的新 AllowConvertType 元素,如下所示:

<SafeMode MaxControls="200" CallStack="false" DirectFileDependencies="15" TotalFileDependencies="250" AllowPageLevelTrace="false">
<AllowConvertTypes>
<AllowConvertType type="<allowedConvertTypeName>, <allowedConvertTypeAssemblyName>, <AssemblyVersion>, <AssemblyLanguageSetting>, <AssemblyPublicKey>"/>
</AllowConvertTypes>
</SafeMode>

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!

×