2 Replies Latest reply on May 29, 2018 2:39 PM by rschmitz

    Piconfig: Generic Requested item not found




      I have followed this guide to delete some records from our PI Data Archive: https://techsupport.osisoft.com/Troubleshooting/KB/2920OSI8


      However, I keep getting these error messages: Piconfig Err> Error reading record from table... Rec: <Specified Tagname>

                                                                                                        [-15003] Generic Requested Item Not Found


      I have checked that the tag actually exists, and I have checked for any permission issues. piconfig logs in as piadmin according to the PI message log. PI Data archive version is 2017 R2 (3.4.1415.1188)


      Any ideas what I could be doing wrong?

        • Re: Piconfig: Generic Requested item not found

          Could you please ensure that you are not running into 103652 - Default display precision of PIConfig may cause event edit failures

          PIConfig displays sub-second timestamps to 5 decimals. Timestamps have a precision of approximately 6 decimals therefore, by default, the displayed timestamp may not match the actual timestamp. Workaround is to set time display precision to 7 with following command: @timf 7.


          If you are interested in exploring other deletion methods, refer to 3065OSI8 - How to delete archive and snapshot events

          • Re: Piconfig: Generic Requested item not found

            Hi Olav,


            I think it will be difficult to determine what exactly is going on without being able to see the piconfig commands you're executing to get this error. In general, I would suggest calling into Tech support when getting an error with piconfig as they're notoriously difficult to troubleshoot


            That being said, the first few things that come to mind (without knowing your commands) are do you have the correct table selected? Are you in delete mode? And are the columns in the correct order for the CSV.


            Also as a general rule I would recommend using the Powershell tools for deleting tag values nowadays. The Powershell tools are capable of supporting buffered deletes with the AF SDK buffering (i.e. if you delete a value, you can delete it on both members of a collective simultaneously rather than one at a time) whereas PI SDK buffer doesn't support this. If you don't have collectives or already have a script you're using feel free to ignore this, but long term this may be a better solution.