no acceptable presentation contexts
Moderator: Moderator Team
no acceptable presentation contexts
good evening,
I am developing an application because I must find again a list of images in the archives remoto(pc1), to supply such list to pc2 and therefore such list to select file to send with storescu-storescp from the pc1 pc2.
I am using storescp and movescu in the pc2 and storescu in the pc1.
Activating storescp and movescu, he comes given to me like message "Not
acceptable Presentation Contexts", which can be the problem?
the text for storescp is: storescp.exe - v - d - or C:\DIR \ 104
while that one for movescu is: movescu.exe - v - d pc2 104 send.dcm
I am blocked with movescu because with the text
"movescu.exe - v -d pc2 104 send.dcm"
I do not succeed to interrogate the pc1
Please share your ideas on this problem
I am developing an application because I must find again a list of images in the archives remoto(pc1), to supply such list to pc2 and therefore such list to select file to send with storescu-storescp from the pc1 pc2.
I am using storescp and movescu in the pc2 and storescu in the pc1.
Activating storescp and movescu, he comes given to me like message "Not
acceptable Presentation Contexts", which can be the problem?
the text for storescp is: storescp.exe - v - d - or C:\DIR \ 104
while that one for movescu is: movescu.exe - v - d pc2 104 send.dcm
I am blocked with movescu because with the text
"movescu.exe - v -d pc2 104 send.dcm"
I do not succeed to interrogate the pc1
Please share your ideas on this problem
-
- DCMTK Developer
- Posts: 2072
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: no acceptable presentation contexts
Hi f_lopic,
The movescu will print out a list of presentation contexts, he proposes to the scp. In the log messages of storescp you should see the same list too (as it arrives at the scp). Additionally, storescp prints out, which of these presentation contexts he accepts towards movescu.
Your error should indicate, that both applications did not find a common presentation context, so the file cannot be transmitted, but look into your log messages to find out more. You might try the exisiting "prefer" and "propose" options to establish a connection. Perhaps the send.dcm file you are sending uses a SOP class, both applications can't handle.
Regards,
Michael
This means, that both applications were not able to find a common presentation context (abstract syntax + transfer syntax) for the transmission of the file. When using the "-v" option of both tools (as you did), you should see what's happening.f_lopic wrote: Activating storescp and movescu, he comes given to me like message "Not
acceptable Presentation Contexts", which can be the problem?
The movescu will print out a list of presentation contexts, he proposes to the scp. In the log messages of storescp you should see the same list too (as it arrives at the scp). Additionally, storescp prints out, which of these presentation contexts he accepts towards movescu.
Your error should indicate, that both applications did not find a common presentation context, so the file cannot be transmitted, but look into your log messages to find out more. You might try the exisiting "prefer" and "propose" options to establish a connection. Perhaps the send.dcm file you are sending uses a SOP class, both applications can't handle.
Regards,
Michael
Dear mr Onken,
I have followed its indications changing the values of "prefer" and "propose" is of storescp that of movescu without having no result, I obtain always Not the Acceptable Presentation Contexts, I I have unloaded the new version of library dcmtk 3.5.4 and have also created the archives of images using the module dcmqrdb but I have not obtained no result, what I can make in order to resolve my problem?I could make an example or indicate the values specifically to change?
please help me francesco
I have followed its indications changing the values of "prefer" and "propose" is of storescp that of movescu without having no result, I obtain always Not the Acceptable Presentation Contexts, I I have unloaded the new version of library dcmtk 3.5.4 and have also created the archives of images using the module dcmqrdb but I have not obtained no result, what I can make in order to resolve my problem?I could make an example or indicate the values specifically to change?
please help me francesco
-
- DCMTK Developer
- Posts: 2072
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
-
- DCMTK Developer
- Posts: 2072
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Okay, these shouldn't be the problem.
If you are using the "-v" option on both sides of the connection (storescp and movescu) you should be able to see, what presentation contexts are proposed and which are accepted. From this list you should be able to draw conclusions about the problem.
If you want to, mail me a message (NO-onken-SPAM@offis.de) with the logs of both calls (with -v) and if I've got some time, I'll take a look. But I can't promise you
First, please examine the logs and try to fix the problem by yourself.
Regards
Michael
If you are using the "-v" option on both sides of the connection (storescp and movescu) you should be able to see, what presentation contexts are proposed and which are accepted. From this list you should be able to draw conclusions about the problem.
If you want to, mail me a message (NO-onken-SPAM@offis.de) with the logs of both calls (with -v) and if I've got some time, I'll take a look. But I can't promise you
First, please examine the logs and try to fix the problem by yourself.
Regards
Michael
-
- DCMTK Developer
- Posts: 2072
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Hi Francesco,
i just recognized (late..., I've never really used movescu before, sorry), that you're using the wrong program (movescu) for your purposes. As I see, you just want to transmit some images over the network. movescu is implementing C-MOVE, which (as said an 4.2 of part 4 of the standard) does the following:
You simply should use the tool storescu instead of movescu, e.g.
Hope this helps and I am right with my explanations
Good luck,
Michael
i just recognized (late..., I've never really used movescu before, sorry), that you're using the wrong program (movescu) for your purposes. As I see, you just want to transmit some images over the network. movescu is implementing C-MOVE, which (as said an 4.2 of part 4 of the standard) does the following:
So movescu is asking a second host to send images to a third host (or send it to the movescu host itself). On the host _you_ call, storescp is running, which can only accept images (it implements an STORE SCP) but cannot send some. You could use a movescu on both sides, but that's not the thing you want to do, if I understand you correctly.The C-MOVE operation allows an application entity to instruct another application entity to transfer stored SOP Instances to another application entity using the C-STORE operation.
You simply should use the tool storescu instead of movescu, e.g.
Code: Select all
storescu -aec STORESCP 127.0.0.1 104 send.dcm
Good luck,
Michael
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 0 guests