Re: How to intercept 404 file not found responses

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Thanks for your reply Sven,
\par
\par So far I haven't found any document on the custom ISAPI approach as the built-in SPHandler seems not customizable. I'll do some further research to see whether there is anything else we can try on this scenario. I'll keep you informed if there is anything I find.
\par
\par Sincerely,
\par
\par Steven Cheng
\par
\par Microsoft MSDN Online Support Lead
\par
\par
\par Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msdnmg@xxxxxxxxxxxxxx
\par
\par \pard\li720 --------------------
\par From: "SvenC" <SvenC@xxxxxxxxxxxxx>
\par Subject: Re: How to intercept 404 file not found responses
\par Date: Mon, 13 Jul 2009 10:37:30 +0200
\par
\par
\par Hi Steven,
\par > As for the custom 404 page, it is a static htm template file. I've tried
\par > using an aspx page (with some server-side code inside), but it will not
\par > get
\par > executed. Actually, the 404 error page for sharepoint has nothing to do
\par > with IIS custom error page since sharepoint engine handle it completely.
\par > Now, the only thing I can get is add some client side script in your
\par > custom error page which redirect the user to another custom page(may an
\par > aspx page in _layouts folder or some other pages you added on site).
\par > However, it seems we cannot get the url of the failing page since custom
\par > 404 page is a htm template which does have server-side code execution
\par > support.
\par
\par Too bad... Any changes in SharePoint 2010? My company was accepted
\par in the upcoming beta program. I am not sure if or how much developer
\par documentation will be available. If you have information and could point
\par me in the right direction for SP 2010 (will it be WSS 4.0?) that would help
\par me getting started when we get our hands on SP 2010.
\par
\par As for WSS 3.0 and MOSS 2007: how are the chances to develop an
\par ISAPI extension which coexists with the WSS extensions on IIS and
\par picks up 404 errors and redirects them?
\par
\par Regards,
\par Sven
\par
\par \pard
\par
\par }

Relevant Pages

  • RE: ListViewWebPart showing items without user access...
    ... \par Microsoft MSDN Online Support Lead ... \par Thanks for the reply Rui, ... \par> SPS pages or a new created custom web page in the site? ...
    (microsoft.public.sharepoint.windowsservices)
  • RE: Adding multiple content types to a list in one go
    ... I've tried perform some research via the error message and callstack. ... Microsoft MSDN Online Support Lead ... Several of us have had the same problem of adding multiple content types. ... Regarding the custom router, our customer has decided to contact premium ...
    (microsoft.public.sharepoint.portalserver.development)
  • RE: Custom messages for failed ROOT logins on RedHat
    ... Custom messages for failed ROOT logins on RedHat ... Next rpm -e telnet-server ... just a personal opinion....While the thought of having custom error ...
    (Focus-Linux)
  • Re: SCSI miniport-Custom Log messages
    ... If you open your sys file in resource editor, and ... Is it possible to generate custom error log messages for SCSI miniport ... Calling StorPortLogErrorwith this custom error ID. ... After installing this driver, an event is getting logged in the event log, ...
    (microsoft.public.development.device.drivers)
  • Re: SCSI miniport-Custom Log messages
    ... Make sure that you use the custom build step for your .mc file: ... Also make the necessary entries in the registry by your inf file. ... Calling StorPortLogErrorwith this custom error ID. ... After installing this driver, an event is getting logged in the event log, ...
    (microsoft.public.development.device.drivers)