How can DIMSE_storeProvider() fail?

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
AlreadyGoogled
Posts: 17
Joined: Wed, 2005-01-26, 16:43

How can DIMSE_storeProvider() fail?

#1 Post by AlreadyGoogled »

Hi everyone,

I call:

Code: Select all

OFCondition cond = DIMSE_storeProvider(...);
if (cond.bad()) {
    sprintf(...);
}
For one transfer this fails (has been working fine for months) with the error:

DIMSE: Presentation Contexts of Command and Data differ.

Can anyone let me know what this means, and how it could have been caused? Is it because the data in the images is no good?

Thanks
________
DODGE KAHUNA
Last edited by AlreadyGoogled on Sun, 2011-02-13, 00:31, edited 1 time in total.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1445
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#2 Post by Marco Eichelberg »

This means that the sender is violating the DICOM network protocol in a severe way: the two parts that make up a DICOM C-STORE-RQ message (command set and data set) have different presentation context identifiers, something that must never ever happen in the DICOM network protocol.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest