Paurav Joshi

PI giving  uncorrect values for  when submitting request from .Net WCF (IIS Hosted) service

Discussion created by Paurav Joshi Champion on Oct 16, 2013
Latest reply on Oct 16, 2013 by Marcos Vainer Loeff



We have a .Net 3.5 WCF service wherein we are calling PI AF server using AF SDK.


One strange behaviour that we found out is that when we run our code locally PI(AF) is giving correct data for the respective attributes using the GetValue function.


However,when we publish the service and submit the request through IIS , PI is giving some random negative (-1,-273) values for corresponding attributes and rest of the data like linked PI tags, attributes names etc is correct. Only the values are getting changed.


Does it have anything to do with AF security settings ?


Please let us know asap.


Thanks in advance.