I am using the standard DB and archiver in Win CC OA 13 patch 4. This is a development system that has not been fielded.
I just exceeded the number of DP elements allocated for the archive I have assigned for my DP's.
WCCOAvalarch (0), 2016.07.19 01:55:28.352, IMPL, SEVERE, 54, Unexpected state, DPE not present (ErrNum=4), ErrorDP: DpId = 751, elementId = 3, Archive::processWrite - DPE does not exist in this SetFile, trying to add it, [D:\\Workspaces\\3.14\\workspace\\Exe\\DataNew\\ValueArchive\\Archive.cpp:2554]
WCCOAvalarch (0), 2016.07.19 01:55:28.357, PARAM,SEVERE, 54, Unexpected state, Archive, addElement_Impl, Element can't be added because maximum # of 1000 elements was reached
WCCOAvalarch (0), 2016.07.19 01:55:28.361, PARAM,SEVERE, 54, Unexpected state, Archive, processWrite, Archive::processWrite - DPE not present and can not be created, ErrorDP: DpId = 751, elementId = 3
WCCOAvalarch (0), 2016.07.19 01:55:28.365, PARAM,SEVERE, 54, Unexpected state, Archive, processWrite, DpId = 751, ElementId = 3 , startArchivingFlag = 0
WCCOAvalarch (0), 2016.07.19 01:55:28.369, IMPL, SEVERE, 54, Unexpected state, DPE not present (ErrNum=4), ErrorDP: DpId = 751, elementId = 2, Archive::processWrite - DPE does not exist in this SetFile, trying to add it, [D:\\Workspaces\\3.14\\workspace\\Exe\\DataNew\\ValueArchive\\Archive.cpp:2554]
WCCOAvalarch (0), 2016.07.19 01:55:28.373, PARAM,SEVERE, 54, Unexpected state, Archive, addElement_Impl, Element can't be added because maximum # of 1000 elements was reached
WCCOAvalarch (0), 2016.07.19 01:55:28.378, PARAM,SEVERE, 54, Unexpected state, Archive, processWrite, Archive::processWrite - DPE not present and can not be created, ErrorDP: DpId = 751, elementId = 2
WCCOAvalarch (0), 2016.07.19 01:55:28.382, PARAM,SEVERE, 54, Unexpected state, Archive, processWrite, DpId = 751, ElementId = 2 , startArchivingFlag = 0
WCCOAvalarch (0), 2016.07.19 01:55:28.431, IMPL, SEVERE, 54, Unexpected state, DPE not present (ErrNum=4), ErrorDP: DpId = 751, elementId = 4, Archive::processWrite - DPE does not exist in this SetFile, trying to add it, [D:\\Workspaces\\3.14\\workspace\\Exe\\DataNew\\ValueArchive\\Archive.cpp:2554]
WCCOAvalarch (0), 2016.07.19 01:55:28.435, PARAM,SEVERE, 54, Unexpected state, Archive, addElement_Impl, Element can't be added because maximum # of 1000 elements was reached
WCCOAvalarch (0), 2016.07.19 01:55:28.440, PARAM,SEVERE, 54, Unexpected state, Archive, processWrite, Archive::processWrite - DPE not present and can not be created, ErrorDP: DpId = 751, elementId = 4
WCCOAvalarch (0), 2016.07.19 01:55:28.444, PARAM,SEVERE, 54, Unexpected state, Archive, processWrite, DpId = 751, ElementId = 4 , startArchivingFlag = 0
So, I went the "Database Configuration" panel in System Management, selected "Configure", and increased the "Max number of DP elements" appropriately. Last time I did this, I set the "Archive file change:" to 1x daily and waited until the next day for then new settings to apply to the archive. However, waiting for a day to apply these changes is painful.
How do I force the archive to "rebuild" and add the elements now (not later)?
Force update to DB archive configuration?
- johna_ssa
- Posts:21
- Joined: Wed Jan 28, 2015 6:14 pm
Re: Force update to DB archive configuration?
I figured it out. "Next automatic execution" should be set. It's in UTC time, so you need to convert your local time to that. Worse case you have to wait 15 mins. That's much better than waiting a day 
- RudiKreiner
- Posts:198
- Joined: Mon May 16, 2011 2:10 pm
Re: Force update to DB archive configuration?
In System Management -> Database _> Database Configuratation
then select an archive clase,
then -> Activity the third button at the bottom right of the action panel allows you to start a file switch manually.
The new file will then have the new size that you entered in the configuration panel
then select an archive clase,
then -> Activity the third button at the bottom right of the action panel allows you to start a file switch manually.
The new file will then have the new size that you entered in the configuration panel
- johna_ssa
- Posts:21
- Joined: Wed Jan 28, 2015 6:14 pm
Re: Force update to DB archive configuration?
That's what I was looking for.
Thanks for the help.
Thanks for the help.