<?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: An error occurred accessing a data source.</title><link>https://www.infopathdev.com:443/forums/thread/71137.aspx</link><pubDate>Mon, 17 Oct 2011 14:23:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71137</guid><dc:creator>cclayton</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71137.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=71137</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi &lt;b&gt;Clayton Cobb&lt;/b&gt;&lt;/p&gt;&lt;p&gt;I am using the UserProfileService and getting the 5566 error. Can you please troubleshoot this issue with me?&lt;/p&gt;&lt;p&gt;It works in InfoPath (form preview) but not published as a browser form. This is a SharePoint custom list form and I have created the Data Connection library with the .udcx file.&lt;/p&gt;&lt;p&gt;Please help. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: An error occurred accessing a data source.</title><link>https://www.infopathdev.com:443/forums/thread/48703.aspx</link><pubDate>Thu, 05 Nov 2009 18:48:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48703</guid><dc:creator>mcgraw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48703.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=48703</wfw:commentRss><description>&lt;p&gt;Found a solution.&amp;nbsp; &lt;a href="http://support.microsoft.com/kb/926642"&gt;http://support.microsoft.com/kb/926642&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: An error occurred accessing a data source.</title><link>https://www.infopathdev.com:443/forums/thread/48690.aspx</link><pubDate>Thu, 05 Nov 2009 15:42:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48690</guid><dc:creator>mcgraw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48690.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=48690</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m receiving the 5566 error for a similar situation.&amp;nbsp; I have a infopath form that I&amp;#39;m trying to auto populate the user&amp;#39;s name on thru active directory web service.&amp;nbsp; The form works fine in preview mode.&amp;nbsp; I published the form to Sharepoint and it also works fine there as long as it&amp;#39;s being opened in the client application, but when open as a browser enabled form I get the 5566 error.&amp;nbsp; Anyone else seen this problem?&lt;/p&gt;</description></item><item><title>Re: An error occurred accessing a data source.</title><link>https://www.infopathdev.com:443/forums/thread/48686.aspx</link><pubDate>Thu, 05 Nov 2009 13:49:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48686</guid><dc:creator>Barb09</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48686.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=48686</wfw:commentRss><description>&lt;p&gt;Thanks, both of you!&amp;nbsp; userName() will be all I need, so I&amp;#39;ll remove the Web service connection, and run the comparisons like you said.&amp;nbsp; Perfect.&lt;/p&gt;
&lt;p&gt;(I realized after I posted my earlier message that the error may be occuring because the form is still in our Test environment.&amp;nbsp; If I ever do need the Web service (which is a nice tool), I should first try it out on our Production servers to see if I still get the error.)&lt;/p&gt;
&lt;p&gt;I really like using InfoPath for this large web form I&amp;#39;ve created for global use&amp;nbsp;-- but I&amp;#39;ve had to troubleshoot one thing after another.&amp;nbsp; Quite a learning experience!&lt;/p&gt;</description></item><item><title>Re: An error occurred accessing a data source.</title><link>https://www.infopathdev.com:443/forums/thread/48669.aspx</link><pubDate>Thu, 05 Nov 2009 07:19:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48669</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48669.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=48669</wfw:commentRss><description>&lt;p&gt;Yeah, if you only need to compare the username, then use the userName() function like Qazi said.&amp;nbsp; If you need other profile info for the user for certain fields or comparisons, then you still need to use it.&lt;/p&gt;
&lt;p&gt;What exactly are you doing with the profile data that comes back from the UserProfileService.&amp;nbsp; The way the methods work in that web service is they send the current user&amp;#39;s name by default.&amp;nbsp; So, they don&amp;#39;t even work without first knowing the username, which you can get without querying the web service or even adding it to your form.&lt;/p&gt;
&lt;p&gt;If you do need this service - I use it in all of my forms - then we can troubleshoot the standard 5566 error, so let us know.&lt;/p&gt;</description></item><item><title>Re: An error occurred accessing a data source.</title><link>https://www.infopathdev.com:443/forums/thread/48664.aspx</link><pubDate>Thu, 05 Nov 2009 06:21:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48664</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48664.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=48664</wfw:commentRss><description>&lt;p&gt;hi barb09,&lt;/p&gt;
&lt;p&gt;i dont think u need to use the userprofileservice necessarly, first time the form is created set value of field box (say author) to username(), and later on keep comparing this field with username() ,whenever the form is opened and fire your rules accordingly. &lt;/p&gt;
&lt;p&gt;username() is a function available in infopath that gives the username of the current user.&lt;/p&gt;</description></item><item><title>Re: An error occurred accessing a data source.</title><link>https://www.infopathdev.com:443/forums/thread/48640.aspx</link><pubDate>Wed, 04 Nov 2009 22:30:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48640</guid><dc:creator>Barb09</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48640.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=48640</wfw:commentRss><description>&lt;p&gt;I am using the UserProfileService, and am also getting this error.&amp;nbsp; I usually only get the error myself when the form has been open for a while.&amp;nbsp; On a remote test, I saw a user get the error every time they created a new document.&lt;/p&gt;
&lt;p&gt;The UserProfileService is&amp;nbsp;a UCDX connection that retrieves data on Form Open.&amp;nbsp; (The first time the form opens, I assign a document author.&amp;nbsp; On subsequent opens, I get the current user&amp;#39;s profile, and compare user name against the author to see if I will allow the user to save changes.)&lt;/p&gt;
&lt;p&gt;I see posts mentioning load sharing and server farm, but I&amp;#39;m not an admin.&amp;nbsp; Is there something I can do myself for the InfoPath form to fix this problem?&amp;nbsp; (e.g., use a different method to obtain user.)&amp;nbsp; Or is there something I need to ask an Admin to do in Sharepoint Administration so this error doesn&amp;#39;t happen?&lt;/p&gt;
&lt;p&gt;Thanks for any advice you can give!&lt;/p&gt;</description></item><item><title>Re: An error occurred accessing a data source.</title><link>https://www.infopathdev.com:443/forums/thread/44882.aspx</link><pubDate>Fri, 24 Jul 2009 01:20:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44882</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44882.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=44882</wfw:commentRss><description>&lt;p&gt;It&amp;#39;s not fine.&amp;nbsp; One of your data connections is not working and is not pulling down data.&amp;nbsp; The form will work normally other than that data connection(s).&amp;nbsp; Does this form have the UserProfileService added?&lt;/p&gt;
&lt;p&gt;What did you mean by &amp;quot;upload&amp;quot;?&amp;nbsp; You don&amp;#39;t upload form templates - you only publish them.&amp;nbsp; If uploaded, they won&amp;#39;t work properly, so I want to make sure that&amp;#39;s not what you really meant.&lt;/p&gt;</description></item><item><title>An error occurred accessing a data source.</title><link>https://www.infopathdev.com:443/forums/thread/44878.aspx</link><pubDate>Thu, 23 Jul 2009 23:58:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44878</guid><dc:creator>Dragonight</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44878.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=44878</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Due to a problem I had after I installed Active Directory, I had to reinstall MOSS.&amp;nbsp; Now, in my forms library, I reuploaded the same form (which worked fine previously) and when it opens I get this message:&lt;/p&gt;&lt;p&gt;Warning &lt;br /&gt;&lt;/p&gt;&lt;div id="DialogErrorDialogMessage"&gt;
&lt;table style="table-layout:fixed;"&gt;

&lt;tr&gt;
&lt;td class="ErrorPageNormalText" id="ErrorDialogShortMessage"&gt;There has been an error 
while processing the form.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="ErrorPageNormalText"&gt;Click &lt;b&gt;Continue&lt;/b&gt; to resume filling out the 
form. You may want to check your form data for errors.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="ErrorPageNormalText"&gt;Click &lt;b&gt;Start Over&lt;/b&gt; to load a new copy of the 
form.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;
&lt;table style="margin:0px;display:inline;"&gt;

&lt;tr&gt;
&lt;td&gt;An error occurred accessing a data source.&lt;br /&gt;&lt;br /&gt;
&lt;div&gt;An entry has been added to the Windows event log of the server. &lt;/div&gt;
&lt;div&gt;&lt;span class="ErrorPageEmphasisText"&gt;Log ID:&lt;/span&gt;&lt;span&gt;5566&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But, when I select &amp;#39;Continue&amp;#39;, everything seems to work fine.&amp;nbsp; At the same time, I do need to get rid of this error message.&amp;nbsp; How can I fix this?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</description></item></channel></rss>