• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

CGrouse
#1 Posted : Monday, July 30, 2007 1:41:09 PM(UTC)
CGrouse

Rank: Member

Joined: 6/4/2004(UTC)
Posts: 291

In the web.config I see the following:


<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>-->



I have total access to the webserver and I changed in IIS the custom error file I wanted to use, but it did not work.



Where do I change these files at?
Thanks,


Christopher
CGrouse
#2 Posted : Tuesday, July 31, 2007 4:09:47 PM(UTC)
CGrouse

Rank: Member

Joined: 6/4/2004(UTC)
Posts: 291

anyone?
Thanks,


Christopher
scott.mech
#3 Posted : Tuesday, July 31, 2007 6:44:00 PM(UTC)
scott.mech

Rank: Member

Joined: 4/4/2004(UTC)
Posts: 670

You change them in web.config, in the same block you posted above.

i.e.

<customErrors mode="On" defaultRedirect="Default.aspx">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="404.htm" />
</customErrors>-->

Scott Mech
CGrouse
#4 Posted : Wednesday, August 8, 2007 9:05:28 AM(UTC)
CGrouse

Rank: Member

Joined: 6/4/2004(UTC)
Posts: 291

Update: I had tried to update the web.config file manually and never would work. I had to go into IIS ASP.net Configuration and add the needed file for the 404 error in there. Now it works great.

:)
Thanks,


Christopher
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012