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: 10
Members Members: 3
Total Total: 13

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

ClearCanvas Community Forums

C-FIND SCU not working
Last Post 2010-08-16 01:41 AM by vuong0601. 5 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
carlosalbertomst
New Member
New Member
Posts:5

--
2009-07-15 01:39 PM  

Hi,

 

I'm running the dcm4chee image server in my own machine. His AETitle is "DCM4CHEE", IP is "127.0.0.1" (localhost) and port is "11112". It works properly through dcm4che toolkit utilities and web interface.

 

I'm trying to query this server with the desktop application I'm developing using ClearCanvas DICOM Toolkit. The code (based on ClearCanvas source code) is:

FindScuBase findScu = new PatientRootFindScu();
PatientQueryIod patientQueryIod = new PatientQueryIod();
patientQueryIod.SetCommonTags();

IList results = findScu.Find("TEST", "DCM4CHEE", "127.0.0.1", 11112, patientQueryIod);

 

But  this code throws an exception in:

- method: Connect()

- class: ScuBase

 

Does somebody know what it can be?

 

Thanks!

dblanchard
Senior Member
Senior Member
Posts:185

--
2009-07-15 01:44 PM  
carlos, can you give more info about the exception? it is hard to diagnose without more info.
carlosalbertomst
New Member
New Member
Posts:5

--
2009-07-15 01:59 PM  

Hi dan,

The exception is: "ClearCanvas.Common.PluginException : No plugins could be found."

It can't connect to the server.

 

Thanks!

dblanchard
Senior Member
Senior Member
Posts:185

--
2009-07-15 02:21 PM  
Carlos that is an issue with the Plugins. There was a thread out about this a month or so ago. I can't find it. I ended up commenting out some code in Common.PluginManager. Apparantly this was not fixed... maybe someone else can shed some light?

I believe I commented out this in that file:
LoadPlugins():
..
// If no plugins could be loaded, throw a fatal exception
// if (_plugins.Count == 0)
// throw new PluginException(SR.ExceptionUnableToLoadPlugins);


private string[] FindPlugins(string path)
catch (Exception e)
{
Platform.Log(LogLevel.Error,e);
//throw; // TH (Oct 5, 2007) replaced "throw e" with "throw". "throw e" produces a new exception stack. We want to know where the original exception occurs instead
}

...
//if (pluginFiles == null || pluginFiles.Length == 0)
// throw new PluginException(SR.ExceptionNoPluginsFound);

stewart
Senior Member
Senior Member
Posts:2032

--
2009-07-16 10:55 AM  
Carlos, can you provide a list of the files your application uses and the directory structure?

Thanks,
Stewart
Real-time support available to Clinical Edition and Team Edition customers
vuong0601
New Member
New Member
Posts:1

--
2010-08-16 01:41 AM  
Hi
You are not authorized to post a reply.

Active Forums 4.1
Copyright 2011 ClearCanvas Inc.