Rank: Member
Joined: 8/25/2007(UTC) Posts: 124
|
Now what... Not sure what to do in this scenario.
We have an active order in the system. However we just deleted the product variation of the item becuase we do not want to continue stocking the variation. We can not get back into the order?
Here is the error we are getting.
The order includes a deleted product variation. I can nolonger view it or make chagnes...
Server Error in '/' Application.
<H1>Server Error in '/' Application. <HR color=silver SIZE=1 width="100%"> </H1> <H2>Object reference not set to an instance of an object. </H2>[color=#ffffcc>
[tr ][td ]<CODE>The]1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration> <system.web> <compilation debug="true"/> </system.web> </configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.[/code] [/td][/tr]</TABLE> [1] <B>Version Information:[/1] Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618 <!-- [NullReferenceException]: Object reference not set to an instance of an object. at BVAdmin_Orders_ViewOrder.ItemsGridView_RowDataBound(Object sender, GridViewRowEventArgs e) at System.Web.UI.WebControls.GridView.OnRowDataBound(GridViewRowEventArgs e) at System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) at System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) at System.Web.UI.WebControls.DataBoundControl.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at System.Web.UI.WebControls.GridView.DataBind() at BVAdmin_Orders_ViewOrder.PopulateFromOrder(Order o) at BVAdmin_Orders_ViewOrder.LoadOrder() at BVAdmin_Orders_ViewOrder.Page_Load1(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) [HttpUnhandledException]: Exception of type 'System.Web.HttpUnhandledException' was thrown. at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.bvadmin_orders_vieworder_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --><!-- This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.-->
|
|
|
|
Rank: Member
Joined: 8/25/2007(UTC) Posts: 124
|
1. We rebuilt the item (New) This generated a New Product ID
2. I went into Database and found the dbo.bvc_Order. I found the OrderBvin
3. I went into the dbo.bvc_LineItem and found the OrderBvin that match the Order in dbo.bvc_Order. Once I found the record I replaced the Deleted ProductID with the New Product Id generated in step 1.
This fixed the problem.
|
|
|
|
Rank: Member
Joined: 10/11/2006(UTC) Posts: 162
Thanks: 1 times
|
What version of BV are you running? I remember this being an issue in 5.3 or 5.4, but there was a hotfix for it.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.