Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on study query #5

Closed
dglecons opened this issue Aug 25, 2016 · 4 comments
Closed

error on study query #5

dglecons opened this issue Aug 25, 2016 · 4 comments

Comments

@dglecons
Copy link

question on the dicom cloud project
i get this error on study query from the demo project to cloud application
An exception of type 'System.TypeInitializationException' occurred in DICOMcloud.Wado.Core.dll but was not handled in user code
Additional information: The type initializer for 'DICOMcloud.Wado.Core.DefaultDicomQueryElements' threw an exception.

@Zaid-Safadi
Copy link
Owner

The exception seems to be happening in the static constructor of the class "DefaultDicomQueryElements".
The only thing that is happening there is initializing a template DicomDataset with empty elements, which leads me to think it is something with the Dicom toolkit.

I'll need to get some information to assist you with this:
Are you hosting your own server or using the online hosted server?
Does the query fail on the hosted version?

Which branch of the server are you testing with, fo-dicom-integration or master?

For the fo-dicom-integration please make sure you are using the Dicom libraries in the resources "Resources/Bin" folder:
Dicom.Core.dll
Dicom.Platform.dll
Dicom.Native.dll/Dicom.Native64.dll

For the master branch, use the ClearCanvas dlls:

  1. ClearCanvas.Dicom.dll
  2. ClearCanvas.Common.dll

If using the above fixes your problem, please let me know the Dicom toolkit version number you are using causing the error. Otherwise, provide me with any instructions to help me reproduce.

@dglecons
Copy link
Author

with clearcanvas verison i am not getting this error.right now i am using
this to proceed.
it happens only with fodicom version.

i have not hosted so far..i was just checking and running both client and
server in my test pc.

On 26 August 2016 at 08:35, Xeos notifications@github.com wrote:

The exception seems to be happening in the static constructor of the class
"DefaultDicomQueryElements".
The only thing that is happening there is initializing a template
DicomDataset with empty elements, which leads me to think it is something
with the Dicom toolkit.

I'll need to get some information to assist you with this:
Are you hosting your own server or using the online hosted server?
Does the query fail on the hosted version?

Which branch of the server are you testing with, fo-dicom-integration or
master?

For the fo-dicom-integration please make sure you are using the Dicom
libraries in the resources "Resources/Bin" folder:
Dicom.Core.dll
Dicom.Platform.dll
Dicom.Native.dll/Dicom.Native64.dll

For the master branch, use the ClearCanvas dlls:

  1. ClearCanvas.Dicom.dll
  2. ClearCanvas.Common.dll

If using the above fixes your problem, please let me know the Dicom
toolkit version number you are using causing the error. Otherwise, provide
me with any instructions to help me reproduce.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQnxvXJ_n2iLXx5CAfgVSLBh8xRJQ3yQks5qjlfrgaJpZM4JtAbB
.

@Zaid-Safadi
Copy link
Owner

This should also work with fo-dicom dll that I have in my resources\bin folder. The version that I have is an update to fo-dicom v2.0 but < 3.0. Once v3.0 is released I'll update the project to use that.
The fo-dicom is what I'm basing bug fixes and future updates on. ClearCanvase is a reference only for such cases.

@Zaid-Safadi
Copy link
Owner

@dglecons I'm closing this ticket for now, if you still running into issues please let me know.

I also have now a new branch "development" that is updated with the latest fo-dicom v3 pre release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants