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

Posted: April 8, 2010 in MOSS, SharePoint
Tags:

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..

Comments
  1. Syed Ali says:

    Thanks dear, this resolved my problem. :)

  2. Pranita says:

    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

  3. Pranita says:

    within infopath form on the menu bar Tools > form option>> security & trust>> Clear the check box & choose Full trust.

  4. Rana says:

    it does not work:(
    from File>> form option>> security & trust>> Clear the check box & choose Full trust

  5. Ram says:

    Hi,
    where exactly did you make this setting? Tools from where??

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 )

Connecting to %s