<?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 Tools</title><link>https://www.infopathdev.com:443/forums/135.aspx</link><description>Community support for Qdabra tools, including Bulk Edit Tool, Bulk Reassignment Tool, Document Deployer, UDC Editor Tool, LDAP test tool, QdUpgrade WinForm Tool, Query Builder, Excel to XML tool, InfoPath to ShP List Tool and EmailBuilder.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Getting error when trying to create data connection for querydb</title><link>https://www.infopathdev.com:443/forums/thread/50865.aspx</link><pubDate>Thu, 21 Jan 2010 15:51:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50865</guid><dc:creator>imstac</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50865.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=50865</wfw:commentRss><description>&lt;p&gt;Yippeee!&amp;nbsp; That worked.&amp;nbsp; Thanks Guys!&lt;/p&gt;</description></item><item><title>Re: Getting error when trying to create data connection for querydb</title><link>https://www.infopathdev.com:443/forums/thread/50862.aspx</link><pubDate>Thu, 21 Jan 2010 15:33:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50862</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50862.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=50862</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You need quotation marks around the value of any XML attribute, so either:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;database=&amp;#39;#Resumes#&amp;#39;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;or&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;database=&amp;quot;#Resumes#&amp;quot; &lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: Getting error when trying to create data connection for querydb</title><link>https://www.infopathdev.com:443/forums/thread/50861.aspx</link><pubDate>Thu, 21 Jan 2010 15:26:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50861</guid><dc:creator>imstac</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50861.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=50861</wfw:commentRss><description>&lt;p&gt;When I use pound signs I get the following error below.&amp;nbsp; The code I am entering into the sample value is &amp;lt;query database=#Resumes# table=&amp;#39;Titles&amp;#39; maxrows=&amp;#39;2&amp;#39;&amp;gt;&amp;lt;columns&amp;gt;&amp;lt;column name=&amp;#39;TitleID&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Title&amp;#39;/&amp;gt;&amp;lt;/columns&amp;gt;&amp;lt;sort&amp;gt;&amp;lt;column name=&amp;#39;Title&amp;#39; order=&amp;#39;ASC&amp;#39;/&amp;gt;&amp;lt;/sort&amp;gt;&amp;lt;/query&amp;gt;&lt;/p&gt;
&lt;p&gt;Am I using the wrong query from the QueryDB?&lt;/p&gt;
&lt;p&gt;The SOAP response indicates that an error occurred on the server:&lt;/p&gt;
&lt;p&gt;System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&amp;gt; System.ArgumentException: Invalid parameter&lt;br /&gt;Parameter name: queryXml ---&amp;gt; System.Xml.XmlException: &amp;#39;#&amp;#39; is an unexpected token. The expected token is &amp;#39;&amp;quot;&amp;#39; or &amp;#39;&amp;#39;&amp;#39;. Line 1, position 17.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.Throw(Exception e)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.ParseAttributes()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.ParseElement()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.ParseDocumentContent()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.Read()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlDocument.Load(XmlReader reader)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlDocument.LoadXml(String xml)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.DataBaseService.QueryDBService.GetColumnsXMLStrQuery(String queryXml)&lt;br /&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.DataBaseService.QueryDBService.GetColumnsXMLStrQuery(String queryXml)&lt;br /&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Getting error when trying to create data connection for querydb</title><link>https://www.infopathdev.com:443/forums/thread/50858.aspx</link><pubDate>Thu, 21 Jan 2010 15:14:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50858</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50858.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=50858</wfw:commentRss><description>&lt;p&gt;Ok, I&amp;#39;ve thought of something. Can you try placing the database alias within pound signs (#, also called number sign or hash mark) when using&lt;br /&gt;QueryBuilder to build the queryxml?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;It&amp;#39;s interesting because you shouldn&amp;#39;t need a new line for a new SQL instance (&amp;lt;server name=&amp;quot;default&amp;quot; connectionString=&amp;quot;Data Source=(LOCAL);Integrated Security=True&amp;quot; /&amp;gt;). As you&amp;#39;ve said, this is where the QdabraDBXL and QdabraUtility databases exist, so the SQL instance is already registered with DBXL.&lt;/p&gt;&lt;p&gt;Anyway, give the # signs a try and let us know. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Getting error when trying to create data connection for querydb</title><link>https://www.infopathdev.com:443/forums/thread/50854.aspx</link><pubDate>Thu, 21 Jan 2010 14:56:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50854</guid><dc:creator>imstac</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50854.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=50854</wfw:commentRss><description>&lt;p&gt;The first line has not been changed and I have been using the Qdabra Administration tool with no problems.&amp;nbsp; All of the Qdabra databases are located on a remote server: ausdev2.&amp;nbsp; I went ahead and removed the inital catalog code from the first line though. &lt;/p&gt;
&lt;p&gt;I checked my code based on your suggestion above and it matches what you have.&amp;nbsp; Maybe the problem lies when I am entering the&amp;nbsp;query into the Infopath data connection.&amp;nbsp; I use the code of the first query from the query builder for the sample value of &lt;em&gt;tns:queryxml&lt;/em&gt;, correct? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Getting error when trying to create data connection for querydb</title><link>https://www.infopathdev.com:443/forums/thread/50824.aspx</link><pubDate>Wed, 20 Jan 2010 23:23:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50824</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50824.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=50824</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;The issue &lt;i&gt;might &lt;/i&gt;be here:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;server name=&amp;quot;default&amp;quot; connectionString=&amp;quot;Data Source=ausdev2;Initial Catalog=Resumes;Integrated Security=True&amp;quot; /&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Was the first line modified? It looks like it was... that first line should point to the SQL instance where the QdabraDBXL and QdabraSamples databases were installed. In my VM (clean install) it looks like this:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;server name=&amp;quot;default&amp;quot; connectionString=&amp;quot;Data Source=(LOCAL);Integrated Security=True&amp;quot; /&amp;gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;So as a first step, let&amp;#39;s try to fix that line (if you have a backup of web.config you can check whether it was changed).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;The new lines (for the remote SQL instance) should be:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;server name=&amp;quot;&amp;lt;instance alias&amp;gt;&amp;quot; connectionString=&amp;quot;Data Source=&amp;lt;instance name&amp;gt;;Integrated Security=True&amp;quot; /&amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;database alias=&amp;quot;&amp;lt;database alias&amp;gt;&amp;quot; name=&amp;quot;&amp;lt;database name&amp;gt;&amp;quot; server=&amp;quot;&amp;lt;instance alias&amp;gt;&amp;quot; /&amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;So in your case:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;server name=&amp;quot;myremoteinstance&amp;quot; connectionString=&amp;quot;Data
Source=ausdev2;Integrated Security=True&amp;quot; /&amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;database alias=&amp;quot;Resumes&amp;quot; name=&amp;quot;Resumes&amp;quot; server=&amp;quot;myremoteinstance&amp;quot; /&amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Getting error when trying to create data connection for querydb</title><link>https://www.infopathdev.com:443/forums/thread/50822.aspx</link><pubDate>Wed, 20 Jan 2010 22:55:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50822</guid><dc:creator>imstac</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50822.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=50822</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m receiving an error when trying to implement a static query using QueryDB.&amp;nbsp;&amp;nbsp;After I constructed the query in QueryDB I&amp;nbsp;copied the first query listed and pasted it into the sample value for &lt;i&gt;&lt;font size="2"&gt;tns:queryxml. &lt;/i&gt;&lt;/font&gt;The error indicates that my database is not registered.&amp;nbsp; In the instructions it states that I have to add my server and database to the web.config since the database is on a remote server.&amp;nbsp; I added the code to the web.config and constructed my queries using QueryDB. Obviously, I am doing something wrong to receive the error that I&amp;#39;m getting.&amp;nbsp;Below is my web.config code for the servers and databases tags.&amp;nbsp; My remote database server is ausdev2 and the name of the database is Resumes. I have also attached a snapshot of the query created in QueryDB.&amp;nbsp; Will someone tell me what I&amp;#39;m doing wrong? Thanks. &lt;/p&gt;
&lt;p&gt;&amp;lt;servers&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;server name=&amp;quot;default&amp;quot; connectionString=&amp;quot;Data Source=ausdev2;Initial Catalog=Resumes;Integrated Security=True&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;server name=&amp;quot;ausdev2&amp;quot; connectionString=&amp;quot;Data Source=ausdev2;Integrated Security=True&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!-- Define additional servers to easily switch database aliases from different environments --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!-- NOTE: server name attribute must be unique within this list --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!-- EXAMPLE: --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!--&amp;lt;server name=&amp;quot;PRODUCTIONSERVER&amp;quot; connectionString=&amp;quot;Integrated Security=SSPI;data source=RemoteMachine\SqlServer&amp;quot;/&amp;gt;--&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!--&amp;lt;server name=&amp;quot;TESTSERVER&amp;quot; connectionString=&amp;quot;Integrated Security=SSPI;data source=RemoteMachine\SqlServer&amp;quot;/&amp;gt;--&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/servers&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;databases&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!-- DBXLDB is a predefined alias and does not need to be declared --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!-- NOTE: alias attribute must be unique within this list --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;database alias=&amp;quot;Resumes&amp;quot; name=&amp;quot;Resumes&amp;quot; server=&amp;quot;ausdev2&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;database alias=&amp;quot;QdabraSamples&amp;quot; name=&amp;quot;QdabraSamples&amp;quot; server=&amp;quot;default&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!-- EXAMPLE: --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!--&amp;lt;database alias=&amp;quot;NameUsedInEnumDBCalls&amp;quot; name=&amp;quot;ActualDatabaseNameOn_RemoteMachine_SqlServer&amp;quot; server=&amp;quot;TESTSERVER&amp;quot;/&amp;gt;--&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/databases&amp;gt;&lt;/p&gt;</description></item></channel></rss>