Home > front end >  Server error in "/" application.
Server error in "/" application.

Time:11-04


The object reference not set to an instance of an object,
Note: during the execution of the current Web request, abnormal untreated, please check the stack trace, to learn about the errors and mistakes in the code of the source of detailed information,

Exception details: System. NullReferenceException: the object reference not set to an instance of an object,

The error source:


Only when it is compiled in debug mode, generate the untreated anomaly source code will be displayed, if you want to enable this feature, please perform one of the following steps, then the request URL:

1. Add an error on the file at the top of a "Debug=true" instruction, for example:

<% @ Page Language="c #" Debug="true" % & gt;

Or:

2. Add the following section to the application configuration file:






Please note that the second step will make all the files in a given application is compiled in debug mode. Only the first step to make the specific file is compiled in debug mode,

Important: in order to debug mode application will produce memory/performance overhead, before deployment to the production plan, shall ensure that application debugging has been disabled,

The stack trace:



[NullReferenceException: the object reference not set to an instance of an object,]
ASP. Center_aspx. __Renderform1 (HtmlTextWriter __w, Control parameterContainer) + 230
System. Web. UI. Control. RenderChildrenInternal (HtmlTextWriter writer, ICollection children) + 270
System. Web. UI. HtmlControls. HtmlForm. RenderChildren (HtmlTextWriter writer) + 9838502
System. Web. UI. HtmlControls. HtmlContainerControl. Render (HtmlTextWriter writer) + 32
System. Web. UI. HtmlControls. HtmlForm. Render (HtmlTextWriter output) + 55
System. Web. UI. Control. RenderControlInternal (HtmlTextWriter writer, ControlAdapter adapter) + 67
System. Web. UI. Control. RenderControl (HtmlTextWriter writer, ControlAdapter adapter) + 101
System. Web. UI. HtmlControls. HtmlForm. RenderControl (HtmlTextWriter writer) + 43
System. Web. UI. Control. RenderChildrenInternal (HtmlTextWriter writer, ICollection children) + 129
System. Web. UI. Control. RenderChildren (HtmlTextWriter writer) + 14
System. Web. UI. Page Render (HtmlTextWriter writer) + 30
System. Web. UI. Control. RenderControlInternal (HtmlTextWriter writer, ControlAdapter adapter) + 67
System. Web. UI. Control. RenderControl (HtmlTextWriter writer, ControlAdapter adapter) + 101
System. Web. UI. Control. RenderControl (HtmlTextWriter writer) + 27
System. Web. UI. Page. ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 1342


Modify the C set Temp file all permissions allow, IIS manager application pool inside.net advanced options are enabled True 32-bit applications, but the site after the refresh super administrator background in or appear this mistake, I ask how

CodePudding user response:

Can someone answer? https://bbs.csdn.net/help#common_problem

CodePudding user response:

Mark waiting for the answer
  •  Tags:  
  • ASP
  • Related