Hi,
Whenever I’m trying to create a sales order using Enterprise Portal, it is throwing an error as
Error
Message: An unhandled error has occurred. To view details about this error, enable debugging in the web.config file or view the Windows event logs.
Source: App_Web_logisticspostaladdresstrx.ascx.91f2996b.lvjzqcwv
Exception details:
Object reference not set to an instance of an object.
at LogisticsPostalAddressTrx.getChosenPostalRecId() in c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ep\LogisticsPostalAddressTrx.ascx.cs:line 141
at EPSalesTableCreate.formCustomer_ItemInserting(Object sender, DetailsViewInsertEventArgs e) in c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ep\EPSalesTableCreate.ascx.cs:line 199
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxForm.OnItemInserting(DetailsViewInsertEventArgs e)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxForm.HandleInsert(String commandArg, Boolean causesValidation)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxForm.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.WebControls.DetailsViewRow.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I am able to create SOs using the Ax application, or update SOs using EP 2012, otherwise.
Regards,
Abhinay