증상
WPProperty에 종속된 웹 파트가 더 이상 올바르게 작동하지 않고 SharePoint ULS(통합 로깅 시스템) 로그에 a7wm1 이벤트 태그를 생성합니다.
원인
이 문제는 이제 SharePoint Server에서 web.config 파일의 WPProperty에 액세스할 수 있는 .NET 유형을 선언하도록 팜에 요구하기 때문에 발생합니다. 나열되지 않은 .NET 유형은 보안 예방 조치로 WPProperty에 액세스할 수 없습니다.
해결 방법
이 문제를 해결하려면 다음 업데이트 중 하나를 설치하세요.
-
SharePoint Server 2019용 보안 업데이트에 대한 설명: 2021년 9월 14일(KB5002018)
-
SharePoint Enterprise Server 2016용 보안 업데이트에 대한 설명: 2021년 6월 8일(KB5001946)
-
SharePoint Foundation 2013용 보안 업데이트에 대한 설명: 2021년 9월 14일(KB5002024)
웹 파트가 예상대로 작동하도록 하려면 다음 단계를 수행하여 영향을 받는 .NET 유형을 web.config 파일에서 WPProperty에 액세스할 수 있도록 선언합니다.
중요: .NET 유형이 WPProperty에 액세스하는 것이 안전하다는 것을 확인한 후에만 허용하세요.
-
SharePoint 팜의 각 서버에서 웹 애플리케이션의 web.config 파일을 엽니다.
-
구성/SharePoint/SafeMode 섹션을 찾으세요.
-
AllowedWPProperties 섹션이 없는 경우 추가합니다.
-
WPProperty에 액세스하도록 허용해야 하는 유형을 나타내기 위해 type 및 propertyName 특성이 있는 새 AllowedWPProperty 요소를 추가합니다.
<SafeMode MaxControls="200" CallStack="false" DirectFileDependencies="15" TotalFileDependencies="250" AllowPageLevelTrace="false">
<AllowedWPProperties>
<AllowedWPProperty type="<allowedWPPropertyTypeName>,<allowedWPPropertyAssemblyName>, <AssemblyVersion>, <AssemblyLanguageSetting>, <AssemblyPublicKey>" propertyName="<Allow WPProperty property name>"/>
</AllowedWPProperties>
</SafeMode> -
web.config 파일의 변경 사항을 저장합니다.
type 및 propertyName 특성의 올바른 값을 식별하려면 ULS 로그에서 a7wm1 이벤트 태그를 쿼리하고 로그 항목을 기록해 둡니다. 예:
"WPProperty has been blocked for security reason. blocked AssemblyQualifiedName is "<BlockedWPPropertyTypeName>, <allowedWPPropertyAssemblyName>, <AssemblyVersion>, <AssemblyLanguageSetting>, <AssemblyPublicKey>" | blocked property name is "<blocked WPProperty name>",
이 유형이 WPProperty에 액세스할 수 있도록 허용하려면 AllowedWPPProperty type 특성을 차단된 AssemblyQualifiedName의 값으로 설정하고 propertyName 특성을 차단된 속성 이름 값으로 설정합니다.
변경 기록
다음 표에는 이 항목의 가장 중요한 변경 사항 중 일부가 요약되어 있습니다.
날짜 |
설명 |
---|---|
2021년 9월 14일 |
"해결" 섹션에 두 가지 업데이트를 추가했습니다. |