Posts by DrSteve

    Hi Marcel

    Just for testing purposes, i copied some files in imcoming folder to be imported, the server start giving sql error. Instead of restarting both DB and pacs services, i just restart PACS services and everything start working fine.

    Hi Marcel

    Sorry for the late response. I am facing quite a strange behavior with conquest pacs server. I am monitoring the server for almost last one week, the server worked fine in morning (sometimes gives an issue) but in morning sometimes server gave the above shared eror but most of the times it gives error saying error in saving Sql file.

    I usually restart the database as well as conquest services and everthing is back to normal. But in the log there was nothing except the error showing cannot save files. Even the files that were placed in import folder stayed there till the time serives restart.

    Server Log Before services Restart


    6/27/2026 10:04:10 AM [PACSS] UPACS THREAD 4852: STARTED AT: Sat Jun 27 10:04:10 2026
    6/27/2026 10:04:10 AM [PACSS] Calling Application Title : "PACS "
    6/27/2026 10:04:10 AM [PACSS] Called Application Title : "PACSS "
    6/27/2026 10:04:10 AM [PACSS] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 32768
    6/27/2026 10:04:10 AM [PACSS] Presentation Context 0 "1.2.840.10008.5.1.4.1.1.1" 1
    6/27/2026 10:04:10 AM [PACSS] Presentation Context 1 "1.2.840.10008.1.1" 1
    6/27/2026 10:04:10 AM [PACSS] Presentation Context 2 "1.2.840.10008.5.1.4.1.1.2" 1
    6/27/2026 10:04:10 AM [PACSS] Presentation Context 3 "1.2.840.10008.5.1.4.1.1.7" 1
    6/27/2026 10:04:10 AM [PACSS] Presentation Context 4 "1.2.840.10008.5.1.4.1.1.4" 1
    6/27/2026 10:04:11 AM [PACSS] Cleaned Patient Name: xxxxx
    6/27/2026 10:04:11 AM [PACSS] Written file: e:\dicom_data\2026\June\CR\27-06-2026\ABC\unknown\000136d9.dcm
    6/27/2026 10:04:16 AM [PACSS] UPACS THREAD 4852: ENDED AT: Sat Jun 27 10:04:16 2026
    6/27/2026 10:04:16 AM [PACSS] UPACS THREAD 4852: TOTAL RUNNING TIME: 6 SECONDS
    6/27/2026 10:19:38 AM [PACSS] Cleaned Patient Name: ABC
    6/27/2026 10:19:38 AM [PACSS] ***Error saving to SQL: 2023\January\CR\31-01-2023\ABC\unknown\000136da.dcm
    6/27/2026 10:19:38 AM [PACSS] ***[AddImageFile] Error entering object into server: e:\dicom_data\incoming\CT\20230613\DEF\_Lung_0_5_Arterial_Phase\00043db5.dcm
    6/27/2026 10:19:44 AM [PACSS] Cleaned Patient Name: ABC
    6/27/2026 10:19:44 AM [PACSS] ***Error saving to SQL: 2023\January\CR\31-01-2023\ABC\unknown\000136db.dcm
    6/27/2026 10:19:44 AM [PACSS] ***[AddImageFile] Error entering object into server: e:\dicom_data\incoming\CT\20230613\DEF\_Lung_0_5_Arterial_Phase\00043db5.dcm

    At this time server doesn't saves any data sent from any modality and even users cannot retrieve any data from it


    Can you please guide me in this regard.


    -- Steve

    Hi

    I am forwarding DICOM Studies to a secondary PACS but gives me following error

    The secondary PACS is configured in the known DICOM Providers. and the image file if sent to Conquest PACS Server it save it and also dispkay it on viewer without any error.

    ERROR

    ROUTER]
    [ROUTER] UPACS THREAD 1: STARTED AT: Wed Apr 29 06:25:33 2026
    [ROUTER] Calling Application Title : "RADIANT "
    [ROUTER] Called Application Title : "ROUTER "
    [ROUTER] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    [ROUTER] Presentation Context 0 "1.2.840.10008.5.1.4.1.1.1" 1
    [ROUTER] ImportConverter0.1: forwarded object to RoganOnlineXS
    [ROUTER] *** ImportConverter0.1: DICOM server RoganOnlineXS does not accept type of forwarded image
    [ROUTER] Importconverter0.2: destroyed received image
    [ROUTER] UPACS THREAD 1: ENDED AT: Wed Apr 29 06:25:33 2026
    [ROUTER] UPACS THREAD 1: TOTAL RUNNING TIME: 0 SECONDS


    My dicom.ini

    ForwardAssociationLevel = Study
    ImportConverter0 = forward to RoganOnlineXS channel *; destroy;

    If i want to forward t multiple PACS is this command correct

    ForwardAssociationLevel = Study
    ImportConverter0 = forward to RoganOnlineXS channel *; forward to PACS channel*; destroy;

    Please advise

    Dr Steve

    • Thanks Marcel - for your prompt response.

      After little bit google I found some of teh reasons that are teh root cause of this error.

      Possible Reasons

      Connection Timeout: The MySQL server closes the connection if it remains idle beyond the configured timeout value.
    • Too Large Query: If a query or packet exceeds the maximum size allowed by MySQL settings.
    • Corrupted MySQL Tables: Corrupted tables might trigger this error when accessed by queries.
    • Network Issues: Unstable network connectivity between the MySQL client and server.

      Beside yours will also try the fixes mention on different forums to see

      Regards

      Steve

    From modality it is RejectedImageConverter0

    Marcel

    Can you please share a sample script or an idea how to capture this info

    And secondly, If I want to move studies from MAG0 to MAG1 and after moving i want to execute an external custom script that compress the study further. BUt when a query is made for the study then first the decompress script executes and serve the request to client .
    Thirdly, I have 3 to 4 lua scripts that i want to execute for different purposes. Can you guide me how to call them in dicom.ini. Currently I am using this to call only one lua file in which all scripts are merged together making it hard to manage

    [lua]
    ImportConverter0 = dofile('scriptfilename.lua')


    Can you just share the sample scripts for above for an idea to start with.

    Any guidance on how to fix this issue , I am using the data import from configured watch folder
    ***[AddImageFile] z:\dicom_data\incoming\00E10C45.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] z:\dicom_data\incoming\00E10C45.DCM -FAILED: file does not contain correct UIDs

    Okie .

    Can you guide me how to capture the errors like inconsistent records (sending modified patient details) or invalid UID or empty UIDs on which pacs server throws error.
    I want to save these patient details in a log file, Patient Name, Patient ID, Study Date, Modality, Study Description and error type

    Can you guide me on this

    I know its off topic, can you guide me if there is some error in data import like invalid UIDs or data inconsistency can you tell how to tell pacs server to ignore this file and moved on no more retries on it. Right now server i think tries for sometimes before moving to next file placed in incoming folder

    Okie

    If i want to save the image also any work around??

    Can you please comment on following errors

    2/8/2026 4:33:51 PM [DICOMROUTER] ***Exportconverter0: Spawning 'destroy' failed (argv=C:\DICOM_ROUTER\Data\0009703828\1.3.46.670589.5.2.10.2156913941.892665339.860724_0001_002000_17705504300000.dcm)
    2/8/2026 4:33:51 PM [DICOMROUTER] ***Exportconverter0: Spawning 'destroy' failed (argv=C:\DICOM_ROUTER\Data\0009703828\1.3.46.670589.5.2.10.2156913941.892665339.860724_0001_002000_17705504300001.dcm)
    2/8/2026 4:33:51 PM [DICOMROUTER] ***Exportconverter0: Spawning 'destroy' failed (argv=C:\DICOM_ROUTER\Data\0009703828\1.3.46.670589.5.2.10.2156913941.892665339.860724_0001_003000_17705504300002.dcm)


    **[AddImageFile] d:\bihlimages\incoming\000FBDB4.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDB4.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDB4.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDB4.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDB6.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDB6.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDB6.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDB6.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDBF.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDBF.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDBF.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDBF.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDC0.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDC0.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDC0.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDC0.DCM -FAILED: file does not contain correct UIDs
    ***[AddImageFile] d:\bihlimages\incoming\000FBDC4.DCM -FAILED: file does not contain correct UIDs

    HI

    I am using conquest pacs server. I wanted to perform specific action when PACS Server throws this error. Instead of discarding the study I wanted to save the study using lua scripting.

    ***Refused to enter inconsistent link PatientID into DICOMStudies: PatientID = 'ABC-17521' StudyInsta = '1.3.46.67058

    9.33.1.63734652149435821400001.4816208667773483802', Old='ABC-17521-5437851487', Refused='ABC-17521'

    Please advise

    HI

    When i try to save data from an other PACS using import function, I am getting following errors.

    IMages on Disk are stored option selected is Lsssy JPEG [PACS] Warn[CompressJPEGImage]: JPEG changed to lossless (J1) for 16 bits data

    and also this one error when IMages on Disk are stored option uncompressed

    [PACS] ***Item Length exceeds remainder file size: 00003832
    [PACS] ***[AddImageFile] D:\DICOM_DATA\incoming\003a7189-d873-4675-8673-d38fc26a0c1a -FAILED: Error on Load
    [PACS] ***Item Length exceeds remainder file size: 00003832
    [PACS] ***[AddImageFile] D:\DICOM_DATA\incoming\003a7189-d873-4675-8673-d38fc26a0c1a -FAILED: Error on Load
    [PACS] ***Item Length exceeds remainder file size: 00003832
    [PACS] ***[AddImageFile] D:\DICOM_DATA\incoming\003a7189-d873-4675-8673-d38fc26a0c1a -FAILED: Error on Load
    [PACS] ***Item Length exceeds remainder file size: 00003832
    [PACS] ***[AddImageFile] D:\DICOM_DATA\incoming\003a7189-d873-4675-8673-d38fc26a0c1a -FAILED: Error on Load

    and also

    PACS] OpenJP2 decompress started.
    [PACS] Debug[OpenJP2 decompress]: H = 512, W = 512, Bits = 16 in 16, Components = 1, Frames = 1
    [PACS] Info[OpenJP2(J2k)]: Start to read j2k main header (0).
    [PACS] Info[OpenJP2(J2k)]: Main header has been correctly decoded.
    [PACS] Info[OpenJP2(J2k)]: Stream reached its end !
    [PACS] Info[OpenJP2(J2k)]: Header of tile 0 / 0 has been read.
    [PACS] ***[OpenJP2(J2k)]: Failed to decode.
    [PACS] ***[OpenJP2(J2k)]: Failed to decode tile 1/1
    [PACS] ***[OpenJP2 decompress]: Jpeg 2K code stream did not decode.
    [PACS] ***[DecompressImage]: failed to decompress JP2000
    [PACS] Query Tables: DICOMImages
    [PACS] Columns : ObjectFile, DeviceName
    [PACS] Where : SOPInstanc = '1.2.840.113619.2.398.3.279763978.624.1580489949.8.657' AND ImagePat = 'xxxxxxxx'
    [PACS] Order : (null)
    [PACS] FreeStore Left 2608780 on D:\
    [PACS] Add to Table: DICOMImages
    [PACS] Columns: SOPInstanc, SOPClassUI, ImageNumbe, ImageDate, ImageTime, AcqDate, AcqTime, AcqNumber, SliceLocat, SamplesPer, PhotoMetri, QRows, QColumns, BitsStored, ImageType, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName
    [PACS] Values: '1.2.840.113619.2.398.3.279763978.624.1580489949.8.657', '1.2.840.10008.5.1.4.1.1.2', '657', '20200213', '105656', '20200213', '104803.951359', '1', '-412.750', '1', 'MONOCHROME2', '512', '512', '16', 'ORIGINAL\\SECONDARY\\AXIAL', 'xxxxxxxxxxxxxx', '1.2.840.113619.2.398.3.279763978.624.1580489949.6', 1767130240, 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\\03020037.dcm', 'MAG0'
    [PACS] Query Tables: DICOMSeries
    [PACS] Columns : SeriesInst,SeriesNumb,SeriesDate,SeriesTime,SeriesDesc,Modality,PatientPos,ContrastBo,Manufactur,ModelName,BodyPartEx,ProtocolNa,StationNam,Institutio,FrameOfRef,SeriesPat,StudyInsta
    [PACS] Where : SeriesInst = '1.2.840.113619.2.398.3.279763978.624.1580489949.6' AND SeriesPat = 'BIHL-82830'
    [PACS] Order : (null)
    [PACS] Add to Table: DICOMSeries
    [PACS] Columns: SeriesInst, SeriesNumb, SeriesDate, SeriesTime, SeriesDesc, Modality, PatientPos, Manufactur, ModelName, ProtocolNa, StationNam, Institutio, FrameOfRef, SeriesPat, StudyInsta, AccessTime
    [PACS] Values: '1.2.840.113619.2.398.3.279763978.624.1580489949.6', '302', '20200213', '105552', 'ARTERIAL PHASE.625MM', 'CT', 'HFS', 'GE MEDICAL SYSTEMS', 'Optima CT660', '26.1 Abdomen Pelvis 0.8s 5mm SmartmA', 'ctbay99', 'xxxxxxxxxxxxxxxxxxxxxx', '1.2.840.113619.2.398.3.279763978.78.1580452317.954.11355.1', 'BIHL-82830', '1.2.840.113619.2.398.3.279763978.78.1580452317.953', 1767130240
    [PACS] Query Tables: DICOMStudies
    [PACS] Columns : StudyInsta,StudyDate,StudyTime,StudyID,StudyDescr,AccessionN,ReferPhysi,PatientsAg,PatientsWe,StudyModal,PatientNam,PatientBir,PatientSex,Softwarevs,DeviceSeri,Manufactur,ModelName,BodyPartEx,ProtocolNa,StationNam,Institutio,StudyYear,StudyMonth,status,HOSPID,PatientID
    [PACS] Where : StudyInsta = '1.2.840.113619.2.398.3.279763978.78.1580452317.953'
    [PACS] Order : (null)
    [PACS] Add to Table: DICOMStudies
    [PACS] Columns: StudyInsta, StudyDate, StudyTime, StudyID, StudyDescr, AccessionN, ReferPhysi, PatientsAg, StudyModal, PatientNam, PatientBir, PatientSex, Softwarevs, DeviceSeri, Manufactur, ModelName, ProtocolNa, StationNam, Institutio, StudyYear, StudyMonth, PatientID, AccessTime
    [PACS] Values: '1.2.840.113619.2.398.3.279763978.78.1580452317.953', '20200213', '104336', '4690', 'CT ANGIOGRAM RENAL', '4136516', '^Dr.xxxxx', '032Y', 'CT', 'xxxxxxx', '19880213', 'M', 'cj2_5m3sp4.5', '*', 'GE MEDICAL SYSTEMS', 'Optima CT660', '26.1 Abdomen Pelvis 0.8s 5mm SmartmA', 'ctbay99', 'xxxxxxxxxxxxxxxx', '2020', 'Feburary', 'BIHL-82830', 1767130240
    [PACS] Query Tables: DICOMPatients
    [PACS] Columns : PatientID,PatientNam,PatientBir,PatientSex
    [PACS] Where : PatientID = 'xxxxxxxxxxxxxx'
    [PACS] Order : (null)
    [PACS] Add to Table: DICOMPatients
    [PACS] Columns: PatientID, PatientNam, PatientBir, PatientSex, AccessTime
    [PACS] Values: 'BIHL-82830', 'xxxxx', '19880213', 'M', 1767130240
    [PACS] Added file: D:\DICOM_DATA\xxxxxxxxxxxxxxxxxxxxxx\03020037.dcm

    and when i try to view this image xxxx its just a black nothing else Server log is

    PACS] UPACS THREAD 34: STARTED AT: Wed Dec 31 02:34:45 2025
    [PACS] Calling Application Title : "RADIANT "
    [PACS] Called Application Title : "PACS "
    [PACS] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    [PACS] Presentation Context 0 "1.2.840.10008.5.1.4.1.2.2.1" 1
    [PACS] (StudyRootQuery) search level: STUDY
    [PACS] C-Find (StudyRoot) located 1 records
    [PACS] UPACS THREAD 34: ENDED AT: Wed Dec 31 02:34:45 2025
    [PACS] UPACS THREAD 34: TOTAL RUNNING TIME: 0 SECONDS
    [PACS]
    [PACS] UPACS THREAD 35: STARTED AT: Wed Dec 31 02:34:47 2025
    [PACS] Calling Application Title : "RADIANT "
    [PACS] Called Application Title : "PACS "
    [PACS] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    [PACS] Presentation Context 0 "1.2.840.10008.5.1.4.1.2.2.2" 1
    [PACS] C-Move Destination: "RADIANT "
    [PACS] Number of Images to send: 1
    [PACS] Sending file : D:\DICOM_DATA\xxxxxxxxxxxxxxxxxxx\03020037.dcm
    [PACS] ***[OpenJP2(J2k)]: Failed to decode.
    [PACS] ***[OpenJP2(J2k)]: Failed to decode tile 1/1
    [PACS] ***[OpenJP2 decompress]: Jpeg 2K code stream did not decode.
    [PACS] ***[DecompressImage]: failed to decompress JP2000
    [PACS] C-Move (StudyRoot)
    [PACS] UPACS THREAD 35: ENDED AT: Wed Dec 31 02:34:47 2025
    [PACS] UPACS THREAD 35: TOTAL RUNNING TIME: 0 SECONDS

    But If i try to import the same image in a Radiant Viewer I can see the scan. This is happening with lots of Scans that i am trying to import

    Can you please guide me