2/7/2012 10:20:31 AM
214
Reputation
27
Total posts
I want to have a footer. But when I delete that part of the code from the footer:
<li><asp:LoginName ID=
"loginName"
runat=
"server"
/></li>
<li><monox:SeoLoginStatus ID=
"loginStatus"
runat=
"server"
/></li>
it crashes me this error:
Object reference not
set
to an instance of an
object
.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace
for
more information about the error and where it originated
in
the code.
Exception Details: System.NullReferenceException: Object reference not
set
to an instance of an
object
.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified
using
the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not
set
to an instance of an
object
.]
MonoSoftware.MonoX.MasterPages.PageFooter.OnInit(EventArgs e) +170
System.Web.UI.Control.InitRecursive(Control namingContainer) +545
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2039
1.
<
li
><
asp:LoginName
ID
=
"loginName"
runat
=
"server"
/></
li
>
2.
<
li
><
monox:SeoLoginStatus
ID
=
"loginStatus"
runat
=
"server"
/></
li
>
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
MonoSoftware.MonoX.MasterPages.PageFooter.OnInit(EventArgs e) +170
System.Web.UI.Control.InitRecursive(Control namingContainer) +545
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Control.InitRecursive(Control namingContainer) +302
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2039
Rating history (Content is rated 0.00 of 0 vote(s).)
Shows who have rated the content, and the rating score.