I am receiving an Unhandled exception Error:
[ArgumentException: Log entry string is too long. A string written to the event log cannot exceed 32766 characters.]
####.UI.WebControls.MainControl.DealWithException(Exception e) +1212 ####.UI.WebControls.MainControl.CreateChildControls() +4799 System.Web.UI.Control.EnsureChildControls() +122 System.Web.UI.Control.PreRenderRecursiveInternal() +49 System.Web.UI.Control.PreRenderRecursiveInternal() +226 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7632
I am getting this error just after the Begin PreRender Event.
Few things about the program :
Program uses a custom web Control which is having an argument for specifying the usercontrol if any.
The whole program is contained in a user control. That is, aspx is only having a webcotrol, rest everything is in the ascx.
I am not using any logging mechanism, as far as i know.
please help. It will be mighty helpful to me.
Please comment if any other information is required.
You will have to talk to the component vendor; it's their component that's attempting to write to the event log. Nothing we can do about it here.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.