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 |
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
|
Thanks,
Christopher |
|
|
|
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
|
|
|
|
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.