1.automation server cannot create object
Only need to run: regsvr32 scrrun.dll on it.
2. The object reference is not set to an instance of the object.
The 1.ViewState object is UNLL.
2.DateSet empty.
3.sql statement or datebase causes DataReader to be empty.
4. The variable is applied when the string variable is declared without null value.
5. The object was not initialized with new.
The 6.Session object is empty.
7. When you assign a text value to a control, the value does not exist
8. When using Request.QueryString (), the acquired object does not exist or the initial value is not assigned when the value is empty
9. When using FindControl, the control does not exist but does not do preprocessing
In C #, the error of "not setting an object reference to an instance of an object" is usually caused by a control name that does not correspond to the codebehind, and the repetition of the definition in the code can cause this problem.
Current 1/2 page
12 Next read the full text