Error while interrogating infopath form - Access is denied. HRESULT: 0x80070005
I am attempting to interrogate an InfoPath form. The template for the form is located a server and accessed through SharePoint. I set up a windows adapter which points to the path of the InfoPath from template, but when I interrogate it I get this error from Visual Studio: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)). Full stack trace in attached image. I am wondering if this is an access issue to the server where the template is located or if there is something I can do in OpenSpan/Visual Studio to resolve the issue.