Object reference not set to an instance of an object

May 20, 2008 at 10:35 AM

 

I have below code

Protected
Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click

 

FileUploaderAJAX1.Save()

 

end

sub

and I have message:
System.NullReferenceException was unhandled by user code
  Message="Object reference not set to an instance of an object."
  Source="FUA"
  StackTrace:
       at Subgurim.Controles.FileUploaderAJAX.Save()
       at _Default.Button1_Click(Object sender, EventArgs e) in C:\Documents and Settings\Jacek\Moje dokumenty\Priv\AJAXEnabledWebSite1\Default.aspx.vb:line 11
       at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
       at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



What's up!?