Server Error in '/' Application.

Property <OriginalID> not set.

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: GGVDB.ClassLib.cMissingPropertyException: Property <OriginalID> not set.

Source Error:


Line 27: 								</SeparatorTemplate>
Line 28: 							</asp:Repeater>
Line 29: 							<asp:Repeater runat="server" ID="Repeater2" DataSource='<%# Eval("Media") %>' Visible='<%# Convert.ToInt32(Eval("Media.Count"))>0 %>'>
Line 30: 								<HeaderTemplate>
Line 31: 									<tr>

Source File: e:\Hosting\be.vandenbroele\uitgeverij\CATALOGUS\ROOT\pages\productDetail.aspx    Line: 29

Stack Trace:


[cMissingPropertyException: Property <OriginalID> not set.]
   UIVDB.ProductCatalogus.cRecordLinkCollection.get_SelectCommand() in C:\Dev\tfs online\uitgeverij\ProductCatalogusWebsite\ProductCatalogus\cRecordLinkCollection.cs:32
   GGVDB.ClassLib.Record.cRecordCollection.LoadAll() +37
   UIVDB.ProductCatalogus.cRecordLinkConnector.LoadAll(Int32 pOriginalID, Boolean pIncludeOriginal, String pFilterExpression, String pSortExpression) in C:\Dev\tfs online\uitgeverij\ProductCatalogusWebsite\ProductCatalogus\cRecordLinkConnector.cs:48
   UIVDB.ProductCatalogus.cRecordLinkConnector.LoadAll(Int32 pOriginalID, String pFilterExpression, String pSortExpression) in C:\Dev\tfs online\uitgeverij\ProductCatalogusWebsite\ProductCatalogus\cRecordLinkConnector.cs:62
   UIVDB.ProductCatalogus.Product.cProductDetail.get_Media() in C:\Dev\tfs online\uitgeverij\ProductCatalogusWebsite\ProductCatalogus\Product\cProductDetail.cs:197

[TargetInvocationException: Property accessor 'Media' on object 'UIVDB.ProductCatalogus.Product.cProductDetail' threw the following exception:'Property <OriginalID> not set.']
   System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component) +390
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +84
   System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) +92
   System.Web.UI.DataBinder.Eval(Object container, String expression) +106
   System.Web.UI.TemplateControl.Eval(String expression) +40
   ASP.pages_productdetail_aspx.__DataBinding__control14(Object sender, EventArgs e) in e:\Hosting\be.vandenbroele\uitgeverij\CATALOGUS\ROOT\pages\productDetail.aspx:29
   System.Web.UI.Control.OnDataBinding(EventArgs e) +99
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +12
   System.Web.UI.WebControls.Repeater.DataBind() +75
   System.Web.UI.Control.DataBindChildren() +211
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +211
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +211
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +211
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102
   System.Web.UI.WebControls.FormView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +1461
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +57
   System.Web.UI.WebControls.FormView.PerformDataBinding(IEnumerable data) +12
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +114
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +31
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
   System.Web.UI.WebControls.FormView.DataBind() +4
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
   System.Web.UI.WebControls.FormView.EnsureDataBound() +166
   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +72
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.WebControls.CompositeDataBoundControl.get_Controls() +15
   GGVDB.PageLib.cHtmlForm.ConvertControlUrls(ControlCollection pControlCollection) +1127
   GGVDB.PageLib.cHtmlForm.ConvertControlUrls(ControlCollection pControlCollection) +1135
   GGVDB.PageLib.cHtmlForm.ConvertControlUrls(ControlCollection pControlCollection) +1135
   GGVDB.PageLib.cHtmlForm.ConvertControlUrls(ControlCollection pControlCollection) +1135
   GGVDB.PageLib.cMasterPage.Render(HtmlTextWriter writer) +69
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


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