<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Kirk Hofer's Blog</title>
	<atom:link href="http://kirkhofer.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kirkhofer.wordpress.com</link>
	<description>SharePoint and more</description>
	<lastBuildDate>Sun, 09 Oct 2011 20:36:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='kirkhofer.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Kirk Hofer's Blog</title>
		<link>http://kirkhofer.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kirkhofer.wordpress.com/osd.xml" title="Kirk Hofer&#039;s Blog" />
	<atom:link rel='hub' href='http://kirkhofer.wordpress.com/?pushpress=hub'/>
		<item>
		<title>BizTalk 2009 SharePoint Service Adapter with SharePoint 2010</title>
		<link>http://kirkhofer.wordpress.com/2010/01/25/biztalk-2009-sharepoint-service-adapter-with-sharepoint-2010/</link>
		<comments>http://kirkhofer.wordpress.com/2010/01/25/biztalk-2009-sharepoint-service-adapter-with-sharepoint-2010/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 14:43:39 +0000</pubDate>
		<dc:creator>kirkhofer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://kirkhofer.wordpress.com/?p=64</guid>
		<description><![CDATA[Configure BizTalk 2009 SharePoint Adapter with SharePoint 2010<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=64&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Several people have stated that this works, but unfortunately no one has really told you the steps. </p>
<p>Assumptions:  Is this a proposal?  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ol>
<li>SharePoint 2010 running on Windows 2008 R2 (64 bit of course)</li>
<li>You have at least configured a couple of Web Applications in SP2010 to make the rest of this work</li>
</ol>
<p>The main thing that happens here is you try to install BizTalk 2009 and you have the option for the SharePoint Service Adapter all greyed out.  This doesn&#8217;t work so go ahead and do the following:</p>
<ol>
<li>Download WSS 3.0 with SP2.  NOTE:  This is required for Windows 2008 R2 as it will not let anything else be installed</li>
<li>Before you get to the area to actually &#8220;Configure SharePoint&#8230;&#8221;, hit &#8220;Cancel&#8221;</li>
<li>Run the install for BizTalk and you can not install the adapter</li>
<li>Configure the adapter as you would because it will recognize SharePoint is installed</li>
<li>After it is configured, change the web.config for the BizTalk adapter to use the 14.0.0.0 services (See this post <a href="http://connectedthoughts.wordpress.com/2010/01/22/does-the-biztalk-sharepoint-services-adapter-work-with-sharepoint-2010/">here</a>)</li>
</ol>
<p>Hopefully that at least gets you a bit further.  Hopefully BizTalk 2009 R2 will have a lot of this resolved.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkhofer.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkhofer.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkhofer.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkhofer.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkhofer.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkhofer.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkhofer.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkhofer.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkhofer.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkhofer.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkhofer.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkhofer.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkhofer.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkhofer.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=64&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirkhofer.wordpress.com/2010/01/25/biztalk-2009-sharepoint-service-adapter-with-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d674281580625b48ef58f4064e8b75fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirkhofer</media:title>
		</media:content>
	</item>
		<item>
		<title>Custom SharePoint Alert Filter</title>
		<link>http://kirkhofer.wordpress.com/2009/10/26/custom-sharepoint-alert-filter/</link>
		<comments>http://kirkhofer.wordpress.com/2009/10/26/custom-sharepoint-alert-filter/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 02:01:02 +0000</pubDate>
		<dc:creator>kirkhofer</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://kirkhofer.wordpress.com/?p=59</guid>
		<description><![CDATA[I am always looking for ways to make things work the way you REALLY want them to.  Take the alerts in SharePoint as an example.  Wouldn&#8217;t it be great to say &#8220;only alert me when this criteria is met&#8221;.  Most of you are probably thinking that is as easy as a workflow, right?  Well what [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=59&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am always looking for ways to make things work the way you REALLY want them to.  Take the alerts in SharePoint as an example.  Wouldn&#8217;t it be great to say &#8220;only alert me when this criteria is met&#8221;.  Most of you are probably thinking that is as easy as a workflow, right?  Well what if you really want to test the BEFORE and AFTER values of a field to make sure.  Hmm&#8230;that might mean a custom workflow.  New solution, look at the SPAlert object and look at SQL to see how this baby really works.</p>
<p>You ever looked at what happens after you go to a list and sign up to receive something that you didn&#8217;t change?  If you see the CAML query that SharePoint generates, you might be asking yourself &#8220;what is this?&#8221;.  The FieldRef points to a &#8220;Editor/New&#8221; column.  What the heck?  That doesn&#8217;t exist anywhere.  Then again, Editor does, but what is this &#8220;New&#8221; thing?  Look at some other types and you will see the &#8220;Editor/Old&#8221; popping up.  Getting where I am headed?  You know the SPAlert.Filter property has a get; and a set;, right?  Hmmmmm&#8230;let your imagination do the rest.  Create the SPAlert manually, or script it&#8230;you will like it.</p>
<pre class="brush: python;">$alert = $web.AllUsers[&quot;domain\kirkhofer&quot;].Alerts.Add();
$alert.Filter = &quot;&lt;Query&gt;&lt;Neq&gt;&lt;FieldRef Name=&quot;_Status/Old&quot;/&gt;&lt;FieldRef Name=&quot;_Status/New&quot;/&gt;&lt;/Neq&gt;&lt;/Query&gt;&quot;;
$alert.List = $list;
$alert.AlertType = [Microsoft.SharePoint.SPAlertType]::List;
$alert.Title = &quot;Status Change&quot;;
$alert.EventType = [Microsoft.SharePoint.SPEventType]::Modify;
$alert.AlertFrequency = [Microsoft.SharePoint.SPAlertFrequency]::Immediate;
$alert.Update($false);</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkhofer.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkhofer.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkhofer.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkhofer.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkhofer.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkhofer.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkhofer.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkhofer.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkhofer.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkhofer.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkhofer.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkhofer.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkhofer.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkhofer.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=59&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirkhofer.wordpress.com/2009/10/26/custom-sharepoint-alert-filter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d674281580625b48ef58f4064e8b75fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirkhofer</media:title>
		</media:content>
	</item>
		<item>
		<title>Move MOSS Web To WSS</title>
		<link>http://kirkhofer.wordpress.com/2009/09/04/move-moss-web-to-wss/</link>
		<comments>http://kirkhofer.wordpress.com/2009/09/04/move-moss-web-to-wss/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 17:40:06 +0000</pubDate>
		<dc:creator>kirkhofer</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[STSADM]]></category>

		<guid isPermaLink="false">http://kirkhofer.wordpress.com/?p=54</guid>
		<description><![CDATA[Fix those errors you get when trying to import a web from MOSS to WSS.  Errors like Could not find feature OffWFCommon<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=54&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ever try to import a web from a MOSS server to a WSS server and get those little errors about &#8220;Could not find feature xxxx&#8221;.  More specifically, the first one you run in to is &#8220;Could not find feature OffWFCommon&#8221;.  Here is a little trick to get rid of those before you migrate.</p>
<pre class="brush: python;">$siteurl = &quot;http://blah&quot;
$site = new-object Microsoft.SharePoint.SPSite $siteurl
$web = $site.OpenWeb()

stsadm -o deactivatefeature -url $siteurl -name OffWFCommon
stsadm -o deactivatefeature -url $siteurl -name TranslationWorkflow

$site.features|%{$_.Definition}|?{$_.ReceiverAssembly -like &quot;*Office*&quot;}|select DisplayName
$site.features|%{$_.Definition}|?{$_.ReceiverAssembly -like &quot;*Office*&quot;}|%{stsadm -o deactivatefeature -url $site.url -name $_.DisplayName}

stsadm -o deactivatefeature -url $siteurl -name TransMgmtLib

$web.features|%{$_.Definition}|select displayname,status</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkhofer.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkhofer.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkhofer.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkhofer.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkhofer.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkhofer.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkhofer.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkhofer.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkhofer.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkhofer.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkhofer.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkhofer.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkhofer.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkhofer.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=54&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirkhofer.wordpress.com/2009/09/04/move-moss-web-to-wss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d674281580625b48ef58f4064e8b75fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirkhofer</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple Date Entry for InfoPath</title>
		<link>http://kirkhofer.wordpress.com/2009/07/15/simple-date-entry-for-infopath/</link>
		<comments>http://kirkhofer.wordpress.com/2009/07/15/simple-date-entry-for-infopath/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 18:52:28 +0000</pubDate>
		<dc:creator>kirkhofer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">http://kirkhofer.wordpress.com/?p=51</guid>
		<description><![CDATA[Had a request to enter in dates with a simple MMddYY format.  This is easier than you think. Create a for and add a Date Picker field to the view Double-click the field and add a new Rule Set the Condition as such:  string-length(.) = 6 and contains(&#8220;/&#8221;, .) = false and contains(&#8220;-&#8221;,.) = false [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=51&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Had a request to enter in dates with a simple MMddYY format.  This is easier than you think.</p>
<ol>
<li>Create a for and add a <strong>Date Picker</strong> field to the view</li>
<li>Double-click the field and add a new <strong>Rule</strong></li>
<li>Set the <strong>Condition</strong> as such: 
<ol>
<li>string-length(.) = 6 and</li>
<li>contains(&#8220;/&#8221;, .) = false and</li>
<li>contains(&#8220;-&#8221;,.) = false</li>
</ol>
</li>
<li>Add an Action to Set a Fields Value
<ol>
<li>Current Field or &#8220;.&#8221;</li>
<li>Value: concat(substring(today(), 1, 2), substring(., 5, 2), &#8220;-&#8221;, substring(., 1, 2), &#8220;-&#8221;, substring(., 3, 2))</li>
</ol>
</li>
<li>Test out the for.  Enter a date like &#8220;050109&#8243; and it will put it in as 2009-05-01.</li>
</ol>
<p>That is it.  Simple and easy to use</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkhofer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkhofer.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkhofer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkhofer.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkhofer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkhofer.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkhofer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkhofer.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkhofer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkhofer.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkhofer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkhofer.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkhofer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkhofer.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=51&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirkhofer.wordpress.com/2009/07/15/simple-date-entry-for-infopath/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d674281580625b48ef58f4064e8b75fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirkhofer</media:title>
		</media:content>
	</item>
		<item>
		<title>InfoPath Multi Column Drop Down</title>
		<link>http://kirkhofer.wordpress.com/2009/06/12/infopath-multi-column-drop-down/</link>
		<comments>http://kirkhofer.wordpress.com/2009/06/12/infopath-multi-column-drop-down/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:22:40 +0000</pubDate>
		<dc:creator>kirkhofer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[InfoPath]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://kirkhofer.wordpress.com/?p=45</guid>
		<description><![CDATA[If you need to add a drop-down to an InfoPath form that has a Display Name with multiple columns, you can&#8217;t do this out of the box.  In order to make this work, you have to manually edit the XSL behind the scenes.  I don&#8217;t believe in adding code behind if you don&#8217;t need to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=45&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you need to add a drop-down to an InfoPath form that has a Display Name with multiple columns, you can&#8217;t do this out of the box.  In order to make this work, you have to manually edit the XSL behind the scenes.  I don&#8217;t believe in adding code behind if you don&#8217;t need to but the XSL does not make this form need a Full Trust or anything, so this seems cleaner.</p>
<p>Save your InfoPath form File -&gt; Save As Source Files&#8230;  From there go in and edit the view1.xsl or whatever you named your view.  Look for the &lt;option&gt; tags and in there you will find the &lt;xsl:value-of/&gt; tag with the field you chose in the display name.  Now, just add the additional stuff you want, and whala:</p>
<pre class="brush: xml;">&lt;xsl:value-of select=&quot;@field1&quot;/&gt;-&lt;xsl:value-of select=&quot;@field2&quot;/&gt;</pre>
<p>Save the file and open the manifest.xsf in Design mode and take a look</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkhofer.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkhofer.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkhofer.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkhofer.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkhofer.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkhofer.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkhofer.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkhofer.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkhofer.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkhofer.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkhofer.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkhofer.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkhofer.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkhofer.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=45&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirkhofer.wordpress.com/2009/06/12/infopath-multi-column-drop-down/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d674281580625b48ef58f4064e8b75fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirkhofer</media:title>
		</media:content>
	</item>
		<item>
		<title>Inside: STSADM MERGECONTENTDBS</title>
		<link>http://kirkhofer.wordpress.com/2009/03/13/inside-stsadm-mergecontentdbs/</link>
		<comments>http://kirkhofer.wordpress.com/2009/03/13/inside-stsadm-mergecontentdbs/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 03:17:50 +0000</pubDate>
		<dc:creator>kirkhofer</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[STSADM]]></category>

		<guid isPermaLink="false">http://kirkhofer.wordpress.com/?p=42</guid>
		<description><![CDATA[Use MERGECONTENTDBS for maximized performance for BACKUP and RESTORE<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=42&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For those of you that run in to this, it is MUCH FASTER and way more SQL friendly to use MERGECONTENTDBS instead of the BACKUP and RESTORE option <strong><span style="text-decoration:underline;">WHEN MOVING FROM THE SAME DB SERVER AND SAME WEB APPLICATION</span></strong>.  Why?  Think of what a BACKUP and RESTORE do.  First, the BACKUP writes all the contents of the site to a file, that could be rather big.  Then, the RESTORE puts it back in, which blows up the transaction log as well.  So what does MERGECONTENTDBS do that is so much better?  <strong>ANSWER</strong>: Skips the whole file process&#8230;big improvement in speed and efficiency</p>
<p>Let&#8217;s assume the following scenario: </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Database moving from: DB1</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Database moving to: DB2</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Site GUID:  A63289FB-5404-4B17-BB49-4378EEF2CDB7</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Steps in the SQL Profiler world&#8230;not exact but you get the point</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">&#8211;Lock the site in DB1</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">&#8211;Same as STSADM -o setsitelock -url site -lock noaccess</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">exec proc_SetSiteFlags &#8216;A63289FB-5404-4B17-BB49-4378EEF2CDB7&#8242;,131072,131072</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">&#8211;Run a bunch of INSERT INTO DB1.[dbo].[Table] (Col1,Col2,…) SELECT Col1, Col2,&#8230; FROM DB2.dbo.Table</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Sites</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">ComMd</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Deps</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">AllDocs</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">AllDocStreams</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">AllDocVersions</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">ContentTypes</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">EventReceivers</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Features</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">ImmedSubscriptions</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">AllLinks</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">NavNodes</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">ScheduledWorkItems</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">SchedSubscriptions</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Webs</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Groups</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">GroupMembership</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Roles</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">RoleAssignment</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Workflow</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">WorkflowAssociation</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Perms</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">RecycleBin</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">SiteVersions</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">NameValuePair</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">NameValuePair_Albanian_CI_AS</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">.</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">.</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">.</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">NameValuePair_Vietnamese_CI_AS</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">BuildDependencies</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">AllUserData</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">UserInfo</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">WebParts</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Categories</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">AllLists</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">ContentTypeUsage</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">WebCat</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">WebMembers</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">WebPartLists</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Personalization</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">exec proc_SetSiteFlags &#8216;A63289FB-5404-4B17-BB49-4378EEF2CDB7&#8242;,0,131072</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">exec proc_DeleteSite &#8216;A63289FB-5404-4B17-BB49-4378EEF2CDB7&#8242;</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">&#8211;Config DB</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">exec dbo.proc_dropSiteMap @Id=&#8217;A63289FB-5404-4B17-BB49-4378EEF2CDB7&#8242;</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">exec sp_executesql N&#8217;UPDATE [DB2].[dbo].[Sites] SET BitFlags = @Flag WHERE Id = @SiteId&#8217;,N&#8217;@SiteId uniqueidentifier,@Flag int&#8217;,@SiteId=&#8217;A63289FB-5404-4B17-BB49-4378EEF2CDB7&#8242;,@Flag=0</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">&#8211;Config DB</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">declare @p8 int</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">set @p8=1</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">exec dbo.proc_putSiteMap @ApplicationId=&#8217;A32D6D58-99F5-437F-BE32-3233D242BF91&#8242;,@DatabaseId=&#8217;DF61C0F9-1F4C-49B2-B1A9-99276320359E&#8217;,@SiteId=&#8217;A63289FB-5404-4B17-BB49-4378EEF2CDB7&#8242;,@Path=N&#8217;/sites/tester&#8217;,@Pairing=0,@RedirectUrl=NULL,@HostHeaderIsSiteName=0,@CurrentDatabaseSiteCount=@p8 output</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">select @p8</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">That is it&#8230;I know, not the prettiest thing, but SQL people get it and now hopefully so does everyone </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkhofer.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkhofer.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkhofer.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkhofer.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkhofer.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkhofer.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkhofer.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkhofer.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkhofer.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkhofer.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkhofer.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkhofer.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkhofer.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkhofer.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=42&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirkhofer.wordpress.com/2009/03/13/inside-stsadm-mergecontentdbs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d674281580625b48ef58f4064e8b75fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirkhofer</media:title>
		</media:content>
	</item>
		<item>
		<title>BUG: ACCESS DENIED.  Adding/Removing Users/Groups</title>
		<link>http://kirkhofer.wordpress.com/2009/03/02/bug-access-denied-addingremoving-usersgroups/</link>
		<comments>http://kirkhofer.wordpress.com/2009/03/02/bug-access-denied-addingremoving-usersgroups/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 22:43:52 +0000</pubDate>
		<dc:creator>kirkhofer</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://kirkhofer.wordpress.com/?p=35</guid>
		<description><![CDATA[BUG: ACCESS DENIED.  Adding/Removing Users/Groups<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=35&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ever get the error &#8220;Access Denied&#8221; while trying to add/remove a user/group from a SharePoint Site Collection? If you are like me and realize that the user you are logged in with has Site Admin priveleges, you are probably scratching your head like I was. If you are like me, those scratches left a mark on your bald head too! Enter bug in SharePoint.</p>
<p><em><strong>If you have a Site Collection marked as &#8220;readonly&#8221; and it happens to be the last Site in the SharePoint table Sites, it will basically disable you from editing EVERY user/group in SharePoint that is within the same Content Database.</strong></em></p>
<p>So how could someone figure this out? A lot of SQL skills help, and I gots em&#8230;</p>
<p>To replicate this problem, do the following:</p>
<ol>
<li>Create a new Web Application and a new Content Database in Central Administration (WEB APP=http://test, Content Database=SP_TEST_CONTENT)</li>
<li>Create as many site collections as you want:
<ol>
<li>&#8220;/&#8221; root Blank</li>
<li>&#8220;/sites/T1&#8243; Blank</li>
<li>&#8220;/sites/T2&#8243; Blank</li>
</ol>
</li>
<li>Open up SQL Management Studio (SSMS) and run a query like this: <span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;">SELECT </span></span></span><span style="font-size:x-small;color:#0000ff;"> </span></span><span style="font-size:x-small;">s</span><span style="font-size:x-small;color:#808080;"><span style="font-size:x-small;color:#808080;">.</span></span><span style="font-size:x-small;">id</span><span style="font-size:x-small;color:#808080;"><span style="font-size:x-small;color:#808080;">,</span></span><span style="font-size:x-small;">s</span><span style="font-size:x-small;color:#808080;"><span style="font-size:x-small;color:#808080;">.</span></span><span style="font-size:x-small;">BitFlags</span><span style="font-size:x-small;color:#808080;"><span style="font-size:x-small;color:#808080;">,</span></span><span style="font-size:x-small;">w</span><span style="font-size:x-small;color:#808080;"><span style="font-size:x-small;color:#808080;">.</span></span><span style="font-size:x-small;">FullUrl </span><span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;">FROM</span></span><span style="font-size:x-small;"> SP_TEST_CONTENT..Sites s </span><span style="font-size:x-small;color:#808080;"><span style="font-size:x-small;color:#808080;">JOIN</span></span><span style="font-size:x-small;"> SP_TEST_CONTENT..Webs w </span><span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;">ON</span></span><span style="font-size:x-small;"> s</span><span style="font-size:x-small;color:#808080;"><span style="font-size:x-small;color:#808080;">.</span></span><span style="font-size:x-small;">Id </span><span style="font-size:x-small;color:#808080;"><span style="font-size:x-small;color:#808080;">=</span></span><span style="font-size:x-small;"> w</span><span style="font-size:x-small;color:#808080;"><span style="font-size:x-small;color:#808080;">.</span></span><span style="font-size:x-small;">SiteId</span></li>
<li><span style="font-size:x-small;">Take note to the one that is last, if it is &#8220;&#8221;, it is root.  Now, go to a command line and do the following: &#8220;stsadm -o setsitelock -url <a href="http://test/&lt;Full">http://test/&lt;Full</a> URL from above&gt; -lock readonly&#8221;</span></li>
<li><span style="font-size:x-small;">Go to any of the site collections that ARE NOT marked as read-only and try to add a user/group&#8230;ACCESS DENIED</span></li>
</ol>
<p><span style="font-size:x-small;">So what is the deal?  SQL skills take over&#8230;  I opened up SQL Profiler and watched what was going on.  The one line that got me was calling &#8220;proc_SecAddUserToSiteGroup&#8221;.  Upon looking at this SPROC with &#8220;sp_helptext proc_SecAddUserToSiteGroup&#8221; I saw another call to &#8220;fn_CanUserEditMembershipOfGroup&#8221;.  After doing the same thing on this call, found a line like the following:</span></p>
<p style="padding-left:30px;"><span style="font-size:x-small;">SELECT @SiteFlags = BitFlags FROM Sites</span></p>
<p><span style="font-size:x-small;">All in all valid SQL statement, however, one big gaping hole&#8230;uh&#8230;.WHERE CLAUSE!!!!!!!!</span></p>
<p><span style="font-size:x-small;">After this call, it looks for IF @SiteFlags &amp; 131072 = 131072 RETURN 0.  DOH&#8230;that pretty much mean ACCESS DENIED!!!!</span></p>
<p><span style="font-size:x-small;">Microsoft, please fix this bug&#8230;</span></p>
<p><span style="font-size:x-small;"> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkhofer.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkhofer.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkhofer.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkhofer.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkhofer.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkhofer.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkhofer.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkhofer.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkhofer.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkhofer.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkhofer.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkhofer.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkhofer.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkhofer.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=35&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirkhofer.wordpress.com/2009/03/02/bug-access-denied-addingremoving-usersgroups/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d674281580625b48ef58f4064e8b75fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirkhofer</media:title>
		</media:content>
	</item>
		<item>
		<title>AJAX and Publishing Pages</title>
		<link>http://kirkhofer.wordpress.com/2009/02/18/ajax-and-publishing-pages/</link>
		<comments>http://kirkhofer.wordpress.com/2009/02/18/ajax-and-publishing-pages/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 02:57:41 +0000</pubDate>
		<dc:creator>kirkhofer</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[AJAX]]></category>

		<guid isPermaLink="false">http://kirkhofer.wordpress.com/?p=20</guid>
		<description><![CDATA[Fix for AJAX Web Parts working in Publishing Sites<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=20&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last year I was working on a project and was required to use AJAX on a Web Part to display some things on a site.  No problem I thought.  Then, I had to enable this on a publishing site&#8230;problems begin.  Tried finding anything and everything regarding this problem and found that several people had the same issue.  I posted on forums, ran it past MS, co-workers, etc, no dice.  Today I was playing with a couple of other things and found the solution.  The issue is in the order of which the master pages display.  To make AJAX web parts work from a publishing site master page, you have to do the following:</p>
<p>1. Turn on AJAX for thw web.config (I follow Jan T&#8217;s solution for integrating AJAX the <a href="http://weblogs.asp.net/jan/archive/2008/10/10/enabling-net-3-5-in-sharepoint-2007-sites-the-lazy-way.aspx">lazy way</a>)</p>
<p>2. Create a web part page (ASP.Net AJAX project with 3.5) and use the UpdatePanel and the ScriptManager<br />
        &#8211; There are several ways to do this without adding the ScriptManager to the .master page. </p>
<p>3.  Make sure to add the <strong>EnsurePanelFix</strong> JavaScript thing&#8230;you can find that about anywhere on the net</p>
<p>4.  The most important thing, you have to make sure the master page is set up properly!!!!!!!!<br />
         &#8211; For example, the default.master in SharePoint, works fine, however, blueband.master (and all the other ones in publishing &#8220;MasterPages&#8221;) have some flaws<br />
                     &#8211; &lt;Title&gt;:  This is on separate lines, move this all together:
<pre class="brush: xml;">&lt;Title ID=onetidTitle&gt;&lt;asp:ContentPlaceHolder id=PlaceHolderPageTitle runat=&quot;server&quot;/&gt;&lt;/Title&gt;</pre>
<p>                    &#8211; SPWebPartManager: This needs to be <strong><span style="text-decoration:underline;">Inside </span></strong>the &lt;form&gt; tag</p>
<pre class="brush: xml;">&lt;form runat=&quot;server&quot; onsubmit=&quot;return _spFormOnSubmitWrapper();&quot;&gt;
&lt;WebPartPages:SPWebPartManager id=&quot;m&quot; runat=&quot;Server&quot; /&gt;
</pre>
<pre>If you use the default.master page that is in the publishing master pages, it works FINE...so the chance that they were close and the issue was in the master page was high.  I sure hope this helps someone else.</pre>
<p>Links:<br />
- <a href="http://msdn2.microsoft.com/en-us/library/bb861877.aspx">Walkthrough: Creating a Basic ASP.Net AJAX-enabled Web Part</a><br />
Good reference, even though this is for the old toolkit. About everything here can be applied to the current stuff</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkhofer.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkhofer.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkhofer.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkhofer.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkhofer.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkhofer.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkhofer.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkhofer.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkhofer.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkhofer.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkhofer.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkhofer.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkhofer.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkhofer.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=20&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirkhofer.wordpress.com/2009/02/18/ajax-and-publishing-pages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d674281580625b48ef58f4064e8b75fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirkhofer</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint Warm Up Script</title>
		<link>http://kirkhofer.wordpress.com/2008/10/18/sharepoint-warm-up-script/</link>
		<comments>http://kirkhofer.wordpress.com/2008/10/18/sharepoint-warm-up-script/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 15:46:52 +0000</pubDate>
		<dc:creator>kirkhofer</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Warm Up]]></category>

		<guid isPermaLink="false">http://kirkhofer.wordpress.com/?p=4</guid>
		<description><![CDATA[Warm up your SharePoint sites so the end user doesn't have to...<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=4&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have had a lot of people use my other warm up script that I created almost a year ago but several people have asked for one that actually works&#8230;doh.  You see, my old one just used the WebRequest object to hit the site.  That does NOT warm up the site.  You actually need to get content from the page first.</p>
<p>This new script is a complete one that can be scheduled on your WFEs.  If you didn&#8217;t know already, all the Application Pools that get created are scheduled to reset themselves at a certain time.  Usually around 2 AM in the morning.  So if you want, take this script and put it in a CMD or BAT file and put an IISRESET right in front of it.  Then, add the code I have provided in a PS1 script and you are off and gunning.  You can remove those app pool recycles that are scheduled.</p>
<p>Save the following in a script named SPWarmUp.ps1</p>
<pre class="brush: python;">############################################################################
#Assumptions:
#-Running on machine with WSS/MOSS
#-C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN in path
############################################################################
function get-webpage([string]$url,[System.Net.NetworkCredential]$cred=$null)
{
$wc = new-object net.webclient
if($cred -eq $null)
{
$cred = [System.Net.CredentialCache]::DefaultCredentials;
}
$wc.credentials = $cred;
return $wc.DownloadString($url);
}

#This passes in the default credentials needed. If you need specific stuff you can use something else to
#elevate basically the permissions. Or run this task as a user that has a Policy above all the Web Applications
#with the correct permissions
$cred = [System.Net.CredentialCache]::DefaultCredentials;
#$cred = new-object System.Net.NetworkCredential(&quot;username&quot;,&quot;password&quot;,&quot;machinename&quot;)

[xml]$x=stsadm -o enumzoneurls
foreach ($zone in $x.ZoneUrls.Collection) {
    [xml]$sites=stsadm -o enumsites -url $zone.Default;
    foreach ($site in $sites.Sites.Site) {
        write-host $site.Url;
        $html=get-webpage -url $site.Url -cred $cred;
    }
}
</pre>
<p>When you schedule this to run through a scheduled task, make sure the user running this has the correct credentials on the sites being hit.  Obviously, make sure this is on ALL WFEs.</p>
<p>Can you test this without all the other stuff?  Sure, just copy and paste the code and put it in to PowerShell and give it a whirl.</p>
<p>Download the file <a title="here" href="https://skydrive.live.com/self.aspx/Public/SPWarmUp.txt?cid=01ef9df31d8a694d&amp;sc=documents">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkhofer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkhofer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkhofer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkhofer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkhofer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkhofer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkhofer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkhofer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkhofer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkhofer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkhofer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkhofer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkhofer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkhofer.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=4&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirkhofer.wordpress.com/2008/10/18/sharepoint-warm-up-script/feed/</wfw:commentRss>
		<slash:comments>44</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d674281580625b48ef58f4064e8b75fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirkhofer</media:title>
		</media:content>
	</item>
		<item>
		<title>WSS/MOSS on Vista</title>
		<link>http://kirkhofer.wordpress.com/2008/07/22/wssmoss-on-vista/</link>
		<comments>http://kirkhofer.wordpress.com/2008/07/22/wssmoss-on-vista/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 16:24:49 +0000</pubDate>
		<dc:creator>kirkhofer</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://kirkhofer.wordpress.com/2008/07/22/wssmoss-on-vista</guid>
		<description><![CDATA[It appears several have done this so I decided to make the jump.  Might I add…I LOVE THIS.  I took the plunge with MOSS since I tend to do most of my stuff in there.  Here is what you need:   http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2008/05/21/how-to-install-windows-sharepoint-services-3-0-sp1-on-vista-x64-x86.aspx                 This tells you about everything you need to know…                 Pay attention [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=69&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="msgcns!1EF9DF31D8A694D!151" class="bvMsg">
<div>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3">It appears several have done this so I decided to make the jump.  Might I add…I LOVE THIS.  I took the plunge with MOSS since I tend to do most of my stuff in there.  Here is what you need:</font></p>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3"> </font></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><a href="http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2008/05/21/how-to-install-windows-sharepoint-services-3-0-sp1-on-vista-x64-x86.aspx"><u><font color="#800080">http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2008/05/21/how-to-install-windows-sharepoint-services-3-0-sp1-on-vista-x64-x86.aspx</font></u></a></span></p>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3">                This tells you about everything you need to know…</font></p>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3">                Pay attention to the IIS part so you have everything configured</font></p>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3">                One thing that bit me right away was that ASP.Net was defaulted to run as v1.1 so when Central Admin spun it was running under 1.1 at first</font></p>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3">                You can do the DBA install by running psconfig BEFORE you run the config like we usually recommend</font></p>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3">                Make sure to create local users on your machine.  If you are like me, I tried through the standard “User Accounts” interface and that doesn’t work.  Click the Advanced Tab and then the Advanced button to do it that way</font></p>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3"> </font></p>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3">I have not configured the SSP as of yet, nor will I until needed.  This rocks!</font></p>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3"> </font></p>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3">Here is my script to config the main site:</font></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">psconfig -cmd configdb -create -server oma-khofer -database MOSS_Config -admincontentdatabase MOSS_Admin_Content_01 -user oma-khofer\SPFarm -password pass@word1</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000"> </font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">#After this is done, launch the wizard…I know there is a command to do that via psconfig, but can’t remember</font></span></p>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3"> </font></p>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3">Also, if you have any problems, tear it down, it is easy…</font></p>
<p style="margin:0;"><font face="Calibri" color="#000000" size="3"> </font></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">#PoSH script of course</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">$sspname=”SSP1”</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">$databaseserver=”oma-khofer”</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000"> </font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">#Delete SSP</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">stsadm -o deletessp -title $sspname -deletedatabases -force</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000"> </font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">#loop through and delete all your web apps you created</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">stsadm -o unextendvs -url </font><a href="http://oma-khofer:84/"><u><font color="#800080">http://oma-khofer:84</font></u></a><font color="#000000"> -deletecontent -deleteiissites</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000"> </font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">#Delete CA</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">stsadm -o deleteadminvs</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000"> </font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">#Disconnect</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">psconfig -cmd configdb -disconnect</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000"> </font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">$databasename=&quot;MOSS_Config&quot;</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">sqlcmd -S $databaseserver -Q &quot;ALTER DATABASE [$databasename] SET SINGLE_USER WITH ROLLBACK IMMEDIATE&quot;</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">sqlcmd -S $databaseserver -Q &quot;ALTER DATABASE [$databasename] SET SINGLE_USER&quot;</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">sqlcmd -S $databaseserver -Q &quot;DROP DATABASE [$databasename]&quot;</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000"> </font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">$databasename=&quot;MOSS_Admin_Content_01&quot;</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">sqlcmd -S $databaseserver -Q &quot;ALTER DATABASE [$databasename] SET SINGLE_USER WITH ROLLBACK IMMEDIATE&quot;</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">sqlcmd -S $databaseserver -Q &quot;ALTER DATABASE [$databasename] SET SINGLE_USER&quot;</font></span></p>
<p style="margin:0;"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><font color="#000000">sqlcmd -S $databaseserver -Q &quot;DROP DATABASE [$databasename]&quot;</font></span></div>
</div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kirkhofer.wordpress.com/69/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kirkhofer.wordpress.com/69/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkhofer.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkhofer.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkhofer.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkhofer.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkhofer.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkhofer.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkhofer.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkhofer.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkhofer.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkhofer.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkhofer.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkhofer.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkhofer.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkhofer.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirkhofer.wordpress.com&amp;blog=5211884&amp;post=69&amp;subd=kirkhofer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirkhofer.wordpress.com/2008/07/22/wssmoss-on-vista/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d674281580625b48ef58f4064e8b75fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirkhofer</media:title>
		</media:content>
	</item>
	</channel>
</rss>
