นำไปใช้กับ
SharePoint Server 2019 SharePoint Server 2016 SharePoint Foundation 2013 SP1 Microsoft SharePoint Foundation 2010 Service Pack 2

อาการ

บางฟังก์ชันไม่ใช้งานบนหน้า SharePoint แบบปรับแต่งเองที่ใช้ SPWorkflowDataSource หรือตัวควบคุมผู้ใช้ FabricWorkflowInstanceProvider และคุณเห็นรายการแท็กเหตุการณ์9zu4pหรือ 9zu4qในบันทึก SharePoint Unified Logging System (ULS) ปัญหานี้เกิดขึ้นหลังจากที่คุณติดตั้งการอัปเดตความปลอดภัย SharePoint ในวันที่ 9 กุมภาพันธ์ 2021 ต่อไปนี้:

สาเหตุ

กฎความปลอดภัยจะถูกปรับปรุงเมื่อคุณแปลงชนิดใน SPWorkflowDataSource และ FabricWorkflowInstanceProvider มีเพียงชนิดที่เชื่อถือได้เท่านั้นที่สามารถแปลงได้

การแก้ไข

เมื่อต้องการคืนค่าฟังก์ชันที่ใช้ไม่ได้ ให้เพิ่มชนิดที่ถูกบล็อกเป็นชนิดที่เชื่อถือได้ในWeb.configถ้าชนิดที่ถูกบล็อกปลอดภัย

To do this, add a new AllowConvertType element that has a type attribute to the Web.config file under the configuration/SharePoint/SafeMods/AllowConvertTypes elements, as follows:

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

ต้องการความช่วยเหลือเพิ่มเติมหรือไม่

ต้องการตัวเลือกเพิ่มเติมหรือไม่

สํารวจสิทธิประโยชน์ของการสมัครใช้งาน เรียกดูหลักสูตรการฝึกอบรม เรียนรู้วิธีการรักษาความปลอดภัยอุปกรณ์ของคุณ และอื่นๆ