The query cannot be run for the following DataObject: InfoPath cannot run the specified query. Access is denied

Hi,

we got the above error while using a Web Service as a data connection.

This is the step we followed to resolve it

Go to Tools–>Form Options–>Select “Security and Trust ” and set it to “Full Trust”.

Bye..


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

7 thoughts on “The query cannot be run for the following DataObject: InfoPath cannot run the specified query. Access is denied”

  1. I put the full trust, and worked….but after when i publishing; at task form from sharepoint I have a problem “access denied” I try to read a data from other list and I have the whole permissions…what is the solution…
    My email is oalexander2009@hotmail.com

    thanks1

    Like

  2. check your internet explorer setting.
    goto Tools Menu>> Internet Options>>goto Security Tab >> click on ‘Custom Level’ Button
    scroll down till the end, in ‘User Authentication’ -Logon >> select Prompt for user name and password.
    this worked for me.
    as earlier it was taking the username and password automatically it was not throwing the popup and hhence it was failing to authenticate.

    all the best

    Regards,
    Pranita

    Like

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s