J
j.t.w
Hi.
I'm following along with the learnvisualstudio.net videos. Everything
works in VWD but, when I upload my files to the web server, the pages
for the 3rd and 4th videos don't work.
For both pages, I'm getting an "Object reference not set to an
instance of an object." error message.
Video 3
Is erroring on "Page.Response.Write("User Count: " &
Application("userCount").ToString())".
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.]
v_lesson03.Page_Load(Object sender, EventArgs e) in C:\DATA\webs\jtw
\MySite.com\VideoLesson3\v-lesson03.aspx.vb:17
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1436
Video 4
Is erroring on "resultLabel1.Text = Session("SomeValue").ToString()".
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.]
_04_v_lesson04.Button1_Click(Object sender, EventArgs e) in C:\DATA
\webs\jtw\MySite.com\VideoLesson4\v-lesson04.aspx.vb:8
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+33
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1746
Does anyone have any suggestions I could try to solve these problems.
TIA,
j.t.w
I'm following along with the learnvisualstudio.net videos. Everything
works in VWD but, when I upload my files to the web server, the pages
for the 3rd and 4th videos don't work.
For both pages, I'm getting an "Object reference not set to an
instance of an object." error message.
Video 3
Is erroring on "Page.Response.Write("User Count: " &
Application("userCount").ToString())".
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.]
v_lesson03.Page_Load(Object sender, EventArgs e) in C:\DATA\webs\jtw
\MySite.com\VideoLesson3\v-lesson03.aspx.vb:17
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1436
Video 4
Is erroring on "resultLabel1.Text = Session("SomeValue").ToString()".
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.]
_04_v_lesson04.Button1_Click(Object sender, EventArgs e) in C:\DATA
\webs\jtw\MySite.com\VideoLesson4\v-lesson04.aspx.vb:8
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+33
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1746
Does anyone have any suggestions I could try to solve these problems.
TIA,
j.t.w