# \\tools\\reset failure

**URL:** <https://discourse.orthanc-server.org/t/tools-reset-failure/3338>\
**Category:** Google Groups archive\
**Created:** [March 28, 2023, 8:00am UTC](https://discourse.orthanc-server.org/t/tools-reset-failure/3338 "2023-03-28T08:00:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mars456](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@Mars456](https://discourse.orthanc-server.org/u/Mars456)\
**Post date:** [March 28, 2023, 8:00am UTC](https://discourse.orthanc-server.org/t/tools-reset-failure/3338/1 "2023-03-28T08:00:38Z")

</div>

Hi, When I use the rest interface(/tools/reset) to restart orthanc error code 44 ，and In the configuration file, I configured ExtraMainDicomTags

config:

“ExtraMainDicomTags”: {  
“Study”: [  
“StationName”,  
“BodyPartExamined”,  
“Modality”  
],  
“Series”: [  
“SliceThickness”,  
“RepetitionTime”,  
“EchoTime”  
]  
},

error:  
E0328 15:42:47.682590 OrthancException.cpp:58] A main DICOM Tag has been defined multiple times for the same resource level: 0008,1010 is already defined  
E0328 15:42:47.682590 main.cpp:2074] Uncaught exception, stopping now: [A main DICOM Tag has been defined multiple times for the same resource level] (code 44)

---

<div class="post-metadata">

**Author:** ![sdscotti](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/sdscotti/32/2563_2.png) [@sdscotti](https://discourse.orthanc-server.org/u/sdscotti)\
**Post date:** [March 28, 2023, 8:26am UTC](https://discourse.orthanc-server.org/t/tools-reset-failure/3338/2 "2023-03-28T08:26:06Z")

</div>

It is ‘whining’ about the 0008,1010, Station Name Attribute.

You might want to reference this: [https://book.orthanc-server.com/faq/main-dicom-tags.html](https://book.orthanc-server.com/faq/main-dicom-tags.html)

It appears that StationName is defined by default by Orthanc at the series level. I don’t know how that all works in detail, but I suspect that if you remove StationName from the Study level that you will then be able to restart orthanc. It might be helpful to add further guidance in the documentation about what tags belong to which level. There are some general rules, but with exception.

These are helpful, and if you have questions regarding DICOM specifically there is a forum for that also.[https://groups.google.com/g/comp.protocols.dicom](https://groups.google.com/g/comp.protocols.dicom)

[https://dicom.nema.org/medical/Dicom/2017e/output/chtml/part06/chapter\_6.html](https://dicom.nema.org/medical/Dicom/2017e/output/chtml/part06/chapter_6.html)  
[https://dicom.innolitics.com/ciods](https://dicom.innolitics.com/ciods)

Stephen D. Scotti, M.D.

---

<div class="post-metadata">

**Author:** ![Mars456](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@Mars456](https://discourse.orthanc-server.org/u/Mars456)\
**Post date:** [March 28, 2023, 8:36am UTC](https://discourse.orthanc-server.org/t/tools-reset-failure/3338/3 "2023-03-28T08:36:33Z")

</div>

Thank you very much for your reply，I know the standard tags level, I just want to add some tags to facilitate my query. When I configure it like this, orthanc works very well ，Normal shutdown and restart are all possible, but there will be problems with reset through the rest api(/tools/reset).

在2023年3月28日星期二 UTC+8 16:26:06 写道：

---

<div class="post-metadata">

**Author:** ![alainmazy](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/alainmazy/32/1576_2.png) [@alainmazy](https://discourse.orthanc-server.org/u/alainmazy)\
**Post date:** [March 28, 2023, 8:49am UTC](https://discourse.orthanc-server.org/t/tools-reset-failure/3338/4 "2023-03-28T08:49:46Z")

</div>

Hi,

I have just fixed this crash when calling /tools/reset. This will be available in the next release.

[https://hg.orthanc-server.com/orthanc/rev/32df369198ac](https://hg.orthanc-server.com/orthanc/rev/32df369198ac)

Best Regards,
