<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/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>Ben Walters InfoPath MVP : SharePoint 2007</title><link>http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+2007/default.aspx</link><description>Tags: SharePoint 2007</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>SharePoint Saturday Sydney Registrations now open</title><link>http://msmvps.com/blogs/benwalters/archive/2009/06/18/sharepoint-saturday-sydney-registrations-now-open.aspx</link><pubDate>Thu, 18 Jun 2009 01:11:16 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1695750</guid><dc:creator>Ben Walters</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/rsscomments.aspx?PostID=1695750</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/commentapi.aspx?PostID=1695750</wfw:comment><comments>http://msmvps.com/blogs/benwalters/archive/2009/06/18/sharepoint-saturday-sydney-registrations-now-open.aspx#comments</comments><description>Registrations for SharePoint Saturday Sydney are now open, so if you are planning to attend I recommend you head over now and follow the “Click to Attend” link Also don’t forget if you have any session ideas you can also forward them through using the...(&lt;a href="http://msmvps.com/blogs/benwalters/archive/2009/06/18/sharepoint-saturday-sydney-registrations-now-open.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1695750" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+Saturday/default.aspx">SharePoint Saturday</category></item><item><title>ANNOUNCING SharePoint Saturday Sydney!</title><link>http://msmvps.com/blogs/benwalters/archive/2009/06/08/announcing-sharepoint-saturday-sydney.aspx</link><pubDate>Mon, 08 Jun 2009 02:01:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1695677</guid><dc:creator>Ben Walters</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/rsscomments.aspx?PostID=1695677</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/commentapi.aspx?PostID=1695677</wfw:comment><comments>http://msmvps.com/blogs/benwalters/archive/2009/06/08/announcing-sharepoint-saturday-sydney.aspx#comments</comments><description>It’s official SharePoint Saturday will be happening on the 8th of August at the Microsoft office in North Ryde. For those of you who don’t know SharePoint Saturday is the tech community craze that’s been sweeping the U.S. (and more recently the world...(&lt;a href="http://msmvps.com/blogs/benwalters/archive/2009/06/08/announcing-sharepoint-saturday-sydney.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1695677" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+Designer/default.aspx">SharePoint Designer</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/Office+2007/default.aspx">Office 2007</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/MOSS+SP2/default.aspx">MOSS SP2</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+Saturday/default.aspx">SharePoint Saturday</category></item><item><title>Get SharePoint host headers working locally in Windows 2008 R2</title><link>http://msmvps.com/blogs/benwalters/archive/2009/06/04/get-sharepoint-host-headers-working-locally-in-windows-2008-r2.aspx</link><pubDate>Thu, 04 Jun 2009 06:09:52 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1693828</guid><dc:creator>Ben Walters</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/rsscomments.aspx?PostID=1693828</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/commentapi.aspx?PostID=1693828</wfw:comment><comments>http://msmvps.com/blogs/benwalters/archive/2009/06/04/get-sharepoint-host-headers-working-locally-in-windows-2008-r2.aspx#comments</comments><description>So as we all know by now I recently rebuilt my machine with Windows 2008 R2. My main reason for doing this is so I could have a fully functional SharePoint development environment that runs locally without the need for virtual machines. Plus I now have...(&lt;a href="http://msmvps.com/blogs/benwalters/archive/2009/06/04/get-sharepoint-host-headers-working-locally-in-windows-2008-r2.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1693828" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/MOSS+SP2/default.aspx">MOSS SP2</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/Windows+2008+R2/default.aspx">Windows 2008 R2</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>SharePoint Timer Service issues when upgrading to SP2</title><link>http://msmvps.com/blogs/benwalters/archive/2009/05/19/sharepoint-timer-service-issues-when-upgrading-to-sp2.aspx</link><pubDate>Tue, 19 May 2009 01:35:22 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1692657</guid><dc:creator>Ben Walters</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/rsscomments.aspx?PostID=1692657</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/commentapi.aspx?PostID=1692657</wfw:comment><comments>http://msmvps.com/blogs/benwalters/archive/2009/05/19/sharepoint-timer-service-issues-when-upgrading-to-sp2.aspx#comments</comments><description>Last week I had my first official deployment of SharePoint SP2 in the field. While most of the install succeeded with out any issues I did run into a problem while I was attempting to run the configuration wizard. The error I received indicated that the...(&lt;a href="http://msmvps.com/blogs/benwalters/archive/2009/05/19/sharepoint-timer-service-issues-when-upgrading-to-sp2.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1692657" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/STSADM/default.aspx">STSADM</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/MOSS+SP2/default.aspx">MOSS SP2</category></item><item><title>SharePoint 503 Service Unavailable Error</title><link>http://msmvps.com/blogs/benwalters/archive/2009/03/24/sharepoint-503-service-unavailable-error.aspx</link><pubDate>Tue, 24 Mar 2009 01:31:11 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1680771</guid><dc:creator>Ben Walters</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/rsscomments.aspx?PostID=1680771</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/commentapi.aspx?PostID=1680771</wfw:comment><comments>http://msmvps.com/blogs/benwalters/archive/2009/03/24/sharepoint-503-service-unavailable-error.aspx#comments</comments><description>For the last couple of days I’ve been doing some work on a SharePoint event handler which was progressing at a good rate until I started getting a “503 Service unavailable” error after deploying an update. After some searching it turned out that when...(&lt;a href="http://msmvps.com/blogs/benwalters/archive/2009/03/24/sharepoint-503-service-unavailable-error.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1680771" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/MOSS/default.aspx">MOSS</category></item><item><title>SharePoint Designer at no extra cost</title><link>http://msmvps.com/blogs/benwalters/archive/2009/03/19/sharepoint-designer-at-no-extra-cost.aspx</link><pubDate>Wed, 18 Mar 2009 21:14:02 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1679136</guid><dc:creator>Ben Walters</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/rsscomments.aspx?PostID=1679136</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/commentapi.aspx?PostID=1679136</wfw:comment><comments>http://msmvps.com/blogs/benwalters/archive/2009/03/19/sharepoint-designer-at-no-extra-cost.aspx#comments</comments><description>Wow where does the time go I just had a look and my last post was on the 27 of Jan lot has happened since then and lots to tell but this is a quick post before I head back out in to the fray. I got news the other day that SharePoint Designer that Application...(&lt;a href="http://msmvps.com/blogs/benwalters/archive/2009/03/19/sharepoint-designer-at-no-extra-cost.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1679136" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+Designer/default.aspx">SharePoint Designer</category></item><item><title>SharePoint Designer Workflow Gottcha</title><link>http://msmvps.com/blogs/benwalters/archive/2009/01/17/sharepoint-designer-workflow-gottcha.aspx</link><pubDate>Sat, 17 Jan 2009 13:06:02 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1662521</guid><dc:creator>Ben Walters</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/rsscomments.aspx?PostID=1662521</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/commentapi.aspx?PostID=1662521</wfw:comment><comments>http://msmvps.com/blogs/benwalters/archive/2009/01/17/sharepoint-designer-workflow-gottcha.aspx#comments</comments><description>Recently I’ve been working on improving some internal processes at Stargate, one of these processes related to submitting travel requests. I ran into issues however, when I started building the workflow in SharePoint designer. My workflow was pretty simple...(&lt;a href="http://msmvps.com/blogs/benwalters/archive/2009/01/17/sharepoint-designer-workflow-gottcha.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1662521" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/benwalters/archive/tags/InfoPath+Form+Development/default.aspx">InfoPath Form Development</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/Workflow/default.aspx">Workflow</category></item><item><title>SharePoint Server 2007 Anonymous Access Gotcha!</title><link>http://msmvps.com/blogs/benwalters/archive/2008/04/03/sharepoint-server-2007-anonymous-access-gotcha.aspx</link><pubDate>Thu, 03 Apr 2008 04:51:13 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1568465</guid><dc:creator>Ben Walters</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/rsscomments.aspx?PostID=1568465</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/commentapi.aspx?PostID=1568465</wfw:comment><comments>http://msmvps.com/blogs/benwalters/archive/2008/04/03/sharepoint-server-2007-anonymous-access-gotcha.aspx#comments</comments><description>&lt;p&gt;Today for the first time I was attempting to create a SharePoint site with Anonymous Access. As I usually do when attempting to trying something new I fired up my MOSSDEMO image and promptly created a new web application. However after following all the steps to the letter in &lt;a href="http://www.microsoft.com/MSPress/books/10472.aspx" target="_blank"&gt;Inside Microsoft Office SharePoint Server 2007&lt;/a&gt; book I was still being prompted for windows credentials when I attempted to access the site. &lt;/p&gt; &lt;p&gt;After attempting the set up 2 or 3 times it dawned on me, &amp;quot;I was using windows authentication to access the WSS_Content database&amp;quot; so when I hit my site SharePoint was passing through the authorisation request hence resulting in a prompt for windows credentials.&lt;/p&gt; &lt;p&gt;After creating a SharePointSvc account on my SQL server and setting up yet another web application my Anonymous access was up and running. Now to get forms authentication going!&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://msmvps.com/blogs/benwalters/WindowsLiveWriter/SharePointServer2007AnonymousAccessGotch_DEE6/image_2.png"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="238" alt="image" src="http://msmvps.com/blogs/benwalters/WindowsLiveWriter/SharePointServer2007AnonymousAccessGotch_DEE6/image_thumb.png" width="764" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;em&gt;[Update:] &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.google.com/imgres?imgurl=http://images.jupiterimages.com/common/detail/53/78/23367853.jpg&amp;amp;imgrefurl=http://www.jupiterimages.com/itemDetail.aspx%3FitemID%3D23367853&amp;amp;h=74&amp;amp;w=111&amp;amp;sz=20&amp;amp;tbnid=KfJKiX4QUi4J:&amp;amp;tbnh=74&amp;amp;tbnw=111&amp;amp;prev=/images%3Fq%3DEgg%2Bon%2Bface&amp;amp;sa=X&amp;amp;oi=image_result&amp;amp;resnum=1&amp;amp;ct=image&amp;amp;cd=3"&gt;&lt;img title="" height="74" alt="" src="http://tbn0.google.com/images?q=tbn:KfJKiX4QUi4J:images.jupiterimages.com/common/detail/53/78/23367853.jpg" width="111" align="middle" border="1" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Ok so put some egg on my face turns out my issue had noting to do with using a SQL account my problem was that my Network Service account didn&amp;#39;t have access to my WSS Content database, added the service account to my SQL server and Bob&amp;#39;s my uncle everything worked a treat.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1568465" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/MOSS/default.aspx">MOSS</category></item><item><title>MOSSIG follow up SharePoint installer project from Codeplex</title><link>http://msmvps.com/blogs/benwalters/archive/2008/02/27/mossig-follow-up-sharepoint-installer-project-from-codeplex.aspx</link><pubDate>Wed, 27 Feb 2008 03:00:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1525740</guid><dc:creator>Ben Walters</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/rsscomments.aspx?PostID=1525740</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/commentapi.aspx?PostID=1525740</wfw:comment><comments>http://msmvps.com/blogs/benwalters/archive/2008/02/27/mossig-follow-up-sharepoint-installer-project-from-codeplex.aspx#comments</comments><description>&lt;p&gt;Hey everyone as promised &lt;a href="http://www.codeplex.com/sharepointinstaller" target="_blank"&gt;here&lt;/a&gt; is the link to the SharePoint web Part project template for Visual Studio 2008 that I showed last night. &lt;/p&gt; &lt;p&gt;Also don&amp;#39;t forget Will mentioned that a full VSE for Visual Studio 2008 is due out in the next couple of months. I&amp;#39;ll do my best to put up link to this as soon as I know more. &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Finally a big thanks to all who attended and presented last night, and don&amp;#39;t forget to checkout &lt;a href="http://www.mossig.net" target="_blank"&gt;MOSSIG.Net&lt;/a&gt; for all details on upcoming presentations and news.&lt;/p&gt; &lt;div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:34c5dffc-b754-4762-ba84-97f0adcde7ed" style="padding-right:0px;display:inline;padding-left:0px;float:none;padding-bottom:0px;margin:0px;padding-top:0px;"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Codeplex" rel="tag"&gt;Codeplex&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SharePoint" rel="tag"&gt;SharePoint&lt;/a&gt;,&lt;a href="http://technorati.com/tags/MOSS" rel="tag"&gt;MOSS&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Webpart" rel="tag"&gt;Webpart&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1525740" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/benwalters/archive/tags/MOSSIG/default.aspx">MOSSIG</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/.Net/default.aspx">.Net</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/WebPart+Development/default.aspx">WebPart Development</category></item><item><title>Using the Content Query Web part on MySite</title><link>http://msmvps.com/blogs/benwalters/archive/2008/02/25/using-the-content-query-webpart-on-mysite.aspx</link><pubDate>Mon, 25 Feb 2008 09:06:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1523924</guid><dc:creator>Ben Walters</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/rsscomments.aspx?PostID=1523924</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/commentapi.aspx?PostID=1523924</wfw:comment><comments>http://msmvps.com/blogs/benwalters/archive/2008/02/25/using-the-content-query-webpart-on-mysite.aspx#comments</comments><description>&lt;p&gt;So I was out on client site today attempting to setup the content query web part on a MySite, after exporting the web part and re-importing it to the my site I then got a &amp;quot;Could not load XSL file. The system cannot find the file specified&amp;quot; error. After google failed to provide me an answer I decided to have a play around with the site settings for the MySite and found that if I enabled the &amp;quot;Office SharePoint Server Publishing Infrastructure&amp;quot; site collection features the content query web part started working like a charm. Not only that but if I deactivated the feature afterwards the web part would continue to function normally&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1523924" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category></item><item><title>Contact Selector the Good and the Bad</title><link>http://msmvps.com/blogs/benwalters/archive/2007/07/13/contact-selector-the-good-and-the-bad.aspx</link><pubDate>Fri, 13 Jul 2007 11:39:51 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1019244</guid><dc:creator>Ben Walters</dc:creator><slash:comments>8</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/rsscomments.aspx?PostID=1019244</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/benwalters/commentapi.aspx?PostID=1019244</wfw:comment><comments>http://msmvps.com/blogs/benwalters/archive/2007/07/13/contact-selector-the-good-and-the-bad.aspx#comments</comments><description>&lt;p dir="ltr" style="margin-right:0px;"&gt;This week I was working on an InfoPath solution that required&amp;nbsp;the use of the Contact Selector Control that is included with InfoPath, basically this is an Active X control that you can use as a way of selecting accounts that exist on your SharePoint server (for more info on the control and how to set it up check out&amp;nbsp;this post from the &lt;a href="http://blogs.msdn.com/infopath/archive/2007/02/28/using-the-contact-selector-control.aspx" target="_blank"&gt;InfoPath team blog&lt;/a&gt;)&amp;nbsp;Now there is a standing rule that Active X controls don&amp;#39;t work in form services however this control is the exception to that rule and can be used in a browser enabled form. This being said there are some pit falls to keep in mind when using this control with managed code in a browser based deployment as you&amp;#39;ll see below.&lt;/p&gt; &lt;p&gt;While I didn&amp;#39;t have any&amp;nbsp;trouble getting the control working I did have&amp;nbsp;a requirement where by I needed to&amp;nbsp;limit the number of contacts selected to 1. Now on the post noted above it is recommended to use the following code on the Validating event of the controls container group to add an error to the forms error collection hence preventing the user from submitting the form before continuing.&lt;/p&gt; &lt;p&gt;if (e.Operation == XmlOperation.Insert)&lt;/p&gt; &lt;p&gt;{&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt; &lt;p&gt;if (e.Site.SelectChildren(XPathNodeType.Element).Count &amp;gt; 1)&lt;/p&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;{&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.ReportError(e.Site, false, Message, &amp;quot;Only 1 user can be selected!&amp;quot;);&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;}&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;}&lt;/p&gt; &lt;p&gt;This code worked great in the client version of the form however when I ran the browser version of the form, I found that this code would not run reliably. &lt;/p&gt; &lt;p&gt;If I entered 2 surnames to validate lets say &amp;quot;Smith&amp;quot; and &amp;quot;Jones&amp;quot; then clicked the validate button&lt;a href="http://msmvps.com/blogs/benwalters/WindowsLiveWriter/ContactSelectortheGoodandtheBad_14FA0/image_1.png"&gt;&lt;img style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px;" alt="image" src="http://msmvps.com/blogs/benwalters/WindowsLiveWriter/ContactSelectortheGoodandtheBad_14FA0/image_thumb_1.png" border="0" /&gt;&lt;/a&gt;&amp;nbsp; the names would be resolved from the server and the control would be updated accordingly. However it seemed that the validation code had not run as there was no error being displayed. If I clicked the validate button &lt;a href="http://msmvps.com/blogs/benwalters/WindowsLiveWriter/ContactSelectortheGoodandtheBad_14FA0/image_2.png"&gt;&lt;img style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px;" alt="image" src="http://msmvps.com/blogs/benwalters/WindowsLiveWriter/ContactSelectortheGoodandtheBad_14FA0/image_thumb_2.png" border="0" /&gt;&lt;/a&gt;&amp;nbsp;a second time the error would then be displayed. From what I could tell the form was either not posting back to the server correctly or the web version of the form wasn&amp;#39;t being refreshed. As there is no option to force the control to post back to the server. This meant I could end up with a validation error on the form that wasn&amp;#39;t visible to the user but would prevent the from submitting back to the server.&lt;/p&gt; &lt;p&gt;With my first&amp;nbsp;attempt&amp;nbsp;shot down for the time being I decided to take another approach, and add the following code to the Changed Event of the containing group that would remove all existing person records that didn&amp;#39;t exist at Index 1.&lt;/p&gt; &lt;p&gt;if (e.Operation == XmlOperation.Insert) &lt;p&gt;{ &lt;blockquote&gt; &lt;p&gt;for (int i = e.Site.SelectChildren(XPathNodeType.Element).Count; i &amp;gt;= e.Site.SelectChildren(XPathNodeType.Element).Count &amp;amp;&amp;amp; i &amp;gt; 1; i--)&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;{&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Site.SelectSingleNode(&amp;quot;./my:Person[&amp;quot; + i + &amp;quot;]&amp;quot;, this.NamespaceManager).DeleteSelf();&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;}&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;} &lt;p&gt;This code worked pretty well in the client version of the form as well, however once I deployed the form to Form Services I started getting errors from Form Services when I tried to Validate the entered contact or add a contact via the Select button.&lt;/p&gt; &lt;p&gt;Finally with both ideas giving me headaches and not much time left on the project clock I decided to remove my validation code, and email the&amp;nbsp;InfoPath team and see if&amp;nbsp;they had any ideas.&amp;nbsp;Luckily in this circumstance this was not a big issue, as I was using the Contact Selector control as an routing input for a workflow so only the first contact in the control would be used. It would be nice to get a resolution to this though. &lt;/p&gt; &lt;h3&gt;The Good&lt;/h3&gt; &lt;ul&gt; &lt;li&gt;Great way to get login based contact information in your form especially when that data is used in a workflow scenario&lt;/li&gt; &lt;li&gt;Works in both the client and browser based solutions&lt;/li&gt; &lt;li&gt;When used in a client based solution custom code can be added to validate the number of contacts selected&lt;/li&gt;&lt;/ul&gt; &lt;h3&gt;The Bad&lt;/h3&gt; &lt;ul&gt; &lt;li&gt;Can be a little precious about event code when used in a browser based deployment&lt;/li&gt; &lt;li&gt;No out of the box way to limit the number of contacts selected&lt;/li&gt; &lt;li&gt;No way to force the control to post back in a browser based deployment which means the validation errors and underlying data source can get out of sync&lt;/li&gt;&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1019244" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/benwalters/archive/tags/InfoPath+2007/default.aspx">InfoPath 2007</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/Form+Services/default.aspx">Form Services</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/Contact+Selector+Control/default.aspx">Contact Selector Control</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/InfoPath+Form+Development/default.aspx">InfoPath Form Development</category><category domain="http://msmvps.com/blogs/benwalters/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category></item></channel></rss>