locked
Avatar error RRS feed

  • Question

  • User2068891794 posted

    In my avatarImageFetch.ashx,

     

    connection.Open()
    
            Dim d As Byte() = CType(command.ExecuteScalar(), Byte())
            output.Write(d, 0, d.Length)
                  
            connection.Close()

      when i log in and try to update an avatar image which has format .jpg the output line above gives the following error.

    Object reference not set to an instance of an object.

    Any body got any ideas? This seems to be the only problem I have. 

    Friday, October 6, 2006 11:27 AM

All replies

  • User2068891794 posted

    i know what problem was. i created the user in choice manually. if you create the uaser from the website, it will allow you update the avatar photo no problem!

     ANOTHER QUESTION i have, tis only small. When i am logged in as a user and i click log off, it still says that i am logged in on that page even though i am infact logged out behind it all? I know this because if i press refresh it disappears!! Any ideas?

    Friday, October 6, 2006 12:01 PM
  • User2068891794 posted

    Tis sound. Got answer from http://forums.asp.net/thread/1202863.aspx

     

    Friday, October 6, 2006 12:14 PM