AFOperations with PB Component issue

Discussion created by plac88 on Aug 26, 2013
Latest reply on Aug 28, 2013 by Marcos Vainer Loeff

Hi all,


I'm having a problem while trying to access AF Attribute Values inside a PB Custom Component (made in C# .NET 4.0).


After calling the AFOperations.FindAttributes and connecting to de AFDatabase of choice, a warning message is shown at the selection of attributes: "Insufficient privilege to access the PI Server."


It's strange because looking at the AboutPI-SDK, i'm connected to the piserver as piadmin. So, there is a way to set manually the PI Server for the AFOperations, or get the PI Server from the ProcessBook Interop Lib (i've tried with no success until now).


Someone have a clue on that?


Thanks in advance.