11 Replies Latest reply on Apr 2, 2018 5:09 PM by tramachandran

    I am getting "PI Analysis Service is not available" error when trying to backfill through a web application with AF SDK

    FNacif

      I have a Web Application which can trigger a backfill to the AF.

       

      I can get the analysis I want to backfill and etc, but when I try to "QueueCalculation" I get an error with "PI Analysis Service is not available" message.

       

      I read here at PI Square that this could be caused by permission, and indeed my "PISystem.Security" return "CanExcecute" false, which is the permission I read is necessary. I have no idea how I can grant that permission to my application.

       

      I also read the way my script is connecting matters. I don't know if this is true, but I am using the "Connect" method with a "NetworkCredential" argument, I need this because my web application will not ask for any credentials to the user while executing.

       

      Have some went through the same problem?

       

      Thank you.