I am working on a personal website and I am using webform and .NET 3.5 and C #. I am trying to sort custom error pages but I can not get them to work properly on my local IIS 7.5 on the external server. How can it be fixed when the page can not be found when it is indicated with the default IIS error pages?
The pages with errors in my web.config
file have been defined;
& lt; CustomErrors mode = "remoteonly" default redirect = "~ / eropgies / default.expx" redDind = "responsereserve" & gt; & Lt; Error status code = "403" redirection = "~ / ERRORPAGES / Default.aspx" /> & Lt; Error status code = "404" redirect = "~ / ERRORPAGES / 404.aspx" /> & Lt; Error status code = "400" redirect = "~ / ERRORPAGES / 400.aspx" /> & Lt; Error status code = "500" redirect = "~ / ERRORPAGES / 500.aspx" /> & Lt; / CustomErrors & gt;
It was a problem with the server that I was running, the host changed it And now online everything works as I expected.
Comments
Post a Comment