문제

방금 웹 응용 프로그램에 대한 "FileNotFoundPage"속성에 액세스하려고 시도했으며 기본적으로 null이 아니면 뭔가가 null로 변경된 경우 궁금합니다.

나는 또한 사용자 정의 페이지를 설정하기위한 최선의 방법이 무엇인지 알고 싶습니다.12 개 하이브에서 "sps404.html"페이지를 수정하는 것을 제외하고는 http.module (이미 생성 된) 또는 다른 방법을 만드는 것이 좋습니다.

도움이 되었습니까?

해결책

The default value is null which sililar to empty string or wrong filename gives the default handling.

If having the same error page for the entire web app is OK, then I'd recommend setting SPWebApplication.FileNotFoundPage instead of using a HttpModule. Remember that the filename is relative to {SharePointRoot}\TEMPLATE\LAYOUTS{LCID} and the file should contain more that 512 bytes

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top