<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://mosschampions.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>MOSSchampions</title><link>http://mosschampions.com/blogs/moss/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 (Build: 60809.935)</generator><item><title>AAMs and Record Centre.</title><link>http://mosschampions.com/blogs/moss/archive/2007/10/21/AAMs-and-Record-Centre_2E00_.aspx</link><pubDate>Sun, 21 Oct 2007 12:00:00 GMT</pubDate><guid isPermaLink="false">04d415e9-25c6-4179-946f-2e852d34455b:120</guid><dc:creator>obslanb</dc:creator><slash:comments>0</slash:comments><comments>http://mosschampions.com/blogs/moss/comments/120.aspx</comments><wfw:commentRss>http://mosschampions.com/blogs/moss/commentrss.aspx?PostID=120</wfw:commentRss><description>&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;I came across a weird issue this week regarding the Record Centre in MOSS I thought I would share...&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;The record centre was created and configured&amp;nbsp;as per the &amp;ldquo;book&amp;rdquo;. We were however unable to send documents to it resulting in the following error: &amp;quot;Value does not fall within expected range&amp;quot;.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;We were using the same App Pool as the Portal. Using a separate App Pool didn&amp;rsquo;t make any difference.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;After hours of troubleshooting and swearing, it turned out to be related to Alternate Access Mappings (AAM).&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;It strangely appears that the fix was to include the URL of the portal itself (not the Netbios name if the server) as the &amp;ldquo;&lt;strong&gt;Default URL&lt;/strong&gt;&amp;rdquo;.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;To make it even worse, the Record Centre now works even though configured in CA&amp;nbsp;&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;using Netbios name of server in the URL e.g. &lt;u&gt;http://servername/&lt;span style="font-size:11pt;font-family:'Calibri','sans-serif';"&gt;&lt;font color="#0000ff"&gt;Records/_vti_bin/officialfile.asmx&lt;/font&gt;.&lt;/span&gt;&lt;/u&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;span style="font-size:11pt;font-family:'Calibri','sans-serif';"&gt;&lt;br /&gt;I haven&amp;#39;t quite figured out is this is a bug or I&amp;#39;m missing something here but I thought I would share it. It may help someone else. :-)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://mosschampions.com/aggbug.aspx?PostID=120" width="1" height="1"&gt;</description><category domain="http://mosschampions.com/blogs/moss/archive/tags/Record+Centre/default.aspx">Record Centre</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/AAM/default.aspx">AAM</category></item><item><title>Migrating your Portal's Web App to a new App Pool (SPS 2003)</title><link>http://mosschampions.com/blogs/moss/archive/2007/10/11/Migrating-your-Portal_2700_s-Web-App-to-a-new-App-Pool_2E00_.aspx</link><pubDate>Thu, 11 Oct 2007 07:05:00 GMT</pubDate><guid isPermaLink="false">04d415e9-25c6-4179-946f-2e852d34455b:117</guid><dc:creator>obslanb</dc:creator><slash:comments>0</slash:comments><comments>http://mosschampions.com/blogs/moss/comments/117.aspx</comments><wfw:commentRss>http://mosschampions.com/blogs/moss/commentrss.aspx?PostID=117</wfw:commentRss><description>&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;If you ever need to migrate your IIS Web Site (Web App) to a new Application Pool in SPS 2003, here is a tip.... &lt;u&gt;Ensure that you also migrate all the Sub-Virtual apps within the Web Site...&lt;/u&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Failure to do so may result in &amp;laquo;&amp;nbsp;HTTP 403 &amp;ndash; Access Denied&amp;nbsp;&amp;raquo; when browsing to your Portal. It may work if you browse directly to the page e.g. &lt;/font&gt;&lt;a href="http://portal.com.au/pages/default.aspx"&gt;&lt;font color="#0000ff" face="Calibri" size="3"&gt;http://portal.com.au/default.aspx&lt;/font&gt;&lt;/a&gt;&lt;font face="Calibri" size="3"&gt; but may fail by simply going to &lt;/font&gt;&lt;a href="http://portal.com.au/"&gt;&lt;font color="#0000ff" face="Calibri" size="3"&gt;http://portal.com.au&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://mosschampions.com/aggbug.aspx?PostID=117" width="1" height="1"&gt;</description></item><item><title>Determining if a SPContentType exists on a list by using its SPContentTypeId</title><link>http://mosschampions.com/blogs/moss/archive/2007/09/18/Determining-if-a-SPContentType-exists-on-a-list-by-using-its-SPContentTypeId.aspx</link><pubDate>Tue, 18 Sep 2007 11:18:00 GMT</pubDate><guid isPermaLink="false">04d415e9-25c6-4179-946f-2e852d34455b:116</guid><dc:creator>james</dc:creator><slash:comments>0</slash:comments><comments>http://mosschampions.com/blogs/moss/comments/116.aspx</comments><wfw:commentRss>http://mosschampions.com/blogs/moss/commentrss.aspx?PostID=116</wfw:commentRss><description>&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;How to check if a content type exists on a list by using the SPContentTypeId? Use the BestMatch() method of the SPContentTypeCollection. &lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Using the indexer is not straight forward because when the content type is assigned to a list, the SPContentTypeId is unique for that list. In other words, the following will return null even if &lt;em&gt;myLibrary &lt;/em&gt;has the XMLDocument content type associated with it:&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;span style="font-size:10pt;color:teal;line-height:115%;font-family:'Courier New';"&gt;SPContentType&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:'Courier New';"&gt; t = myLibrary.ContentTypes[&lt;span style="color:teal;"&gt;SPBuiltInContentTypeId&lt;/span&gt;.XMLDocument];&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;The unique ID of the content type associated to the list is a child of the content type ID found in &lt;/font&gt;&lt;span style="font-size:10pt;color:teal;line-height:115%;font-family:'Courier New';"&gt;SPWeb&lt;/span&gt;&lt;font face="Calibri" size="3"&gt;.&lt;/font&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:'Courier New';"&gt;AvailableContentTypes,&lt;/span&gt;&lt;font face="Calibri" size="3"&gt; therefore the following is a solution:&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;span style="font-size:10pt;color:blue;line-height:115%;font-family:'Courier New';"&gt;if&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:'Courier New';"&gt;(myLibrary.ContentTypes.BestMatch(&lt;span style="color:teal;"&gt;SPBuiltInContentTypeId&lt;/span&gt;.XMLDocument).Parent == &lt;span style="color:teal;"&gt;SPBuiltInContentTypeId&lt;/span&gt;.XMLDocument)&lt;br /&gt;alreadyExists = &lt;span style="color:blue;"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;BestMatch() appears to always find a SPContentTypeId to return, and if the match is a direct descendent of the SPContentTypeId you are interested in, then the content type exists on the list.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;This is&amp;nbsp;preferable&amp;nbsp;to using the friendly name of the content type in the SPContentTypeCollection indexer as the name may be localized.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://mosschampions.com/aggbug.aspx?PostID=116" width="1" height="1"&gt;</description></item><item><title>Cannot open MOSS Alert email in Outlook.</title><link>http://mosschampions.com/blogs/moss/archive/2007/09/11/Cannot-open-MOSS-Alert-email_2E00_.aspx</link><pubDate>Tue, 11 Sep 2007 10:59:00 GMT</pubDate><guid isPermaLink="false">04d415e9-25c6-4179-946f-2e852d34455b:114</guid><dc:creator>obslanb</dc:creator><slash:comments>1</slash:comments><comments>http://mosschampions.com/blogs/moss/comments/114.aspx</comments><wfw:commentRss>http://mosschampions.com/blogs/moss/commentrss.aspx?PostID=114</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I came accross this issue on a customer site today and found the following KB Article.&lt;/p&gt;&lt;p&gt;You cannot open a SharePoint Server 2007 notification message in Outlook 2007 when your mailbox is on an Exchange 2003 server&lt;/p&gt;&lt;p&gt;&lt;a href="http://support.microsoft.com/KB/930807"&gt;http://support.microsoft.com/KB/930807&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://mosschampions.com/aggbug.aspx?PostID=114" width="1" height="1"&gt;</description></item><item><title>Bulk file name changes for files with reserved characters </title><link>http://mosschampions.com/blogs/moss/archive/2007/08/13/Bulk-file-name-changes-for-files-with-reserved-characters-.aspx</link><pubDate>Mon, 13 Aug 2007 11:41:00 GMT</pubDate><guid isPermaLink="false">04d415e9-25c6-4179-946f-2e852d34455b:112</guid><dc:creator>Jeff Ward</dc:creator><slash:comments>0</slash:comments><comments>http://mosschampions.com/blogs/moss/comments/112.aspx</comments><wfw:commentRss>http://mosschampions.com/blogs/moss/commentrss.aspx?PostID=112</wfw:commentRss><description>&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Uploading bulk volumes of documents into WSS or MOSS can be problematic when file names with reserve characters are encountered.&lt;span&gt;&amp;nbsp; &lt;/span&gt;A common offender is &amp;ldquo;&amp;amp;&amp;rdquo;.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Eg an excel file named &lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;em&gt;bid &amp;amp; proposal.xlsx&lt;/em&gt; &lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;will fail to be imported into a document library.&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;I have found a nifty utility originally for MAC but now has a Windows version, that solves this migration / bulk upload dilemma.&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Name Munger (pronounced &amp;quot;Name Munjer&amp;quot;) is a powerful, yet simple-to-use batch file renaming utility. Simply drag one or more files or folders onto the Name Munger icon and you can easily add text before or after the existing name, change one or more occurrences of part of the name or even remove some of the name. In a snap you can rename dozens or even hundreds of files.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Main features include:&lt;/font&gt;&lt;/p&gt;&lt;ul&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 10pt;tab-stops:list 36.0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Quickly rename one file or a thousand with a simple drag-n-drop&lt;/font&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 10pt;tab-stops:list 36.0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Add to the beginning of file and folder names &lt;/font&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 10pt;tab-stops:list 36.0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Add to the end of file and folder names &lt;/font&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 10pt;tab-stops:list 36.0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Replace text anywhere in a file or folder name &lt;/font&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 10pt;tab-stops:list 36.0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Remove text from anywhere in a file or folder name &lt;/font&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 10pt;tab-stops:list 36.0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Strip any character or set of characters from file or folder names. &lt;/font&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 10pt;tab-stops:list 36.0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Strip leading and/or trailing spaces from a file or folder name &lt;/font&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 10pt;tab-stops:list 36.0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Change file names to ALL UPPER CASE, all lower case, or Title Caps &lt;/font&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 10pt;tab-stops:list 36.0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Add customizable numbers before or after the file names &lt;/font&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 10pt;tab-stops:list 36.0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Renames items in nested folders or just those you select &lt;/font&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 10pt;tab-stops:list 36.0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Preview your changes before applying them. &lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Download is available here:&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;a href="http://sonoragraphics.com/namemunger.html"&gt;&lt;font color="#800080" face="Calibri" size="3"&gt;http://sonoragraphics.com/namemunger.html&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://mosschampions.com/aggbug.aspx?PostID=112" width="1" height="1"&gt;</description><category domain="http://mosschampions.com/blogs/moss/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/WSS/default.aspx">WSS</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/Migration/default.aspx">Migration</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/Bulk+Document+Load/default.aspx">Bulk Document Load</category></item><item><title>'stsadm -o canceldeployment' when a solution deployment is already under way</title><link>http://mosschampions.com/blogs/moss/archive/2007/07/11/_2700_stsadm-_2D00_o-canceldeployment_2700_-when-a-solution-deployment-is-already-under-way.aspx</link><pubDate>Wed, 11 Jul 2007 12:59:00 GMT</pubDate><guid isPermaLink="false">04d415e9-25c6-4179-946f-2e852d34455b:111</guid><dc:creator>james</dc:creator><slash:comments>2</slash:comments><comments>http://mosschampions.com/blogs/moss/comments/111.aspx</comments><wfw:commentRss>http://mosschampions.com/blogs/moss/commentrss.aspx?PostID=111</wfw:commentRss><description>&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;If a SharePoint solution deployment fails, yet the timer job is created and not running, you will be unable to redeploy or retract the solution. The retract / deploy buttons will not be present in Central Admin and stsadm will declare that a &amp;quot;deployment or retraction is already under way for the solution&amp;quot;. You can find yourself in this state if the &amp;ldquo;Windows SharePoint Services Administration&amp;rdquo; service is stopped when you first attempt to deploy, but even after you realise your mistake and start that service, the solution deployment is still stuck.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;The answer is hidden in that long list of stsadm operations:&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;stsadm &lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;ndash;o canceldeployment &amp;ndash;id &amp;lt;time job guid&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;This command will cancel the timer job that is meant to deploy the solution. Once it has been cleared, you can&amp;nbsp;deploy successfully. Obtain the id parameter from the url&amp;nbsp;to the appropriate deployment timer job in the Operations -&amp;gt; Timer Job Definitions page.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;happy stsadming&lt;/font&gt;&lt;/p&gt;&lt;img src="http://mosschampions.com/aggbug.aspx?PostID=111" width="1" height="1"&gt;</description></item><item><title>Quick STSADM tip regarding the “Windows SharePoint Services Search” Service.</title><link>http://mosschampions.com/blogs/moss/archive/2007/06/23/Quick-STSADM-tip.aspx</link><pubDate>Sat, 23 Jun 2007 00:07:00 GMT</pubDate><guid isPermaLink="false">04d415e9-25c6-4179-946f-2e852d34455b:108</guid><dc:creator>obslanb</dc:creator><slash:comments>1</slash:comments><comments>http://mosschampions.com/blogs/moss/comments/108.aspx</comments><wfw:commentRss>http://mosschampions.com/blogs/moss/commentrss.aspx?PostID=108</wfw:commentRss><description>&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Just a quick little STSADM tip regarding the &amp;ldquo;Windows SharePoint Services Search&amp;rdquo; Service.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Recently during&amp;nbsp;a MOSS implementation, the WSS Search Service wouldn&amp;rsquo;t start up with its status stuck on &amp;ldquo;starting&amp;rdquo; after filling in the appropriate details.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;I tried&amp;nbsp;several&amp;nbsp;steps including stopping services, IISRESETs, several changes in CA with no luck.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;In the end the fix was this simple STSADM command:&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="color:red;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN&amp;gt;stsadm -o spsearch -action stop&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;It&amp;rsquo;s always easy when you know.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://mosschampions.com/aggbug.aspx?PostID=108" width="1" height="1"&gt;</description></item><item><title>Error Creating MySite - Hotfix Available</title><link>http://mosschampions.com/blogs/moss/archive/2007/06/23/Error-Creating-MySite-_2D00_-Hotfix-Available.aspx</link><pubDate>Fri, 22 Jun 2007 14:09:00 GMT</pubDate><guid isPermaLink="false">04d415e9-25c6-4179-946f-2e852d34455b:107</guid><dc:creator>obslanb</dc:creator><slash:comments>1</slash:comments><comments>http://mosschampions.com/blogs/moss/comments/107.aspx</comments><wfw:commentRss>http://mosschampions.com/blogs/moss/commentrss.aspx?PostID=107</wfw:commentRss><description>&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;I recently came across the following two errors&amp;nbsp;during the creation of Mysites.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;From MOSS:&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&amp;quot;There has been an error creating the personal site. Contact your site administrator for more information&amp;quot;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Calibri" size="3"&gt;From the Event Log:&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Calibri" size="3"&gt;&amp;ldquo;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-size:8.5pt;color:black;font-family:'Verdana','sans-serif';"&gt;The site &lt;span style="font-family:'Verdana','sans-serif';"&gt;site_location&lt;/span&gt; could not be created. The following exception occured: Value does not fall within the expected range.&amp;rdquo;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Calibri" size="3"&gt;The following hotfix fixed it. &lt;/font&gt;&lt;a href="http://support.microsoft.com/kb/937207"&gt;&lt;font face="Calibri" size="3"&gt;http://support.microsoft.com/kb/937207&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://mosschampions.com/aggbug.aspx?PostID=107" width="1" height="1"&gt;</description></item><item><title>Using SharePoint Designer to help with creating content types and columns XML/CAML</title><link>http://mosschampions.com/blogs/moss/archive/2007/06/01/Using-SharePoint-Designer-to-help-with-creating-content-types-and-columns-XML_2F00_CAML.aspx</link><pubDate>Fri, 01 Jun 2007 03:50:00 GMT</pubDate><guid isPermaLink="false">04d415e9-25c6-4179-946f-2e852d34455b:105</guid><dc:creator>craig</dc:creator><slash:comments>1</slash:comments><comments>http://mosschampions.com/blogs/moss/comments/105.aspx</comments><wfw:commentRss>http://mosschampions.com/blogs/moss/commentrss.aspx?PostID=105</wfw:commentRss><description>&lt;p&gt;The other day I had to create a content type with several complex calculated columns.&amp;nbsp; I was deploying my content types to the server via a solution deployment pack (and features) and left starching my head on the correct CAML to correctly mark-up a calculated column.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I know I could create the column in the web UI, but how was I going to get it into a feature and XML.&amp;nbsp; So it was time put my Elmer Fudd hat on and go hunting wabbits and see how I could easily extract a existing content type and it&amp;rsquo;s columns.&amp;nbsp; A quick search on Google did not help, I throughout about looking at the SQL DB&amp;rsquo;s but my head started to hurt just thinking about all the tables and columns I would need to search through.&amp;nbsp; There had to be a easy option out there, and SharePoint Designer (SPD) was it.&amp;nbsp; I have insert some basic steps to follow below to extract the XML for a content type and columns via SPD.&amp;nbsp; Using this method can also give you a better understanding as a developer the things you can do with SharePoint via CAML, and lets you see how Microsoft got it working.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Step to extract a content type and columns to CAML (XML)&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create you content type and columns in the web UI.&lt;br /&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create a list/library item using you new content type.&lt;br /&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load up SPD to the site where you created you item.&lt;br /&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From the File menu click Export -&amp;gt; Personal Web Package.&lt;br /&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the export web package window select the list/library where your create the item using the new content type and click add.&lt;br /&gt;6.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Save the package to your local drive.&lt;br /&gt;7.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next browse to where you saved the file and rename it from .fwp to .cab.&lt;br /&gt;8.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extract manifest.xml to your local drive.&lt;br /&gt;9.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load the file up in your favourite XML viewer (might take a second or two it can be a large file).&lt;br /&gt;10.&amp;nbsp;&amp;nbsp; Navigate to the UserLists/Field node (Solution/UserLists/Fields).&lt;br /&gt;11.&amp;nbsp;&amp;nbsp; The within this node look for your field, you will be able to see the CAML that describes your field.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;As you can see SPD can be a very powerful tool, and looking more at the manifest.xml file will also give you hours of extra reading.&amp;nbsp; When you save a list or web as a template you can do the&amp;nbsp; exactly same thing just rename the .stp file to .cab and extract the manifest file.&lt;/p&gt;&lt;p&gt;Note: Using the SharePoint Visual Studio add-in could help archive a similar outcome, however SPD can be a quick and easy tool to use.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Happy hunting.&lt;br /&gt;&lt;/p&gt;&lt;img src="http://mosschampions.com/aggbug.aspx?PostID=105" width="1" height="1"&gt;</description><category domain="http://mosschampions.com/blogs/moss/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/WSS/default.aspx">WSS</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/SharePoint+Development/default.aspx">SharePoint Development</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/SharePoint+Designer/default.aspx">SharePoint Designer</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/CAML/default.aspx">CAML</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/Features/default.aspx">Features</category></item><item><title>Extending stsadm.exe with custom commands</title><link>http://mosschampions.com/blogs/moss/archive/2007/05/21/Extending-stsadm.exe-with-custom-commands.aspx</link><pubDate>Mon, 21 May 2007 02:41:00 GMT</pubDate><guid isPermaLink="false">04d415e9-25c6-4179-946f-2e852d34455b:103</guid><dc:creator>craig</dc:creator><slash:comments>0</slash:comments><comments>http://mosschampions.com/blogs/moss/comments/103.aspx</comments><wfw:commentRss>http://mosschampions.com/blogs/moss/commentrss.aspx?PostID=103</wfw:commentRss><description>&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Microsoft have opened up stsadm.exe for use by third party developers.&lt;span&gt;&amp;nbsp; &lt;/span&gt;This has been done to make managing a SharePoint server easier for a administrator, by giving them a one stop tool to configure applications that are built on top of SharePoint (MOSS an WSS).&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;To add your command to stsadm you need to:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoListParagraph" style="margin:0cm 0cm 0pt 36pt;text-indent:-18pt;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri" size="3"&gt;1.&lt;/font&gt;&lt;span style="font:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Create a file xml file in the &lt;strong&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\CONFIG&lt;/strong&gt; directory with the prefix of &lt;strong&gt;stsadmcommands&lt;/strong&gt;. For example stsadmcommands.customapp.xml&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoListParagraph" style="margin:0cm 0cm 0pt 36pt;text-indent:-18pt;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri" size="3"&gt;2.&lt;/font&gt;&lt;span style="font:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;This file has a root node called &lt;strong&gt;Commands&lt;/strong&gt; and child node &lt;strong&gt;Command&lt;/strong&gt; with both &lt;strong&gt;name&lt;/strong&gt; and &lt;strong&gt;class&lt;/strong&gt; as attributes.&lt;span&gt;&amp;nbsp; &lt;/span&gt;The name attribute contains the command which will be exposed via stsadm, and the class attribute contains a full qualified reference to you assembly.&lt;br /&gt;&lt;br /&gt;For an example of the xml look at the out of the box command xml files in the directory.&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoListParagraph" style="margin:0cm 0cm 0pt 36pt;text-indent:-18pt;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri" size="3"&gt;3.&lt;/font&gt;&lt;span style="font:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Next is to create a class (and assembly) which you command will load and excute.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Create a new class in your visual studio solution and call it &lt;strong&gt;stscommands&lt;/strong&gt; (any name will do), next add a reference to &lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Microsoft.SharePoint.StsAdmin &lt;/strong&gt;found in the &lt;strong&gt;Microsoft.SharePoint&lt;/strong&gt; assembly. &lt;span&gt;&amp;nbsp;&lt;/span&gt;Then set your class to implement the interface &lt;strong&gt;ISPStsadmCommand&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;C# Example&lt;/strong&gt;&lt;br /&gt;public class stscommands:ISPStsadmCommand&lt;br /&gt;{&lt;br /&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;public string GetHelpMessage(string command){}&lt;br /&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;public int Run(string command, System.Collections.Specialized.StringDictionary keyValues, out string output){}&lt;br /&gt;}&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoListParagraph" style="margin:0cm 0cm 0pt 36pt;text-indent:-18pt;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri" size="3"&gt;4.&lt;/font&gt;&lt;span style="font:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Populate out the methods and deploy your assembly to the GAC&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoListParagraph" style="margin:0cm 0cm 0pt 36pt;text-indent:-18pt;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri" size="3"&gt;5.&lt;/font&gt;&lt;span style="font:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;You can now run stsadm.exe and will see you command appear in the list of available commands.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Parameters are automatically process and passed into you custom command class and are access via the &lt;strong&gt;keyValues &lt;/strong&gt;parameter, for example:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;C# Example&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Console.WriteLine(keyValues[&amp;ldquo;MyCustParam&amp;rdquo;]);&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;This is process of extending stsadm is very useful if your project/application has any configuration setting that need set prior to your code being used.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Also if you deploy your assembly and xml configuration file via a SharePoint deployment solution it will be automatically deployed to all servers in your farm.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://mosschampions.com/aggbug.aspx?PostID=103" width="1" height="1"&gt;</description><category domain="http://mosschampions.com/blogs/moss/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/WSS/default.aspx">WSS</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/SharePoint+Development/default.aspx">SharePoint Development</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/SharePoint+Configuration/default.aspx">SharePoint Configuration</category><category domain="http://mosschampions.com/blogs/moss/archive/tags/Best+Practices/default.aspx">Best Practices</category></item></channel></rss>