Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 43:             DetailsView1.DataBind();
Line 44:             lblJudul.Text = Page.Request.QueryString[0];
Line 45:             img.ImageUrl = "~/owa/imagespro/"+ db.AmbilIsi(Aplikasi.koneksi, "PRODUK", "NAMA=" + db.utf8(Page.Request.QueryString[0], false), "FOTO").ToString();
Line 46: 
Line 47:             if (!Page.IsPostBack)

Source File: d:\Webspace\pasartanaman.com\httpdocs\frmFreeview.aspx.cs    Line: 45

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   frmFreeview.Page_Load(Object sender, EventArgs e) in d:\Webspace\pasartanaman.com\httpdocs\frmFreeview.aspx.cs:45
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062