PISDK Buffering [-11441] The buffering key is invalid

Discussion created by Sandles on Dec 4, 2013
Latest reply on Dec 6, 2013 by ssortland

Hi all,


We have only enabled PI SDK Buffering and want to use updatevalue to write data in collective servers.


We have one process which is one c# windows service and it catches the following exception:


System.Runtime.InteropServices.COMException was caught
Message=Failed to send data to buffer. [-11441] The buffering key is invalid
at PISDK._PIData.UpdateValue(Object newValue, Object TimeStamp, DataMergeConstants MergeType, PIAsynchStatus asynchStatus)


And from Message Log we have seen the following error:


Unable to obtain the impersonation request token from the server. Continuing with buffer registration This server version doesn't support impersonation requests. : 0x800404e1, xxxx, , PISDK, , , , , , , , ,


We have checked the pibufss states by using pibufss -cfg which shows exactly the collecive servers and both are registered and successful connected.


In the Introducing PI SDK Buffering documentation we have found the following information " If pibufss is restarted, the following message is returned by PI SDK: 


Failed to send data to buffer. [-11441] The buffering key is invalid". 


Some data can be written in collective servers some not.


Can anybody give us some advises? 


Thanks a lot!


With best regards