Showing posts with label InfoPath error. Show all posts
Showing posts with label InfoPath error. Show all posts

Wednesday, October 29, 2014

Infopath Error: The Query cannot run, Infopath cannot run the specified query. Access denied.

 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. 

Thursday, September 4, 2014

InfoPath error – “Your user name or group membership cannot be verified because the form's security settings do not permit it.”

Working with existing InfoPath forms, while opening the form it is showing error as “Your user name or group membership cannot be verified because the form's security settings do not permit it.” As shown the below.



 We can get this error due to form security error. To fix that we need to add the site to local sites by using the steps below.

Navigate to IE and open Internet Option from IE settings.


In the Security Tab, Select “Local Intranet” option and click on Sites button.


You can see “local Intranet” popup, click on “Advanced” button.


Add the Site to local intranet sites by clicking on Add button. Click on Close button.


Click on Ok button to Save “local Intranet” popup and Ok button to close internet options.

By opening the form we can see the form without any errors. Hope this helps.

Friday, February 14, 2014

SharePoint 2013 InfoPath form error - “A query to retrieve for data cannot be completed because this action would violate cross-domain restrictions”

While working with SharePoint 2013 InfoPath forms in cross domain, I got an error saying that, “A query to retrieve for data cannot be completed because this action would violate cross-domain restrictions”. 


We can get this error, due to cross page submissions. We can fix this issue by allowing cross domain access for InfoPath service. We can do that by the steps below,

Navigate to SharePoint Central Administration, General Application Settings page and click on Configure InfoPath Forms services link in InfoPath Form Services section.



In the Settings page, Cross-Domain Access for user For Templates section Check “Allow cross-domain data access for user form templates that use connection settings in a data connection file” and click on Ok to Save the settings.