Pregunta

Acabo de intentar acceder a la propiedad "FILENOTFOUNDPAGE" para una aplicación web y su próximo, me pregunto si es nulo por defecto o si algo lo cambió a NULL.

También me gustaría saber cuáles serían las mejores prácticas para configurar páginas personalizadas, por ejemplo.¿Debo crear un http.module (que ya creé) o de cualquier otra manera, excepto modificar la página "SPS404.HTML" en 12 Hive.

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
scroll top