On creating of an element on a cluster system (with 10 DMA's) we got the error message:
SLElement.exe|6972|Validate DVE name|ERR|0|Duplicate element name NI-02-23-XLNK.MAV-PL-100050-T0012-LF in use by element id 302 on DMA 58311 But the element with id 302 is deleted a long time ago. Also there is no element with name NI-02-23-XLNK.MAV-PL-100050-T0012-LF anymore. Workaround = create this element with another name, but the customer does not want that. So we need to be able to delete the element with name NI-02-23-XLNK.MAV-PL-100050-T0012-LF, which is probably already cleared, but due to some synchronisation errors, is still present in 1 or more of the framework tables.
In SLNET1.txt on the main DMA-1 I found an interesting error line which might indicate that table:
2023-01-02 13:22:43.210|92|Facade.HandleMessage|Incoming (SLDMS.exe): -> Agents (172.19.1.116) (dest DMS): 0/95/0 Array(2)[1;NI-02-23-XLNK.MAV-PL-100050-T0012-LF_2] <null>
To be clear : it is a DVE child element that cannot be created due to some other child of element 302 (an element that is already long gone).
I have found in the MySQL database 1 row with
iEid = 302
iPid=6503
chIndex empty
chValue = 00000000
In the logfile (Debug Logging level:Level 1 rest No Logging) Framework logging:
SLProtocol ... |5696|CProtocol::LoadDynamicVirtualElement|CRU|-1|Loading Virtual Element 58311/1307
SLProtocol ... |5696|CProtocol::LoadDynamicVirtualElement|DBG|1|InitializeParameters
SLProtocol ... |5696|CProtocol::LoadElementDataAllPIDs|CRU|-1|Querying elementdata
SLProtocol ... |5696|CProtocol::LoadElementDataAllPIDs|CRU|-1|Querying elementdata completed
SLProtocol ... |5696|CProtocol::InitializeParameters|CRU|-1|Begin processing parameters
SLProtocol ... |5696|CProtocol::InitializeParameters|DBG|1|Find ids
SLProtocol ... |5696|CProtocol::InitializeParameters|DBG|1|Removing duplicates
SLProtocol ... |5696|CProtocol::InitializeParameters|DBG|1|Initializing hash table
SLProtocol ... |5696|CProtocol::InitializeParameters|DBG|1|Loading parameters
SLProtocol ... |5696|CProtocol::InitializeParameters|DBG|1|Done loading parameters
SLProtocol ... |5696|CProtocol::InitializeParameters|CRU|-1|Done processing parameters
SLProtocol ... |5696|CProtocol::LoadDynamicVirtualElement|DBG|1|SetupParameters for DVE 1307
SLProtocol ... |5696|CProtocol::CompleteLoadSequence|DBG|1|Load Sequence: 65132,65146,100,1800,1900,150,2000,65049,65060,2100,65068,65139,2200,500,2300,2400,2500,4300,4400,1000,2800,1100,2900,1200,3000,1300,3100,1400,5000,1500,65054,5100,1600,1700
SLProtocol ... |5696|CProtocol::LoadDynamicVirtualElement|DBG|1|LinkReadWrite
SLProtocol ... |5696|CProtocol::LoadDynamicVirtualElement|CRU|-1|Done loading Virtual Element 58311/1307
SLElement.exe|10108|CElement::SetParameterValue|DBG|1|** Parameter 65026 changed to VT_BSTR : 1307
SLElement.exe|10108|Validate DVE name|ERR|0|Duplicate element name NI-02-23-XLNK.MAV-PL-100050-T0012-LF in use by element id 302 on DMA 58311