WCF Service is giving faulted Exception
-
Hi friends, My WCF Service that's deployed is giving me the faulted Exception as below:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Loggedin User: DHSINTRA\AAleemMo
Error Message: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
Error Source: mscorlib
Error InnerException Message:
Error TargetSite: Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
Error StackTrace:
Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout)
at System.ServiceModel.ClientBase`1.System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout)
at DHCS.BH.Provider.WebApp.Common.WebAppLogger.LogError(String applicationName, String version, Exception exception, Nullable`1 dateTS, String appUsername, String nameSpace, String class, String method, Int32 enumPriority)
at DHCS.BH.Provider.WebApp.Filters.BHPRVAuthorizeAttribute.LoadUserAuthorizationDetails(AuthorizationContext filterContext, String userName)
at DHCS.BH.Provider.WebApp.Filters.BHPRVAuthorizeAttribute.OnAuthorization(AuthorizationContext filterContext)
at System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.b__0(AsyncCallback asyncCallback, Object asyncState)
Error Controller: LegalEntity
Error Action: ListLegalEntitiesI read online, they are suggesting to implement the WCF Extension class, but I am not in a stage to change the whole process or architecture again, is there any other solution that can help me please or is it really failing because of the timeout, any help a code snippet, a link or even a suggestion helps me a lot - thanks in advance my friends.
-
Hi friends, My WCF Service that's deployed is giving me the faulted Exception as below:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Loggedin User: DHSINTRA\AAleemMo
Error Message: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
Error Source: mscorlib
Error InnerException Message:
Error TargetSite: Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
Error StackTrace:
Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout)
at System.ServiceModel.ClientBase`1.System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout)
at DHCS.BH.Provider.WebApp.Common.WebAppLogger.LogError(String applicationName, String version, Exception exception, Nullable`1 dateTS, String appUsername, String nameSpace, String class, String method, Int32 enumPriority)
at DHCS.BH.Provider.WebApp.Filters.BHPRVAuthorizeAttribute.LoadUserAuthorizationDetails(AuthorizationContext filterContext, String userName)
at DHCS.BH.Provider.WebApp.Filters.BHPRVAuthorizeAttribute.OnAuthorization(AuthorizationContext filterContext)
at System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.b__0(AsyncCallback asyncCallback, Object asyncState)
Error Controller: LegalEntity
Error Action: ListLegalEntitiesI read online, they are suggesting to implement the WCF Extension class, but I am not in a stage to change the whole process or architecture again, is there any other solution that can help me please or is it really failing because of the timeout, any help a code snippet, a link or even a suggestion helps me a lot - thanks in advance my friends.
this exception means that you have some thing wrong n the server side and you cant use this channel any more see this page Help people,so poeple can help you.
-
this exception means that you have some thing wrong n the server side and you cant use this channel any more see this page Help people,so poeple can help you.
Is there anyway how can I find what is the Problem that I am having on Server Side, because the exception doesn't give me any specific reason to fix the problem. Please any help would be great-full my friend - thanks in advance.