|
|
|
BISI Guru
      
Group: Forum Members
Last Login: 5/11/2008 10:00:57 PM
Posts: 130,
Visits: 130
|
|
| I keep getting the following server error when adding a product. Thanks 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 1015: 'entry.GBaseAttributes.AddTextAttribute("rating", CType(Gattributeform1.FindControl("rating"), TextBox).Text)Line 1016: InsertParams.Add("@google_attributename4", SqlDbType.VarChar).Value = "rating"Line 1017: InsertParams.Add("@google_attributevalue4", SqlDbType.VarChar).Value = CType(Gattributeform1.FindControl("rating"), TextBox).TextLine 1018: InsertParams.Add("@google_attributename5", SqlDbType.VarChar).Value = ""Line 1019: InsertParams.Add("@google_attributevalue5", SqlDbType.VarChar).Value = "" |
Source File: E:\app.buyitsellit.com\admin\addproduct.aspx.vb Line: 1017
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] admin_addproduct.prod_savebutton_Click(Object sender, EventArgs e) in E:\app.buyitsellit.com\admin\addproduct.aspx.vb:1017 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102 |
|
|
|
|
|
BISI Admin
Group: Administrators
Last Login: Today @ 10:44:54 AM
Posts: 1,162,
Visits: 2,423
|
|
I've corrected this issue.
---------------------
Tomas
|
|
|
|
|
BISI Guru
      
Group: Forum Members
Last Login: 5/11/2008 10:00:57 PM
Posts: 130,
Visits: 130
|
|
|
|
|