Server Error in '/' Application.

Can't load object of type 'EasyWeb.Server.Model.EwSysObjectRelation' with key '120'

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: Zeus.Data.ZeusHiberException: Can't load object of type 'EasyWeb.Server.Model.EwSysObjectRelation' with key '120'

Source Error:


Line 14:         string id = Request.Params["Id"];
Line 15:         if (!string.IsNullOrEmpty(id)) {
Line 16:             SysObjectRelationInfo  doc = SysObjectRelationWebSiteInterface.RelationLoad(int.Parse(id));
Line 17:             Tuple<string, string, bool> fileInfo = DocumentsManager.GetDocumentFile(new EwObjectIdentifier(doc.ItemObject).ObjectIdAsGuid);
Line 18:             //throw new Exception(fileInfo.Item2);

Source File: w:\www\topin.cz\html\pages\GetDocument.aspx.cs    Line: 16

Stack Trace:


[ZeusHiberException: Can't load object of type 'EasyWeb.Server.Model.EwSysObjectRelation' with key '120']
   Zeus.Data.NHibernate.ManagerBase`2.GetById(TKey id) +299
   EasyWeb.Server.SysObjectRelationWebSiteInterface.RelationLoad(Int32 ewSysObjectRelationId) +116
   pages_GetDocument.Page_Load(Object sender, EventArgs e) in w:\www\topin.cz\html\pages\GetDocument.aspx.cs:16
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0