Thursday, February 09, 2012
Google Custom Search

ClearCanvas Highlights

Download our Open Source software
Watch some Videos
Get the Source
Check out our Licensing
Join our  Forums
Some Research: OICR IPP-Trials

Our Community

Membership Membership:
Latest New User Latest: VMCCNY
New Today New Today: 18
New Yesterday New Yesterday: 26
User Count Overall: 20581

People Online People Online:
Visitors Visitors: 13
Members Members: 3
Total Total: 16

Online Now Online Now:
01: okdicom
02: ednfran
03: sfrank

ClearCanvas Community Forums

Login failure
Last Post 2010-01-06 05:52 AM by rameshdotv. 9 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
ivanzh
New Member
New Member
Posts:6

--
2009-08-27 03:16 AM  

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)



resnickj
Senior Member
Senior Member
Posts:968

--
2009-08-27 11:23 AM  
Unfortunately that exception doesn't give us much information. Can you look at the server-side log file and post that exception instead?


Real-time support available to Clinical Edition and Team Edition customers
ivanzh
New Member
New Member
Posts:6

--
2009-08-28 01:19 AM  
Hello, Jonathan,

The server-side log of exeception as follows:


The entity was not found.
ClearCanvas.Enterprise.Hibernate
at ClearCanvas.Enterprise.Hibernate.EntityBroker`2.FindOne(TSearchCriteria criteria)
at ClearCanvas.Enterprise.Configuration.ConfigurationService.ListSettingsProperties(ListSettingsPropertiesRequest request)
at ProxyInterfaceConfigurationClearCanvas_Enterprise_ConfigurationConfigurationService_ClearCanvas_Enterprise_Common_ConfigurationIConfigurationService_System_Runtime_SerializationISerializable.callback__ListSettingsProperties(ListSettingsPropertiesRequest )
at ProxyInterfaceConfigurationClearCanvas_Enterprise_ConfigurationConfigurationService_ClearCanvas_Enterprise_Common_ConfigurationIConfigurationService_System_Runtime_SerializationISerializable.__delegate_2.Call(Object[] )
at Castle.DynamicProxy.Invocation.AbstractInvocation.Proceed(Object[] args)
at ClearCanvas.Enterprise.Core.AopInterceptorChain.NextInterceptor(Int32 level, IInvocation rootInvocation, Object[] args)
at ClearCanvas.Enterprise.Core.AopInterceptorChain.IntermediateInvocation.Proceed(Object[] args)
at ClearCanvas.Enterprise.Core.AuditAdvice.Intercept(IInvocation invocation, Object[] args)
at ClearCanvas.Enterprise.Core.AopInterceptorChain.NextInterceptor(Int32 level, IInvocation rootInvocation, Object[] args)
at ClearCanvas.Enterprise.Core.AopInterceptorChain.IntermediateInvocation.Proceed(Object[] args)
at ClearCanvas.Enterprise.Core.PersistenceContextAdvice.Intercept(IInvocation invocation, Object[] args)
at ClearCanvas.Enterprise.Core.AopInterceptorChain.NextInterceptor(Int32 level, IInvocation rootInvocation, Object[] args)
at ClearCanvas.Enterprise.Core.AopInterceptorChain.Intercept(IInvocation invocation, Object[] args)
at ProxyInterfaceConfigurationClearCanvas_Enterprise_ConfigurationConfigurationService_ClearCanvas_Enterprise_Common_ConfigurationIConfigurationService_System_Runtime_SerializationISerializable.ListSettingsProperties(ListSettingsPropertiesRequest request)
at ClearCanvas.Enterprise.Common.EnterpriseSettingsStore.<>c__DisplayClassd.b__c(IConfigurationService service)
at ClearCanvas.Common.Platform.GetService[TService](WithServiceDelegate`1 proc)
at ClearCanvas.Enterprise.Common.EnterpriseSettingsStore.ListSettingsProperties(SettingsGroupDescriptor group)
at ClearCanvas.Enterprise.Common.EnterpriseSettingsStore.PutSettingsValues(SettingsGroupDescriptor group, String user, String instanceKey, Dictionary`2 dirtyValues)
at ClearCanvas.Common.Configuration.SettingsStoreSettingsProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection settings)
at ClearCanvas.Common.Configuration.StandardSettingsProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection settings)
at System.Configuration.SettingsBase.SaveCore()
at System.Configuration.SettingsBase.Save()
at System.Configuration.ApplicationSettingsBase.Save()
at ClearCanvas.Ris.Application.Services.Login.LoginService.UpdateWorkingFacility(EntityRef facilityRef)
at ClearCanvas.Ris.Application.Services.Login.LoginService.Login(LoginRequest request)
at ProxyInterfaceLoginClearCanvas_Ris_Application_Services_LoginLoginService_ClearCanvas_Ris_Application_Common_LoginILoginService_System_Runtime_SerializationISerializable.callback__Login(LoginRequest )
at ProxyInterfaceLoginClearCanvas_Ris_Application_Services_LoginLoginService_ClearCanvas_Ris_Application_Common_LoginILoginService_System_Runtime_SerializationISerializable.__delegate_1.Call(Object[] )
at Castle.DynamicProxy.Invocation.AbstractInvocation.Proceed(Object[] args)
at ClearCanvas.Enterprise.Core.AopInterceptorChain.NextInterceptor(Int32 level, IInvocation rootInvocation, Object[] args)
at ClearCanvas.Enterprise.Core.AopInterceptorChain.IntermediateInvocation.Proceed(Object[] args)
at ClearCanvas.Enterprise.Core.AuditAdvice.Intercept(IInvocation invocation, Object[] args)
at ClearCanvas.Enterprise.Core.AopInterceptorChain.NextInterceptor(Int32 level, IInvocation rootInvocation, Object[] args)
at ClearCanvas.Enterprise.Core.AopInterceptorChain.IntermediateInvocation.Proceed(Object[] args)
at ClearCanvas.Enterprise.Core.PersistenceContextAdvice.Intercept(IInvocation invocation, Object[] args)
at ClearCanvas.Enterprise.Core.AopInterceptorChain.NextInterceptor(Int32 level, IInvocation rootInvocation, Object[] args)
at ClearCanvas.Enterprise.Core.AopInterceptorChain.IntermediateInvocation.Proceed(Object[] args)
at ClearCanvas.Enterprise.Core.ExceptionLoggingAdvice.Intercept(IInvocation invocation, Object[] args)]]>

', @p9 = 'ClearCanvas.Enterprise.Hibernate, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null', @p10 = 'E:\CC1.5\Snapshot\RisViewer1.5\Ris\Server\Executable\bin\Debug\plugins\ClearCanvas.Enterprise.Hibernate.dll', @p11 = '195234fd-7817-497d-b5ae-9c7300da4732'


resnickj
Senior Member
Senior Member
Posts:968

--
2009-08-28 12:15 PM  

This is a setup problem, as discussed in this thread:

http://www.clearcanvas.ca/dnn/Commu...aspx#15075


Real-time support available to Clinical Edition and Team Edition customers
ivanzh
New Member
New Member
Posts:6

--
2009-08-29 10:55 AM  
Thank you very much.


rameshdotv
Basic Member
Basic Member
Posts:27

--
2009-12-30 02:34 AM  
hi

i am setting up the source code of RIS client. i am trying to connect RIS server binary.after login application stops running. when i track through with breakpoint
i got the following error

The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

when the following line execution i am getting the error.

string sharedDocument = service.GetConfigurationDocument(
new GetConfigurationDocumentRequest(
new ConfigurationDocumentKey(group.Name, group.Version, null, instanceKey))).Content;

this line placed in GetSettingsValues function in EnterpriseSettingStore.cs in ClearCanvas.Enterprise.Common.

when i step into this getconfigurationdocument by pressing F11 it goes to

public void Intercept(IInvocation invocation)
{
try
{
// attempt to call the default service object
invocation.Proceed();
}
catch (Exception e)
{
// rethrow if we can't fail-over on this exception
ThrowIfFailoverNotApplicable(e);

// attempt failover
DoFailover(invocation, e);
}
}

in failoverclientadvice.cs . after executing invocation.Proceed(); i got THE USER NAME CANNOT BE BLANK

Please let me know how to resolve this issue ?

i confirmed that login is happening. i tested with some wrong user name password then it shows access denied user name or password wrong

Thanks & Regards

V.Ramesh


resnickj
Senior Member
Senior Member
Posts:968

--
2010-01-04 01:30 PM  
Hi,
Unfortunately the information you have provided does not help us diagnose the problem. I have searched our codebase for an error message similar to "THE USER NAME CANNOT BE BLANK" and it doesn't exist. The only thing I can recommend is to ensure you have followed the setup directions carefully.


Real-time support available to Clinical Edition and Team Edition customers
rameshdotv
Basic Member
Basic Member
Posts:27

--
2010-01-05 12:17 AM  

hi resnickj,

thanks for your reply.

Actually i have installed RIS server Exe. also i installed workstation with RIS client & imageviewer. this all are working fine. no issues.


now i am trying to connect my RIS client source code to the above installed RIS server. here only i am getting problem.

i feel the functions

service.GetConfigurationDocument(
new GetConfigurationDocumentRequest(
new ConfigurationDocumentKey(group.Name, group.Version, null, instanceKey))).Content

this may be reading some settings from some XML file from that sampledata folder of RIS server.
may be the asp.net user does not have rights to access the file. i set the rights manually. still i am getting same problem.
i am net seeing any logs from the executable project's bin/obj directory.

i have attached the log file of RIS

i am fighting with this problem for last 2 weeks . still i didn't get any soultion

please any body help me

Thanks & Regards

V Ramesh


Attachment: 001_ClearCanvasRIS.log

resnickj
Senior Member
Senior Member
Posts:968

--
2010-01-05 11:35 AM  
Hi,

In that case, I suspect the problem is due to incompatability between versions. What version of the product did you install, and what version of the RIS client source code are you working with?


Real-time support available to Clinical Edition and Team Edition customers
rameshdotv
Basic Member
Basic Member
Posts:27

--
2010-01-06 05:52 AM  
hi,

thanks for reply.

the got some working source code from my friend now i can able to login.
but now in admin menu if i click user the i got message box user name cannot blank.
when i click authoritygrop in admin menu also getting same error.
but i can able to open the user,autthority group from my binary exe.
also if i edit this administrators authority group and check the desktop & viewer through binaries and then i try to log in from source i got the following error.

An error occurred while performing the study root query

Could not find default endpoint element that references contract 'ILocalDataStoreActivityMonitorService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.

please help me out how to proceed ?

Thanks & Regards

Ramesh


You are not authorized to post a reply.

Active Forums 4.1
Copyright 2011 ClearCanvas Inc.