On the database I am trying to connect to, I added the DBXL service account that I used to set up DBXL, to logins on SSMS (overall) Security. Then I added that same user account to the database I wanted to access and granted db_datareader adn db_datawriter. I am able to access the database using Query Builder however when I attempt to create the receive web service data connection I get the following error. What am I missing? This is my first time using QueryDB withOUT a tutorial so maybe I missed something? I originally had my form using DBXL connection to a different server. Then I moved the database to this new server.
The SOAP response indicates that an error occurred on the server:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Qdabra.QueryDB.QueryDbException: Error D0101:
----------------------
The specified database was not found when querying the SQL server.
Either the query contained an invalid database name or the QueryDB configuration is incorrect.
The error returned from the database server was:
Cannot open database "DB1" requested by the login. The login failed.
----------------------
at Qdabra.QueryDB.QueryDBService.PerformQuery(String connectionString, String selectQueryString, MySqlParameterCollection sqlParams)
at Qdabra.QueryDB.QueryDBService.GetRequestedData(String database, String table, List`1 columns, Boolean distinct, String whereClause, String orderByClause, Int32 maxRows, Boolean countOnly, MySqlParameterCollection sqlParams)
at Qdabra.QueryDB.QueryDBService.InternalGetDataSet(XmlNode queryXml, String& table, Boolean& countOnly)
at Qdabra.QueryDB.QueryDBService.Qdabra.QueryDB.Services.IQueryDBService.GetColumnsXMLQuery(XmlNode queryXml)
at Qdabra.QueryDB.QueryDBService.Qdabra.QueryDB.Services.IQueryDBService.GetColumnsXMLStrQuery(String queryXml)
--- End of inner exception stack trace ---
--UPDATE: I think I was supposed to use DAT tool to set it up first....I skipped that step. Oops.