質問

Webアプリケーションのプロパティ "FileNotFoundPage"にアクセスしようとしました。

カスタムページを設定するためのベストプラクティスが何であるかを知りたいと思います。http.module(すでに作成した)または12 Hiveの "SPS404.html"ページを変更する以外の他の方法を作成する必要があります。

役に立ちましたか?

解決

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