After I built CC RIS, I login from client, I have the login failure that "A communication error occured while attempting to contact the server." I checked the log file and find the following Exeception, please give me advice to resolve this problem. Thanks.
2009-08-26 19:45:03,889 [1] INFO - Using session manager extension: ClearCanvas.Ris.Client.SessionManager
2009-08-26 19:45:31,796 [1] ERROR - Exception thrown
System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.System.IDisposable.Dispose()
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.IDisposable.Dispose()
at ClearCanvas.Enterprise.Common.RemoteServiceProviderBase.DisposableInterceptor.Intercept(IInvocation invocation, Object[] args)
at ClearCanvas.Enterprise.Common.AopInterceptorChain.NextInterceptor(Int32 level, IInvocation rootInvocation, Object[] args)
at ClearCanvas.Enterprise.Common.AopInterceptorChain.Intercept(IInvocation invocation, Object[] args)
at ProxyInterfaceLoginClearCanvas_Ris_Application_Common_LoginILoginService_ClearCanvas_Ris_Application_Common_LoginILoginService_SystemIDisposable_ClearCanvas_Enterprise_CommonIRemoteServiceProxy_System_Runtime_SerializationISerializable.Dispose()
at ClearCanvas.Common.Platform.GetService[TService](WithServiceDelegate`1 proc)
2009-08-26 19:45:31,811 [1] ERROR - Exception thrown
System.ServiceModel.FaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at ClearCanvas.Enterprise.Common.FailoverClientAdvice.ThrowIfFailoverNotApplicable(Exception e)
at ClearCanvas.Enterprise.Common.FailoverClientAdvice.Intercept(IInvocation invocation, Object[] args)
at ClearCanvas.Enterprise.Common.AopInterceptorChain.NextInterceptor(Int32 level, IInvocation rootInvocation, Object[] args)
at ClearCanvas.Enterprise.Common.AopInterceptorChain.IntermediateInvocation.Proceed(Object[] args)
at ClearCanvas.Enterprise.Common.RemoteServiceProviderBase.DisposableInterceptor.Intercept(IInvocation invocation, Object[] args)
at ClearCanvas.Enterprise.Common.AopInterceptorChain.NextInterceptor(Int32 level, IInvocation rootInvocation, Object[] args)
at ClearCanvas.Enterprise.Common.AopInterceptorChain.Intercept(IInvocation invocation, Object[] args)
at ProxyInterfaceLoginClearCanvas_Ris_Application_Common_LoginILoginService_ClearCanvas_Ris_Application_Common_LoginILoginService_SystemIDisposable_ClearCanvas_Enterprise_CommonIRemoteServiceProxy_System_Runtime_SerializationISerializable.Login(LoginRequest request)
at ClearCanvas.Ris.Client.LoginSession.<>c__DisplayClass2.b__0(ILoginService service)
at ClearCanvas.Common.Platform.GetService[TService](WithServiceDelegate`1 proc)
at ClearCanvas.Ris.Client.LoginSession.Create(String userName, String password, FacilitySummary facility)
at ClearCanvas.Ris.Client.SessionManager.Login(LoginDialogMode mode, String userName, String facility)