G
Guest
I'm a beginner with .NET so this is probably a very simple problem that will
be immediately obvious to someone hopefully. I'm using J#.NET
The following contains the code caused the error
Line 385: String link = "http://10.4.190.120/config/lconfig.aspx" ;
Line 386: GtLink.Redirect(link);
Line 387: //NLine.set_Text(Selection);
STACK TRACE
[NullReferenceException: Object reference not set to an instance of an
object.]
Config.Config.Update_Click(Object sender, EventArgs e) in
E:\Inetpub\wwwroot\Portal\Config\Config.aspx.jsl:386
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
+232
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +5
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +31
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint
Am I leaving something out or should I be initializing something firat. I
had the same error trying to get the server variables from the client but I
gave up on it eventually as I was able to work without the Host name though
it would add an extra element of security that I am looking for.
Thanks in adv for any help.
Dubh
be immediately obvious to someone hopefully. I'm using J#.NET
The following contains the code caused the error
Line 385: String link = "http://10.4.190.120/config/lconfig.aspx" ;
Line 386: GtLink.Redirect(link);
Line 387: //NLine.set_Text(Selection);
STACK TRACE
[NullReferenceException: Object reference not set to an instance of an
object.]
Config.Config.Update_Click(Object sender, EventArgs e) in
E:\Inetpub\wwwroot\Portal\Config\Config.aspx.jsl:386
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
+232
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +5
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +31
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint
Am I leaving something out or should I be initializing something firat. I
had the same error trying to get the server variables from the client but I
gave up on it eventually as I was able to work without the Host name though
it would add an extra element of security that I am looking for.
Thanks in adv for any help.
Dubh