Hi all
I am getting the following error which is caused by a preview part on a list page in Enterprise Portal:
An unhandled error has occurred. To view details about this error, enable debugging in the web.config file or view the Windows event logs.
Object reference not set to an instance of an object.
Microsoft.Dynamics.Framework.Portal
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxUserControlUpdatePanel.GetWebControlName()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxUserControlUpdatePanel.LoadHostedControl()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxUserControlUpdatePanel.AddHostedControl()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxUserControlUpdatePanel.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.Control.EnsureChildControls()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxPreviewPaneBuilder.Build()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxPartContentArea.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxPartContentArea.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
This is a list page and preview pane that I created and as far as I can remember were working before 2012 was upgraded to CU8. There isnt anything particularly clever about the list page - the list page displays records from Dynaway's MRORequestTable and the preview pane displays associated data from the related MROFunctionalLocation table
If I remove the preview pane from the list page and redeploy it there are no errors.
Any suggestions would be much appreciated.
Thanks,
Joe