<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Error while querying the data source</title><link>https://www.infopathdev.com:443/forums/thread/74219.aspx</link><pubDate>Thu, 19 Jan 2012 00:47:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74219</guid><dc:creator>azandbergen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74219.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=74219</wfw:commentRss><description>SOLVED: 


Instead of using InfoPath&amp;#39;s data connections to connect to the SQL database, I just used custom VB code to handle the queries and it&amp;#39;s uploading fine now!</description></item><item><title>Re: Error while querying the data source</title><link>https://www.infopathdev.com:443/forums/thread/74199.aspx</link><pubDate>Wed, 18 Jan 2012 17:21:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74199</guid><dc:creator>azandbergen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74199.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=74199</wfw:commentRss><description>&lt;div style="text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" id="DialogErrorDialogMessage"&gt;&lt;table style="table-layout:fixed;"&gt;&lt;tr&gt;&lt;td style="padding-top:4px;padding-bottom:8px;font-family:tahoma;font-size:8pt;font-weight:normal;" id="ErrorDialogShortMessage" class="ErrorPageNormalText"&gt;&lt;p&gt;&lt;font size="2"&gt;Okay so I tried to redo the whole uploading process again so I could start from scratch. I readded the submit method (Submit to SharePoint Library) and redid the Publish options (Administrator-approved form, published to a location on my desktoo) and then went into Central Administration &amp;gt; Manage Form Templates &amp;gt; Upload, and then I uploaded my Form. I then activated it to the site collection, and went to my Form Library settings and added the content type of my form and made it the default. Then to try it out, I clicked +Add Document....and then got this error immediately:&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There has been an error while loading the form.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-top:4px;padding-bottom:8px;font-family:tahoma;font-size:8pt;font-weight:normal;" class="ErrorPageNormalText"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-top:4px;padding-bottom:8px;font-family:tahoma;font-size:8pt;font-weight:normal;" class="ErrorPageNormalText"&gt;Click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Try Again&lt;/b&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;to attempt to load the form again. If this error persists, contact the support team for the Web site.&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Close&lt;/b&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;to exit this message.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;table style="margin:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;display:inline;white-space:normal;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;tr&gt;&lt;td&gt;&lt;a style="font-family:tahoma;font-size:8pt;font-style:italic;text-decoration:none;" id="ErrorDialogDetailsLink" class="ErrorPageItalicText" href="http://lp298/_layouts/FormServer.aspx?XsnLocation=http://lp298/FormServerTemplates/QIT.xsn&amp;amp;SaveLocation=http%3A%2F%2Flp298%2FQuality%20Improvement&amp;amp;ClientInstalled=false&amp;amp;Source=http%3A%2F%2Flp298%2FQuality%2520Improvement%2FForms%2FAllItems%2Easpx&amp;amp;DefaultItemOpen=1#"&gt;Hide error details&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="display:inline;" id="ErrorDialogDetailsSection"&gt;&lt;div style="padding:2px;width:397px;height:100px;color:black;font-family:tahoma;font-size:8pt;margin-top:3px;overflow-x:auto;overflow-y:auto;word-wrap:break-word;border-image:initial;" class="ErrorPageDetailsText"&gt;&lt;div&gt;&lt;span style="font-family:tahoma;font-size:8pt;font-weight:bold;" class="ErrorPageEmphasisText"&gt;Correlation ID:&lt;/span&gt;&lt;span&gt;754b62b0-df7c-4c29-8404-2b188eb72897&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;p&gt;I don&amp;#39;t know what I did wrong.. as far as I can remember, I followed the steps perfectly the get a form to work on my site... I wanted to try and see if could do what you suggested but&amp;nbsp;I can&amp;#39;t even get to this step..&lt;/p&gt;&lt;p&gt;Also, I&amp;#39;ve been uploading and deleting form templates all day, and the list stays updated in Manage Form Templates. However, when I go to add the content type&amp;nbsp;to my form library, in the list of available content types it still shows all of the other templates that have been deleted already, is there a way to refresh this list??&lt;/p&gt;&lt;p&gt;i&amp;#39;m so lost right now&lt;/p&gt;</description></item><item><title>Re: Error while querying the data source</title><link>https://www.infopathdev.com:443/forums/thread/74175.aspx</link><pubDate>Wed, 18 Jan 2012 10:25:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74175</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74175.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=74175</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;Sorry about your issue.&lt;/p&gt;
&lt;p&gt;For #1, either you or your admin should approve the UDC file created in the data connection library, or have you done that already?&lt;/p&gt;</description></item><item><title>Error while querying the data source</title><link>https://www.infopathdev.com:443/forums/thread/74097.aspx</link><pubDate>Tue, 17 Jan 2012 19:19:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74097</guid><dc:creator>azandbergen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74097.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=74097</wfw:commentRss><description>&lt;p style="border-width:0px;margin:1em 0px;padding:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;list-style-type:none;white-space:normal;outline-width:0px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Hello,&lt;/p&gt;&lt;p style="border-width:0px;margin:1em 0px;padding:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;list-style-type:none;white-space:normal;outline-width:0px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;I&amp;#39;m running into some more problems while designing my forms. I am using InfoPath 2010 and SharePoint 2010 Server&lt;/p&gt;&lt;p style="border-width:0px;margin:1em 0px;padding:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;list-style-type:none;white-space:normal;outline-width:0px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;I have a form that gathers information and it has a header section that pre-populates fields with information such as the current user, data, form number etc&lt;/p&gt;&lt;p style="border-width:0px;margin:1em 0px;padding:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;list-style-type:none;white-space:normal;outline-width:0px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;I have two problems with this form:&lt;/p&gt;&lt;p style="border-width:0px;margin:1em 0px;padding:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;list-style-type:none;white-space:normal;outline-width:0px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;1) I try to populate the Office field by querying an SQL database with employee information. I am pulling the current user&amp;#39;s real name via a web service and I would do the same for the Office field but we don&amp;#39;t store the office information in AD, we store it and other information in an SQL database. So fine, I created a data connection to that database, and it pulls that information from the table. It works perfectly fine in Preview mode, however when I publish and upload to my site and I try to Add Document, it throws a pretty common error (error while querying data source). I&amp;#39;ve looked it up and it appears to be a pretty common problem but everything people have said and everything in the Event log didn&amp;#39;t work to fix the problem.&lt;/p&gt;&lt;p style="border-width:0px;margin:1em 0px;padding:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;list-style-type:none;white-space:normal;outline-width:0px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;I have tried:&lt;/p&gt;&lt;p style="border-width:0px;margin:1em 0px;padding:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;list-style-type:none;white-space:normal;outline-width:0px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="border-width:0px;margin:0px;padding:0px;font-family:inherit;font-style:inherit;font-weight:inherit;white-space:pre;outline-width:0px;border-image:initial;"&gt;&lt;/span&gt;-Changing the form to Full Trust&lt;/p&gt;&lt;p style="border-width:0px;margin:1em 0px;padding:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;list-style-type:none;white-space:normal;outline-width:0px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="border-width:0px;margin:0px;padding:0px;font-family:inherit;font-style:inherit;font-weight:inherit;white-space:pre;outline-width:0px;border-image:initial;"&gt;&lt;/span&gt;-&amp;quot;Allow cross-domain data access for user form templates that use connection settings in a data connection file&amp;quot; is checked&lt;/p&gt;&lt;p style="border-width:0px;margin:1em 0px;padding:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;list-style-type:none;white-space:normal;outline-width:0px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="border-width:0px;margin:0px;padding:0px;font-family:inherit;font-style:inherit;font-weight:inherit;white-space:pre;outline-width:0px;border-image:initial;"&gt;&lt;/span&gt;-I have tried converting the data connection to a file and have it both in a Data Connection Library and under Manage Connection Files&lt;/p&gt;&lt;p style="border-width:0px;margin:1em 0px;padding:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;list-style-type:none;white-space:normal;outline-width:0px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="border-width:0px;margin:0px;padding:0px;font-family:inherit;font-style:inherit;font-weight:inherit;white-space:pre;outline-width:0px;border-image:initial;"&gt;&lt;/span&gt;-I&amp;#39;ve tried deleting all the connections and re-doing them by re-converting and re-uploading etc.&amp;nbsp;&lt;/p&gt;&lt;p style="border-width:0px;margin:1em 0px;padding:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;list-style-type:none;white-space:normal;outline-width:0px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;I&amp;#39;m at my wits&amp;#39; end with this problem.. I need to get it working but I just can&amp;#39;t seem to do it. If anybody can help in any way I greatly appreciate it.&lt;/p&gt;&lt;p style="border-width:0px;margin:1em 0px;padding:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;list-style-type:none;white-space:normal;outline-width:0px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;2) Another of the fields in the header is a form number. The form number has the following format: &amp;quot;QI-YYYY-###&amp;quot;, where YYYY is the year (easy enough to retrieve and filter using substring() and today()..) but I can&amp;#39;t figure out the sequential numbering. I&amp;#39;ve read a bunch of threads and blogs about it but I can&amp;#39;t get it to work for me. I don&amp;#39;t want to use buttons on my form or anything I just need the form to look up the highest number from the library, and make that form number the next one (taking into account and addressing the fact that two people might open a new form at the same time and get the same form number) and adding leading zeros so that if there are two forms in the library with QI-2012-001 and QI-2012-002 then when the next form is submitted it looks up the highest number and makes the form QI-2012-003 and so on... and then at the new year, the numbering restarts at QI-2013-001. I know I need to use data connections to lookup the highest form number using the max() function and so on but I need to do this without using buttons on the form or anything.. so when the user clicks Submit on the ribbon, it does this look up. I realize these are somewhat complex requirements but if anyone knows ANYTHING that can help me, please let me know!&lt;/p&gt;&lt;p style="border-width:0px;margin:1em 0px;padding:0px;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;list-style-type:none;white-space:normal;outline-width:0px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Thanks in advance guys &amp;amp; gals :)&lt;/p&gt;</description></item></channel></rss>