I have generated class using CSLA code generated and added new class to get the data but its throwing exception method not found when i added parameters. Following is stack trace.
Method not found: 'Csla.Data.SafeDataReader
XECOMIT.ERPByNet.DataAccessEntities.ProjectScheduleRevisionDA.Get(Int32)'.
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:
System.MissingMethodException: Method not found: 'Csla.Data.SafeDataReader
XECOMIT.ERPByNet.DataAccessEntities.ProjectScheduleRevisionDA.Get(Int32)'.
Source
Error:
Line 84: };
Line 85: RaiseListChangedEvents = true;
Line 86: }
Line 87:
Line 88: protected override void DataPortal_Update()
Source
File:
E:\ERPByNet\trunk\SVN_ERPByNet\BusinessEntities\Projects\ProjectScheduleRevisions.cs
Line: 86
Stack Trace:
[MissingMethodException: Method not found: 'Csla.Data.SafeDataReader XECOMIT.ERPByNet.DataAccessEntities.ProjectScheduleRevisionDA.Get(Int32)'.]
XECOMIT.ERPByNet.BusinessEntities.ProjectScheduleRevisions.DataPortal_Fetch(Criteria criteria) in E:\ERPByNet\trunk\SVN_ERPByNet\BusinessEntities\Projects\ProjectScheduleRevisions.cs:86
[CallMethodException: DataPortal_Fetch method call failed]
Csla.MethodCaller.CallMethod(Object obj, MethodInfo info, Object[] parameters) in D:\IQQMS\Csla\DataPortal\MethodCaller.cs:56
Csla.MethodCaller.CallMethod(Object obj, String method, Object[] parameters) in D:\IQQMS\Csla\DataPortal\MethodCaller.cs:37
Csla.Server.SimpleDataPortal.Fetch(Object criteria, DataPortalContext context) in D:\IQQMS\Csla\DataPortal\Server\SimpleDataPortal.cs:101
[DataPortalException: DataPortal.Fetch failed]
Csla.DataPortal.Fetch(Object criteria) in D:\IQQMS\Csla\DataPortal\Client\DataPortal.cs:173
Csla.DataPortal.Fetch(Object criteria) in D:\IQQMS\Csla\DataPortal\Client\DataPortal.cs:138
XECOMIT.ERPByNet.BusinessEntities.ProjectScheduleRevisions.GetProjectScheduleRevision(Int32 opportunityID) in E:\ERPByNet\trunk\SVN_ERPByNet\BusinessEntities\Projects\ProjectScheduleRevisions.cs:40
ManageScheduleRevisions.CreateScheduleRevisionVersionNodes(RadTreeNode OpportunityGroupItemNode) in e:\ERPByNet\trunk\SVN_ERPByNet\Applications\SalesPundit\ManageScheduleRevisions.aspx.cs:602
ManageScheduleRevisions.CreateNodesForGroupItem(RadTreeNode OpportunityNode) in e:\ERPByNet\trunk\SVN_ERPByNet\Applications\SalesPundit\ManageScheduleRevisions.aspx.cs:589
ManageScheduleRevisions.PopulateTreeView(RadTreeView treeView) in e:\ERPByNet\trunk\SVN_ERPByNet\Applications\SalesPundit\ManageScheduleRevisions.aspx.cs:570
ManageScheduleRevisions.BindTreeView() in e:\ERPByNet\trunk\SVN_ERPByNet\Applications\SalesPundit\ManageScheduleRevisions.aspx.cs:556
ManageScheduleRevisions.Page_Load(Object sender, EventArgs e) in e:\ERPByNet\trunk\SVN_ERPByNet\Applications\SalesPundit\ManageScheduleRevisions.aspx.cs:77
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
opps fixed issue. dll were not getting updated on build
pls close this ticket
Thanks
Copyright (c) Marimer LLC