Friends, I'm getting this error message and I do not know how to solve it, I've never seen this before.
The following error message is displayed:
SDPJ-V3.1.0 \ SDPJ-102 \ SDPJDomain \ DataAccess \ ProcessInterestData.O.cs: line 41 In SDPJDomain.DataAccess.InteraseDataO.InsertOrUpdate (ProcessInteratedDoc type) in D: \ SVN \ SDP \ SDPJ \ in SDPJDominio.APL.AplProcessInterest.save (Process InterestedInterested process) in D: \ SVN \ SDP \ SDPJ \ branches \ SDPJ-V3.1.0 \ SDPJ-102 \ SDPJDomain \ APL \ AplProcessInterest.cs: line 15 in SDPJView.ImportProcessView.ImportProcess.Import_Click (Object sender, EventArgs e) in D: \ SVN \ SDP \ SDPJ \ branches \ SDPJ-V3.1.0 \ SDPJ-102 \ SDPJView \ ImportProcessView \ ImportProcess.aspx.cs: line 158 in System.Web.UI.WebControls.Button.OnClick (EventArgs and) in System.Web.UI.WebControls.Button.RaisePostBackEvent (String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (String eventArgument) in System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, String eventArgument) in System.Web.UI.Page.RaisePostBackEvent (NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I am new here and new to the programming world and have never witnessed this.
//Regarding the Process InterestsData.cs: line 41
public static void InsertOrUpdate(ProcessInterested typeDoc)
{
ISession session = NhibernateHelper.CurrentSession;
ITransaction transaction = session.BeginTransaction();
try
{
session.Clear();
session.SaveOrUpdate(typeDoc);
transaction.Commit();
}
catch (Exception e)
{
transaction.Rollback();
throw new Exception(e.ToString());
}
}
//Regarding Interacted Application: line 15
public class AplProcessedInterests
{
public void save(ProcessInterested processInterested)
{
ProcessInterestedDAO.InsertOrUpdate(processInterested);
}
}
//Regarding ImportProcessView \ ImportProcess.aspx.cs: line 158
if (WriteProcInter.Count! = 0)
{
foreach (ProcessInterested item in listRecordProcInter)
{
aplProcessInterested.save (item);
}
}