IIS pro needed - custom errors
-
hi there, I've posted this already a week ago in the Web-Development board but didn't get an answer. I'm sorry for crossposting but I really need help on this one: I'm using iis 5 to run an asp application. I have custom error pages defines for the http errors 500 through 502 with an url value of /status_500.asp. The file exists for sure. i then created a testpage which does nothing more then a division by zero, hoping the error-page (there is just a response.write on it) will show up. whatever i do, i always get the standard runtime error page instead of my status_500.asp. does anyone know this problem? any help is greatly appreceated!
/matthias
I love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams] -
hi there, I've posted this already a week ago in the Web-Development board but didn't get an answer. I'm sorry for crossposting but I really need help on this one: I'm using iis 5 to run an asp application. I have custom error pages defines for the http errors 500 through 502 with an url value of /status_500.asp. The file exists for sure. i then created a testpage which does nothing more then a division by zero, hoping the error-page (there is just a response.write on it) will show up. whatever i do, i always get the standard runtime error page instead of my status_500.asp. does anyone know this problem? any help is greatly appreceated!
/matthias
I love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams]Hi, Can you please paste the changes u have made in web.confing file?
Thanks and Regards, Chetan Ranpariya
-
hi there, I've posted this already a week ago in the Web-Development board but didn't get an answer. I'm sorry for crossposting but I really need help on this one: I'm using iis 5 to run an asp application. I have custom error pages defines for the http errors 500 through 502 with an url value of /status_500.asp. The file exists for sure. i then created a testpage which does nothing more then a division by zero, hoping the error-page (there is just a response.write on it) will show up. whatever i do, i always get the standard runtime error page instead of my status_500.asp. does anyone know this problem? any help is greatly appreceated!
/matthias
I love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams]ASP I am not sure, but if it is ASP.NET then you can configure this type of errors in web.config file. I think IIS won't handle this.
-
Hi, Can you please paste the changes u have made in web.confing file?
Thanks and Regards, Chetan Ranpariya
Chetan Ranpariya wrote:
Can you please paste the changes u have made in web.confing file?
I think author is using classical ASP
Sincerly Navaneeth My Website
-
ASP I am not sure, but if it is ASP.NET then you can configure this type of errors in web.config file. I think IIS won't handle this.
Firstofall, thanks for your reply. I'm sorry. I didn't mention that this is an asp application, so no web.config available (in a asp.net application running on the same server and using the web.config settings it works fine). But for this asp application I used the IIS->Virtual Directory->Properties->Custom Errors Tab to configure the custom error pages. Can it be that, if you have .net installed, IIS ignores custom error settings because it believes, people will handle this in the web.config? Thanks again for your time.
/matthias
I love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams] -
Chetan Ranpariya wrote:
Can you please paste the changes u have made in web.confing file?
I think author is using classical ASP
Sincerly Navaneeth My Website
Ohh, I apologize for that. I didn't notice that. Sorry Again :(
Thanks and Regards, Chetan Ranpariya
-
Firstofall, thanks for your reply. I'm sorry. I didn't mention that this is an asp application, so no web.config available (in a asp.net application running on the same server and using the web.config settings it works fine). But for this asp application I used the IIS->Virtual Directory->Properties->Custom Errors Tab to configure the custom error pages. Can it be that, if you have .net installed, IIS ignores custom error settings because it believes, people will handle this in the web.config? Thanks again for your time.
/matthias
I love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams]matthias s. wrote:
Can it be that, if you have .net installed, IIS ignores custom error settings because it believes, people will handle this in the web.config?
I think it is not like that. Upto my knowledge, IIS will generate 500 error when it doesn't have any specific information about what the error happened. But in your case you are getting divided by zero exception. So it will throw the exception details to the response. I think that is happening in your case. ? What do you say ?
Sincerly Navaneeth My Website
-
Firstofall, thanks for your reply. I'm sorry. I didn't mention that this is an asp application, so no web.config available (in a asp.net application running on the same server and using the web.config settings it works fine). But for this asp application I used the IIS->Virtual Directory->Properties->Custom Errors Tab to configure the custom error pages. Can it be that, if you have .net installed, IIS ignores custom error settings because it believes, people will handle this in the web.config? Thanks again for your time.
/matthias
I love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams]matthias s. wrote:
Can it be that, if you have .net installed, IIS ignores custom error settings because it believes, people will handle this in the web.config?
I don't really have any IIS admin experience, so I could be totally wrong here, but I think that could be your problem. As far as I know you have to configure the web site/virtual directory to be explicitly non-.NET otherwise the request will be passed through the ASP.NET ISAPI filter. How you do this and whether it really has any effect I'm not sure.