Phil,
I've had a fair bit of success with custom 404 pages using the web.config
file - especially since one of my hosting servers only allows me to do
this - previously, I've gone into the IIS setup and set the custom error
pages up myself, but if you can share your web.config file with the
newsgroup, I'm sure we'll be able to help out some way.
Cheers,
Tone.
--
Tony Williams
www.bigtone.net
"Philip Townsend" <ptownsend@dotnet.itags.org.v1tech.com> wrote in message
news:%23klro8KbDHA.388@dotnet.itags.org.TK2MSFTNGP10.phx.gbl...
> I am attempting to use the custom errors feature in the web.config file.
> I have followed all instructions available to me and set up a 404 page.
> I have also specified a default error with the defaultRedirect
> attribute. I have had no success in getting any of this to work. I have
> had similar results on other servers. Has anybody had any success with
> this? Should I not waste my time with it?
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!here is the custom errors section of the web.config
<customErrors mode="On" defaultRedirect="genError.htm">
<error statusCode="404" redirect="404.htm"/>
</customErrors
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
This morning I too, found that using custom errors seems to only work if
the "file not found" is an aspx page. Has anyone had similar results?
Is it this way by design?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment