Query Builder Error - InfoPath Dev
in

InfoPath Dev

Query Builder Error

Last post 07-09-2013 01:31 PM by Jimmy. 15 replies.
Page 2 of 2 (16 items) < Previous 1 2
Sort Posts: Previous Next
  • 07-09-2013 01:31 PM In reply to

    britgeek:
    Setting the Initial Catalog to the test database re-produced the error I was hitting before. We've double checked and even dropped and re-granted permissions for the service account on the views/tables on that database that it should be able to access without success.

    Does the account need to have full access to the entire database for this to work?

     In order to be able to detect the database schema, the account being used to access the database needs to at least have SELECT access to the database's following system views:

    • systypes
    • sysobjects
    • syscolumns

    And EXECUTE access to the following system stored procedure:

    • sp_pkeys

    I can't say for sure that those will be enough, but it may be enough. Could you give that a try? In the end, it may be more practical to grant the account reader access to the whole database and deny access to certain DB objects that should be off limits.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 2 of 2 (16 items) < Previous 1 2
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.