Browse by Tags

Related Posts

  • NullReferenceException on Add()

    I am attempting to insert a document object into an ArrayList. Line 9 is throwing the error System.NullReferenceException: Object reference not set to an instance of an object 1 Dim D As New Document 2 3 D.first_name = firstNameTxt.Text 4 D.middle_name = middleNameTxt.Text 5 D.last_name = lastNameTxt...
    Posted to Getting Started (Forum) by jaylrob on 05-13-2009, 12:00 AM
    Filed under: nullReferenceException, session
  • Session ("") always reference to Null

    Hi, I have a problem when I deployed my web services to IIS 5.1. I have a server for me to do deployment. I created a virtual directory in IIS and point the directory directly to where my web services file is. However, when I test my web service function, especially when there is a "Session(""...
    Posted to State Management (Forum) by germaine.tay on 01-16-2009, 12:00 AM
    Filed under: nullreferenceexception, Session
  • Problem accessing HttpContext.Current.Session in my Class

    Hi guys, I'm facing the following problem: I have 2 classes User and MyAuthentication User class inherits MyAuthentication class. Public Class MyAuthentication Dim objLog As Util.CustomLog = Util.CustomLog.getInstance() Sub New ( ) ... Try Dim strUserId As String strUserId = HttpContext.Current.Session...
    Posted to State Management (Forum) by jaqs on 06-24-2008, 12:00 AM
    Filed under: nullReferenceException, session, subclass
  • Can't access Session var in my Class

    Hi, I can't access Session variable from my class that implements IHttpModule for some reason. My code is: Public Sub OnAuthenticateRequest(ByVal sender As Object, ByVal e As EventArgs) ... System.Web.HttpContext.Current.Session.Add("UserName", "Hi this is a test") End Sub But...
    Posted to State Management (Forum) by jaqs on 06-02-2008, 12:00 AM
    Filed under: nullReferenceException, session, ihttpmodule
Page 1 of 1 (4 items)