Creating a InfoPath
form for a document library in one of my project, publish the infopath form I got
an error saying that “InfoPath cannot run the specified query. Access is denied”.
I have verified few blog posts and verified following
options,
- Permissions to document library and site – Yes iam having Full Control over site and Document library
- Domain – Yes iam in VPN with the same network
But User cannot submit a form to SharePoint if the security
level is ‘Restricted’ . We need to have Domain Trust should be Full
Control or more.
To grant Full control we have to follow the steps below,
In the InfoPath File Click on “Form Options” as shown the
image below,
In Form Option popup, Security and Trust, Select “Full Trust”
on security level as shown the image below.
Click on Ok to save the settings. Now we can publish the InfoPath
form with out errors.