Author: ch.meena | Posted on: 10/25/2010 3:52:30 AM | Views : 268

 
Hi I am trying to upload images to sharepoint , but i am getting this error " object reference not set to instance of an object". Please help. Urgent.
Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs)
        Dim uploadedFilePath As String = "C:\images\"
        Dim sharePointListPath As String = http://teams1.sharepoint.AllItems.aspx\  ( dummy name , my code has  complete sharepoint path)
    
        If FileUpload1.HasFile Then
            Try
                FileUpload1.SaveAs( _
                uploade ...

Go to the complete details ...