Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08102207409 --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08103146642 --------------------------------------------------------------------------------------------------- Message :User Name : hyderabad --------------------------------------------------------------------------------------------------- Message :User Name : hyderabad --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08103319457 --------------------------------------------------------------------------------------------------- Message :User Name : hyderabad --------------------------------------------------------------------------------------------------- Message :User Name : hyderabad --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08103441318 --------------------------------------------------------------------------------------------------- Message :User Name : hyderabad --------------------------------------------------------------------------------------------------- Message :User Name : hyderabad --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08104045080 --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08104605117 --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08112441421 --------------------------------------------------------------------------------------------------- Message :User Name : kolkata --------------------------------------------------------------------------------------------------- Message :User Name : kolkata --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08113740879 --------------------------------------------------------------------------------------------------- Message :User Name : kolkata --------------------------------------------------------------------------------------------------- Message :User Name : kolkata --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08114335859 --------------------------------------------------------------------------------------------------- Message :User Name : chennai --------------------------------------------------------------------------------------------------- Message :User Name : chennai --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08114507252 --------------------------------------------------------------------------------------------------- Message :User Name : harshita --------------------------------------------------------------------------------------------------- Message :User Name : harshita --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08115016441 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08123624824 --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08123900872 --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Error At Datetime : 08/01/2019 1:09:32 PM Error Description : at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at WCFCMOnlineAppSrvc.CMOnlineAppSrvc.CMOBLLLoginDetailsCMonlineGet(Int16 DeviceType, Decimal logindetailid, Decimal userMasterId, String conn) Error Message :Exception has been thrown by the target of an invocation. Inner exception :System.InvalidOperationException: ExecuteScalar requires an open and available Connection. The connection's current state is closed. at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at CorporateMunim.Business.Logic.DataAccess.DALDatabaseFunctions.ExecuteScalar(String[] sessionInfo) in e:\Programmers\Bamroliya Paresh\CM_Ver_6\CorporateMunim\CMDataAccessLayer\CMDataAccessLayer\DALDatabaseFunctions.cs:line 1046 at CorporateMunim.Business.Logic.DataAccess.DALLoginDetails.CMonlineGet(Int16 DeviceType, Decimal LoginDetailsId, Decimal userMasterId, String[] sessionInfo) in e:\Programmers\Bamroliya Paresh\CM_Ver_6\CorporateMunim\CMDataAccessLayer\CMDataAccessLayer\DALLoginDetails.cs:line 276 at CorporateMunim.Business.Logic.BLLLoginDetails.CMonlineGet(Int16 DeviceType, Decimal LoginDetailsId, Decimal userMasterId, String[] sessionInfo) in e:\Programmers\Bamroliya Paresh\CM_Ver_6\CorporateMunim\CMBusinessLayer\CMBusinessLayer\BLLLoginDetails.cs:line 238 Error Type :TargetInvocationException Error Source :mscorlib --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08140605984 --------------------------------------------------------------------------------------------------- Message :User Name : KOLKATA --------------------------------------------------------------------------------------------------- Message :User Name : KOLKATA --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08140943618 --------------------------------------------------------------------------------------------------- Message :User Name : KOLKATA --------------------------------------------------------------------------------------------------- Message :User Name : KOLKATA --------------------------------------------------------------------------------------------------- Error At Datetime : 08/01/2019 2:15:03 PM Error Description : at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at WCFCMOnlineAppSrvc.CMOnlineAppSrvc.CMOBLLLoginDetailsCMonlineGet(Int16 DeviceType, Decimal logindetailid, Decimal userMasterId, String conn) Error Message :Exception has been thrown by the target of an invocation. Inner exception :System.InvalidOperationException: ExecuteScalar requires an open and available Connection. The connection's current state is closed. at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at CorporateMunim.Business.Logic.DataAccess.DALDatabaseFunctions.ExecuteScalar(String[] sessionInfo) in e:\Programmers\Bamroliya Paresh\CM_Ver_6\CorporateMunim\CMDataAccessLayer\CMDataAccessLayer\DALDatabaseFunctions.cs:line 1046 at CorporateMunim.Business.Logic.DataAccess.DALLoginDetails.CMonlineGet(Int16 DeviceType, Decimal LoginDetailsId, Decimal userMasterId, String[] sessionInfo) in e:\Programmers\Bamroliya Paresh\CM_Ver_6\CorporateMunim\CMDataAccessLayer\CMDataAccessLayer\DALLoginDetails.cs:line 276 at CorporateMunim.Business.Logic.BLLLoginDetails.CMonlineGet(Int16 DeviceType, Decimal LoginDetailsId, Decimal userMasterId, String[] sessionInfo) in e:\Programmers\Bamroliya Paresh\CM_Ver_6\CorporateMunim\CMBusinessLayer\CMBusinessLayer\BLLLoginDetails.cs:line 238 Error Type :TargetInvocationException Error Source :mscorlib --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08150905399 --------------------------------------------------------------------------------------------------- Message :User Name : harshita --------------------------------------------------------------------------------------------------- Message :User Name : harshita --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08153912547 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08155346132 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08155606646 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08155857806 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08155939533 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08164517494 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08164843318 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08165528077 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08165932298 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08170251479 --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08170508616 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08171216501 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08171608268 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08172036136 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08173427884 --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08173556512 --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :User Name : delhi --------------------------------------------------------------------------------------------------- Message :Start Report Genrating --------------------------------------------------------------------------------------------------- Message :Report Parametr File Name : Report_2019-01-08174100263 --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Message :User Name : CHANDIGARH --------------------------------------------------------------------------------------------------- Error At Datetime : 08/01/2019 6:01:13 PM Error Description : at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at WCFCMOnlineAppSrvc.CMOnlineAppSrvc.CMOBLLLoginDetailsCMonlineGet(Int16 DeviceType, Decimal logindetailid, Decimal userMasterId, String conn) Error Message :Exception has been thrown by the target of an invocation. Inner exception :System.NullReferenceException: Object reference not set to an instance of an object. at CorporateMunim.Business.Logic.DataAccess.DALLoginDetails.CMonlineGet(Int16 DeviceType, Decimal LoginDetailsId, Decimal userMasterId, String[] sessionInfo) in e:\Programmers\Bamroliya Paresh\CM_Ver_6\CorporateMunim\CMDataAccessLayer\CMDataAccessLayer\DALLoginDetails.cs:line 276 at CorporateMunim.Business.Logic.BLLLoginDetails.CMonlineGet(Int16 DeviceType, Decimal LoginDetailsId, Decimal userMasterId, String[] sessionInfo) in e:\Programmers\Bamroliya Paresh\CM_Ver_6\CorporateMunim\CMBusinessLayer\CMBusinessLayer\BLLLoginDetails.cs:line 238 Error Type :TargetInvocationException Error Source :mscorlib --------------------------------------------------------------------------------------------------- Error At Datetime : 08/01/2019 6:01:14 PM Error Description : at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at WCFCMOnlineAppSrvc.CMOnlineAppSrvc.CMOBLLLoginDetailsTransactionUpdateLoginDetailsTransaction(Decimal userMasterId, Int16 DeviceType, Int16 AbnormalTermination, Int16 formId, String conn) Error Message :Exception has been thrown by the target of an invocation. Inner exception :System.NullReferenceException: Object reference not set to an instance of an object. at CorporateMunim.Business.Logic.DataAccess.DALLoginDetailsTransaction.UpdateLoginDetailsTransaction(Decimal userMasterId, Int16 DeviceType, Int16 AbnormalTermination, Int16 FormId, String[] sessionInfo) in e:\Programmers\Bamroliya Paresh\CM_Ver_6\CorporateMunim\CMDataAccessLayer\CMDataAccessLayer\DALLoginDetailsTransaction.cs:line 202 at CorporateMunim.Business.Logic.BLLLoginDetailsTransaction.UpdateLoginDetailsTransaction(Decimal userMasterId, Int16 DeviceType, Int16 AbnormalTermination, Int16 FormId, String[] sessionInfo) in e:\Programmers\Bamroliya Paresh\CM_Ver_6\CorporateMunim\CMBusinessLayer\CMBusinessLayer\BLLLoginDetailsTransaction.cs:line 139 Error Type :TargetInvocationException Error Source :mscorlib --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 --------------------------------------------------------------------------------------------------- Error At Datetime : 08/01/2019 6:11:33 PM Error Description : at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at WCFCMOnlineAppSrvc.CMOnlineAppSrvc.CMOBLLLoginDetailsCMonlineGet(Int16 DeviceType, Decimal logindetailid, Decimal userMasterId, String conn) Error Message :Exception has been thrown by the target of an invocation. Inner exception :System.InvalidOperationException: ExecuteScalar requires an open and available Connection. The connection's current state is closed. at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at CorporateMunim.Business.Logic.DataAccess.DALDatabaseFunctions.ExecuteScalar(String[] sessionInfo) in e:\Programmers\Bamroliya Paresh\CM_Ver_6\CorporateMunim\CMDataAccessLayer\CMDataAccessLayer\DALDatabaseFunctions.cs:line 1046 at CorporateMunim.Business.Logic.DataAccess.DALLoginDetails.CMonlineGet(Int16 DeviceType, Decimal LoginDetailsId, Decimal userMasterId, String[] sessionInfo) in e:\Programmers\Bamroliya Paresh\CM_Ver_6\CorporateMunim\CMDataAccessLayer\CMDataAccessLayer\DALLoginDetails.cs:line 276 at CorporateMunim.Business.Logic.BLLLoginDetails.CMonlineGet(Int16 DeviceType, Decimal LoginDetailsId, Decimal userMasterId, String[] sessionInfo) in e:\Programmers\Bamroliya Paresh\CM_Ver_6\CorporateMunim\CMBusinessLayer\CMBusinessLayer\BLLLoginDetails.cs:line 238 Error Type :TargetInvocationException Error Source :mscorlib --------------------------------------------------------------------------------------------------- Message :Inside companygroup service.. --------------------------------------------------------------------------------------------------- Message :count of Companygroup:13 ---------------------------------------------------------------------------------------------------