<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Qdabra Database Accelerator</title><link>https://www.infopathdev.com:443/forums/61.aspx</link><description>Qdabra Database Accelerator (DBXL) simplifies connecting InfoPath to SQL Server and SharePoint for codeless storage, permissions, workflow, and reporting on InfoPath forms. This forum also supports users of Qdabra's WSSP.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Problem using (configuring?) the method GetDropDownEntries of the QueryDB WebService</title><link>https://www.infopathdev.com:443/forums/thread/44638.aspx</link><pubDate>Mon, 20 Jul 2009 11:18:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44638</guid><dc:creator>randyrw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44638.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=44638</wfw:commentRss><description>&lt;p&gt;Bingo!&lt;/p&gt;&lt;p&gt;Thanks Jimmy, that was the solution to my problem. After appending the pound signs, I received the expected list of values.&lt;/p&gt;&lt;p&gt;Thank again and regards,&lt;/p&gt;&lt;p&gt;Randy &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem using (configuring?) the method GetDropDownEntries of the QueryDB WebService</title><link>https://www.infopathdev.com:443/forums/thread/44637.aspx</link><pubDate>Mon, 20 Jul 2009 10:32:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44637</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44637.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=44637</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;In order to use a database alias, please surround the alias with pound signs in your query, so in this case, use #prsdb# instead of just prsdb.&amp;nbsp; Your web.config looks ok as it is.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem using (configuring?) the method GetDropDownEntries of the QueryDB WebService</title><link>https://www.infopathdev.com:443/forums/thread/44636.aspx</link><pubDate>Mon, 20 Jul 2009 09:47:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44636</guid><dc:creator>randyrw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44636.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=44636</wfw:commentRss><description>&lt;p&gt;Dear Colleague,&lt;/p&gt;
&lt;p&gt;I would like to use the method GetDropDownEntries of the QueryDB WebService in one of my web forms. However, I think that I am having problems configuring the environment properly.&lt;/p&gt;
&lt;p&gt;My Setup&lt;/p&gt;
&lt;p&gt;1. The application database (let&amp;#39;s call it the AppDB) that I would like to connect to via the QueryDB WebService is on a remote server, let&amp;#39;s call it the DBServer&lt;/p&gt;
&lt;p&gt;2. The DBXL database as well as the SampleDB are installed on the same SQL Server instance as the application database, i.e. the same DBServer&lt;/p&gt;
&lt;p&gt;3. However, the DBXL web server is running on a different server, let&amp;#39;s call it the WebServer&lt;/p&gt;
&lt;p&gt;4. My installation of InfoPath Designer is running on the WebServer&lt;/p&gt;
&lt;p&gt;The table that I would like to access in the method GetDropDownEntries is in the AppDB on the DBServer. Consequently, I updated the DBXL web.config file with the following entries:&lt;/p&gt;
&lt;p&gt;&amp;lt;enumdb&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;servers&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;server name=&amp;quot;default&amp;quot; connectionString=&amp;quot;jkCL9AKZIpJtHYm/8EC+UNhcTzTM4FjfHK6AQSlKsOK9PAkqKXm/950aEPW8K1SMXvT9WeSZSY0CrjxjZQ0c8eHbwU6I7YMm1duUtHRvgj8yHpo42slsa1+U06Le65M3HuYHXhnnWsGchakNoH6dbTDpUGK2PDGb&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;server name=&amp;quot;amsapp20&amp;quot; connectionString=&amp;quot;Data Source=amsapp20.ii4sm.zz;user=randy;password=ACTUALPASSWORD&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/servers&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;databases&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;database alias=&amp;quot;QdabraSamples&amp;quot; name=&amp;quot;dbxl_sample&amp;quot; server=&amp;quot;default&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;database alias=&amp;quot;prsdb&amp;quot; name=&amp;quot;project_report&amp;quot; server=&amp;quot;amsapp20&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/databases&amp;gt;&lt;br /&gt;&amp;lt;/enumdb&amp;gt;&lt;/p&gt;
&lt;p&gt;When I execute the web service QueryDBService.GetDropdownEntries in the browser or from within InfoPath, I receive the following error message:&lt;/p&gt;
&lt;p&gt;System.ArgumentException: Database not registered for use: &amp;#39;prsdb.&amp;#39;&lt;br /&gt;All databases used by QueryDB must be specified in web.config&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.DataBaseService.QueryDBService.CheckForDatabaseInConfig(String databaseName)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.DataBaseService.QueryDBService.GetDatabaseName(String&amp;amp; database, String table, String[]&amp;amp; columns, String&amp;amp; connectionString)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.DataBaseService.QueryDBService.GetRequestedData(String database, String table, String[] columns, Boolean distinct, String whereClaus, String orderByClaus, Int32 maxRows, Int32&amp;amp; rowCount)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.DataBaseService.QueryDBService.GetDropdownEntries(String database, String table, String valueColumn, String displayColumn, String sortColumn, String sortOrder, String filterXml)&lt;/p&gt;
&lt;p&gt;When I execute the web service QueryDBService.GetDropdownEntries in the browser and attempt to access the QdabraSamples DB, I receive the same error message.&lt;/p&gt;
&lt;p&gt;Can you please give me some insight as to what might be the problem here.&lt;/p&gt;
&lt;p&gt;Thanks and regards,&lt;/p&gt;
&lt;p&gt;Randy&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>