I have a problem with the PI-SDK (version 126.96.36.1998) when I try to create new PI Point on PI Server.
I am just adding new PI Point by the Add method called on the PISDK.PIPoints collection from given server. My code is used during automatic tests.
I have notices that sometimes the Add method raise following exception:
Unhalted excpetion: System.Runtime.InteropServices.COMException (0x80040434): Failed to create point on server. [-10401] No Write Access - Secure Object(FatalError) at PISDK.PIPoints.Add(String tagname, String PointClass, PointTypeConstants ptcType, NamedValues nvAttrs)
Do you have any idea why such exception may occur? The user which I used is always piadmin. I do not understand why this exception is raised randomly (only sometimes). What may cause it? My environment is always reverted to the start point before running this code so it is always the same. Thank you for any help.