MNiedba

Creating PI Point - No Write Access ?

Discussion created by MNiedba on Mar 5, 2012
Latest reply on Mar 30, 2012 by MNiedba

Hello,

 

I have a problem with the PI-SDK (version 1.3.8.388) 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.

 

 

 

 

Outcomes