|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Urgent Help
Hello..
I am working in ASP.NET environment and having problems seeing detailed error messages.I have already set my web.config file custom error tag to "Off" but still I am getting the general error message. If the code is correct it runs fine but if I make up a syntax error then also it shows be runtime server error which is pasted below. Does anyone of you have any idea of how can i get any detail error message...I think it has to do something with IIS settings (machine.config file)...If anyone has come across such error or have any comments please let me know asap... Thanks Kiran PS: Error message ---------------------------------------------------------------------------------- Server Error in '/users/Accesstest' Application. -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off". <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL. <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration> |
|
#2
|
|||
|
|||
|
In IIS 4 & 5 there is a setting in IIS that can disable detailed error messages. I don't know with NET & IIS6.
|
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Urgent Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|