Home > Custom Error > Custom Error In Web.config In Asp.net

Custom Error In Web.config In Asp.net

Sanjay Kumar (Sr. AFAIK you have to set the userName in the section in machine.config (%windir%\Microsoft.NET\Framework\v1.0.3705\CONFIG) to SYSTEM, otherwise you have no permission to access the event log. The detailed ASP.NET errors are shown to the remote clients and to the local host. When I inspected the web.config I saw that there were two CustomErrors nodes in the system.web; and I have just noticed that the second entry (the one I was changing was http://comscity.net/custom-error/custom-error-web-config.html

Thanks for writing. Any doubts please feel free to ask me. Sign In·ViewThread·Permalink Error in Custom Errors AshuK11-Jun-05 9:07 AshuK11-Jun-05 9:07 This works. Remarks The element does not apply to errors that occur in XML Web services.

Will absolutely recommend to anyone looking for real time, hands on technical training! Does every root have an assigned primary use? I would like to have feedback from my blog readers.

please help me. share|improve this answer answered Jan 16 '14 at 16:17 Belogix 6,1961322 add a comment| up vote 3 down vote Here is sample code how you can display exceptions on custom page. What the connection string you used. it would be very helpful if you give the solution.