<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>Marcus Hass' [MS] Blog : SharePoint</title><link>http://blogs.technet.com/mhass/archive/tags/SharePoint/default.aspx</link><description>Tags: SharePoint</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Microsoft Online and SBS 2003</title><link>http://blogs.technet.com/mhass/archive/2009/06/02/microsoft-online-and-sbs-2003.aspx</link><pubDate>Wed, 03 Jun 2009 05:16:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3249589</guid><dc:creator>mhass</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.technet.com/mhass/comments/3249589.aspx</comments><wfw:commentRss>http://blogs.technet.com/mhass/commentrss.aspx?PostID=3249589</wfw:commentRss><wfw:comment>http://blogs.technet.com/mhass/rsscomments.aspx?PostID=3249589</wfw:comment><description>&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;I have been working with the Microsoft BPOS aka Microsoft Online guys in Enterprise accounts for a while to help big companies migrate to BPOS dedicated.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Don’t know what that is?&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Check out &lt;/FONT&gt;&lt;A href="http://www.microsoftonline.com/"&gt;&lt;FONT color=#0000ff size=3 face=Calibri&gt;www.microsoftonline.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3 face=Calibri&gt;.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;To sum it up, it is hosted Exchange, SharePoint, OCS, LiveMeeting, and a few other offerings.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;For bigger businesses, Microsoft sets up dedicated hosting servers, for small it is multitenant.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;I help out a small company from time to time because they have 15 employees and a Small Business Server 2003 environment.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;They are constantly running out of space on their 5 year old server because mail boxes keep growing because of attachment sizes.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;These guys are the perfect scenario to migrate to Microsoft Online!&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;So, I setup a free trial and started loading some of the coexistence tools like email sync and dirsync onto the Small Business server.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Well, that was the plan.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Turns out, dirsync can’t be run on a domain controller and will only run on Windows Server 2003.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I think the BPOS guys missed the Small Businesses aren’t going to have an extra server lying around.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;How can you miss this scenario when building your tools, especially a segment of the market so perfect for BPOS?&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;So, they will have to forgo the coexistence and migrate mailboxes in one fell swoop over a weekend, which won’t be pretty over the small network connection they have.&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=3 face=Calibri&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="FONT-SIZE: 12pt; mso-ascii-font-family: Calibri; mso-fareast-font-family: 'Times New Roman'; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri"&gt;I am sure there are technical reasons, and that's what will be used as an excuse.&amp;nbsp; It just disappoints me when we have really smart guys that miss such a big opportunity to help small businesses.&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3249589" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mhass/archive/tags/All+Posts+Mhass/default.aspx">All Posts Mhass</category><category domain="http://blogs.technet.com/mhass/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/mhass/archive/tags/Rants/default.aspx">Rants</category><category domain="http://blogs.technet.com/mhass/archive/tags/IM_2F00_LCS/default.aspx">IM/LCS</category><category domain="http://blogs.technet.com/mhass/archive/tags/Exchange/default.aspx">Exchange</category><category domain="http://blogs.technet.com/mhass/archive/tags/Windows/default.aspx">Windows</category></item><item><title>SharePoint 3.0 WSP Deployment Scripts</title><link>http://blogs.technet.com/mhass/archive/2007/08/20/sharepoint-3-0-wsp-deployment-scripts.aspx</link><pubDate>Mon, 20 Aug 2007 22:03:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1791292</guid><dc:creator>mhass</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.technet.com/mhass/comments/1791292.aspx</comments><wfw:commentRss>http://blogs.technet.com/mhass/commentrss.aspx?PostID=1791292</wfw:commentRss><wfw:comment>http://blogs.technet.com/mhass/rsscomments.aspx?PostID=1791292</wfw:comment><description>&lt;P&gt;I have been working with a customer over the last few weeks to come up with a mechanism that their Configuration Management (CM)&amp;nbsp;team can use to deploy custom WSS code.&amp;nbsp; Fortunately, WSS allows our developers to wrap up their code into a Solution (WSP files).&amp;nbsp; The solution can have things like templates that&amp;nbsp;go on the file system,&amp;nbsp;web.config changes and features.&amp;nbsp;&amp;nbsp;Features are cool little things that can do things on WSS as well as have additional tasks on the server or file system,&amp;nbsp;all defined by the developer through and XML file.&amp;nbsp; Not all solutions will have a feature.&lt;/P&gt;
&lt;P&gt;The trick here was to make it very simple for the CM team to deploy different versions of code to different environments such as Dev, Test and Prod.&amp;nbsp; So, I looked at some of my old WSS 2.0 scripts that would deploy web parts out to&amp;nbsp;EVERY&amp;nbsp;INDIVIDUAL box in the farm&amp;nbsp;by draining the application pools, deploying the DLL and GAC'ing them, restarting the web site (iisapp.vbs), and running a warm up script to fire up the ISAPI filters.&amp;nbsp; This was a pain for the CM teams, especially in Internet facing properties that you wish to have as little service interruption as possible.&amp;nbsp; You had to really watch the logs to ensure each box updated successfully, restart the site, etc.&lt;/P&gt;
&lt;P&gt;WSS 3.0 makes this a lot easier by having a solution database that can store those solutions that you want to deploy, and then can either use a timer to deploy them across the farm or you can force them.&amp;nbsp; You deploy the solution to a single web server in the farm, it is stored in the solution database, and SharePoint takes care of installing them on all the web boxes.&amp;nbsp; In my scripts below, we decided that we&amp;nbsp;would rather have the solutions deploy immediately so that we could troubleshoot any problems right away.&lt;/P&gt;
&lt;P&gt;I further wanted to simplify the CM groups deployment by having all deployment scripts and logs on a central server.&amp;nbsp; They basically "push a button" for the particular solution package they want to deploy and it fires off a remote task to the web server.&lt;/P&gt;
&lt;P&gt;The last BIG bonus about this is disaster recovery.&amp;nbsp; Since we do SQL backups regularly, we are able to bring up a new SharePoint farm, restore our DB's, run our WSP files, and we are back in business.&amp;nbsp; This is how MSIT does it, BTW.&lt;/P&gt;
&lt;P&gt;Here is how it works, pay attention, it gets a little tricky as to what&amp;nbsp;server is running what:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/mhass/WindowsLiveWriter/SharePoint3.0WSPDeploymentScripts_B78E/image_1.png" mce_href="http://blogs.technet.com/blogfiles/mhass/WindowsLiveWriter/SharePoint3.0WSPDeploymentScripts_B78E/image_1.png" atomicselection="true"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=385 alt=image src="http://blogs.technet.com/blogfiles/mhass/WindowsLiveWriter/SharePoint3.0WSPDeploymentScripts_B78E/image_thumb_1.png" width=509 border=0 mce_src="http://blogs.technet.com/blogfiles/mhass/WindowsLiveWriter/SharePoint3.0WSPDeploymentScripts_B78E/image_thumb_1.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Basically, a script is kicked off&amp;nbsp;on the deployment server with parameters for the environment, it fires SchedTaskWebSolDeploy.cmd, which fires a WMIC command to the web server based on name in WMICSolMachines.txt.&amp;nbsp; This wakes up a scheduled task on the web server, which is&amp;nbsp;set to only run once in 1978 (ensuring that it doesn't fire automatically), and runs the WebServerDeploySolutionwithFeature.cmd.&amp;nbsp; All of these output log files on the deployment server so that the status can&amp;nbsp;easily be checked from a central place.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below are the scripts, I posted them as text to have the search engines crawl them for reference.&amp;nbsp; If you want to skip to the good stuff, it is in the WebServerDeploySolutionWithFeature.cmd section.&amp;nbsp; Please NOTE: Thes scripts are intended to overwrite the existing Solutions and Features, so be sure you know what they do before you get them up and running.&amp;nbsp; Also, the normal rules apply here around the fact that these are examples, please use at your risk and support them yourselves, the last thing I need is any midnight phone calls.&lt;/P&gt;
&lt;P&gt;The names of the innocent servers have been changed to "deploymentserver" or "mossdev" to protect their identity:&lt;/P&gt;
&lt;H3&gt;DeployWebPartsFeature.cmd&lt;/H3&gt;
&lt;P&gt;://////////////////////////////////////////////////&lt;BR&gt;:// Author: Marcus Hass (mhass@microsoft.com)&lt;BR&gt;:// Version: 2.0&lt;BR&gt;:// Date: 08.01.2007&lt;BR&gt;://&lt;BR&gt;:// Notes:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; Runs a remote task via WMIC to deploy a SharePoint 2007 Solution&lt;BR&gt;://&amp;nbsp;&amp;nbsp; THIS SCRIPT MUST BE RUN FROM THE deployscripts DIRECTORY (assumes the \CORE is below current direcotry)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; Assumes all necesary infrastructure exists for Sharepoint on all boxes&lt;BR&gt;://&amp;nbsp;&amp;nbsp; Assumes that the remote scheduled tasks exist&lt;BR&gt;://&lt;BR&gt;:// Inputs:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; LogFile(%1) - Path to centralized log file (i.e \\endor\deployscripts$)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; WebSiteName(%2) - The name of the web site that will be deployed to, also used on log file name (Tntranet, ProdMOSSWeb1)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; PathtoScripts(%3) - UNC path to scripts (i.e. \\endor\deployscripts$)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; SchedTaskName(%4) - Name of the scheduled task on the remote box&lt;BR&gt;://&lt;BR&gt;://////////////////////////////////////////////////&lt;BR&gt;echo Starting DeployDeployIntranetSiteDefWSP.cmd 
&lt;P&gt;\\deploymentserver\deployscripts$\dev\core\SchedTaskWebSolDepoly.cmd \\deploymentserver\deployscripts$\dev\logs \\deploymentserver\deployscripts$\dev DeployWebPartsFeature 
&lt;H3&gt;SchedTaskWebSolDepoly.cmd&lt;/H3&gt;
&lt;P&gt;@echo off&lt;BR&gt;://////////////////////////////////////////////////&lt;BR&gt;:// Author: Marcus Hass (mhass@microsoft.com)&lt;BR&gt;:// Version: 2.0&lt;BR&gt;:// Date: 08.01.2007&lt;BR&gt;://&lt;BR&gt;:// Script File:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; SchedTaskWebSolDeply.cmd&lt;BR&gt;://&lt;BR&gt;:// Notes:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; Runs the local sched task to deploy a MOSS solution&lt;BR&gt;://&amp;nbsp;&amp;nbsp; THIS SCRIPT MUST BE RUN FROM THE deployscripts DIRECTORY (assumes the \CORE is below current direcotry)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; Assumes all necesary infrastructure exists for Sharepoint on all boxes&lt;BR&gt;://&amp;nbsp;&amp;nbsp; Assumes that the remote scheduled tasks exist&lt;BR&gt;://&lt;BR&gt;:// Inputs:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; LogFile(%1) - Path to centralized log file (i.e \\endor\deployscripts$, etc)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; PathtoScripts(%2) - UNC path to scripts (i.e. \\endor\deployscripts$, etc)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; SchedTaskName(%3) - Name of the scheduled task on the remote box&lt;BR&gt;://&amp;nbsp;&amp;nbsp; &lt;BR&gt;:// Outputs:&lt;BR&gt;://&lt;BR&gt;:// Environment variables referenced:&lt;BR&gt;://&lt;BR&gt;:// Runs in:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; N32, N64&lt;BR&gt;://&lt;BR&gt;:////////////////////////////////////////////////// 
&lt;P&gt;:Main 
&lt;P&gt;:// Validate the input parameters to make sure they exist. 
&lt;P&gt;&amp;nbsp; if NOT "%1"=="" goto :LogFileOK&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo ERROR: Empty LogFile parameter. Aborting.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set RETSTS=1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto :usage&lt;BR&gt;&amp;nbsp; :LogFileOK 
&lt;P&gt;&amp;nbsp; set PathtoScripts=%2&lt;BR&gt;&amp;nbsp; set SchedTaskName=%3&lt;BR&gt;&amp;nbsp; set LogFile=%1\Status%computername%%WebSiteName%_DeployServer.txt 
&lt;P&gt;:// Sending script info to log file 
&lt;P&gt;&amp;nbsp; echo. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Running script SchedTaskWebSolDeploy &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; Date /T &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; Time /T &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; set username &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;:// Run script to envoke remote scheduled tasks 
&lt;P&gt;&amp;nbsp; set cmd1=WMIC /node:@"%PathtoScripts%\WMICSolMachines.txt" PROCESS CALL Create "schtasks /Run /TN %SchedTaskName%" 
&lt;P&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo Sending Deployment commands to remote computers.&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo Envoking remote scheduled tasks using the following command: &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Envoking remote scheduled tasks using the following command:&lt;BR&gt;&amp;nbsp; echo %cmd1% &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo %cmd1% 
&lt;P&gt;&amp;nbsp; %cmd1% &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;:// If error with command tell user and dump out of script 
&lt;P&gt;&amp;nbsp; if "%ERRORLEVEL%"=="0" goto :Oktogotoend&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running the command: %cmd3%, please check log file located at %LogFile%. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running the command: %cmd3%, please check log file located at %LogFile%&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto :bigerror&lt;BR&gt;&amp;nbsp; :Oktogotoend 
&lt;P&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo +-----------------------------------------------------+&lt;BR&gt;&amp;nbsp; echo&amp;nbsp; Script is successful and did not return any errors &lt;BR&gt;&amp;nbsp; echo&amp;nbsp; Log File located at: %LogFile%&lt;BR&gt;&amp;nbsp; echo +-----------------------------------------------------+&lt;BR&gt;&amp;nbsp; echo&amp;nbsp; Please check log files for remote computers as status &lt;BR&gt;&amp;nbsp; echo&amp;nbsp; is not reported in this deployment script&lt;BR&gt;&amp;nbsp; echo +----------------------------------------------------+&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo Script is successful and did not return any errors &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Please check log files for remote computers as status &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo is not reported in this deployment script &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; pause 
&lt;P&gt;&amp;nbsp; goto :end 
&lt;P&gt;:bigerror&lt;BR&gt;&amp;nbsp; echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo A catastropic error has occured and the deployment can not continue, please check &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo error logs located at %LogFile% &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo The return status code was %RETSTS% %ERRORLEVEL% &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo A catastropic error has occured and the deployment can not continue, please check&lt;BR&gt;&amp;nbsp; echo error logs located at %LogFile%&lt;BR&gt;&amp;nbsp; echo The return status code was %RETSTS% %ERRORLEVEL%&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; pause&lt;BR&gt;&amp;nbsp; goto :end&lt;BR&gt;://////////////////////////////////////////////////&lt;BR&gt;://&lt;BR&gt;:// Script end.&lt;BR&gt;://&lt;BR&gt;:////////////////////////////////////////////////// 
&lt;P&gt;:end 
&lt;P&gt;&amp;nbsp; set LogFile=&lt;BR&gt;&amp;nbsp; set PathtoScripts=&lt;BR&gt;&amp;nbsp; set cmd1= 
&lt;H3&gt;WMICSolMachines.txt&lt;/H3&gt;
&lt;P&gt;webservername&lt;/P&gt;
&lt;H3&gt;Example of DeployWebPartsFeature Scheduled Task Command Line:&lt;/H3&gt;
&lt;P&gt;://////////////////////////////////////////////////&lt;BR&gt;:// Author: Marcus Hass (mhass@microsoft.com)&lt;BR&gt;:// Version: 2.0&lt;BR&gt;:// Date: 08.01.2007&lt;BR&gt;://&lt;BR&gt;:// Notes:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; Schedulede Task Name: DeploySolution&lt;BR&gt;://&amp;nbsp;&amp;nbsp; This is an example file that details what should be in the scheduled task on a remote box. &lt;BR&gt;://&lt;BR&gt;:// Inputs:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; LogFile(%1) - Path to centralized log file (i.e \\endor\deployscripts$\logs)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; PathtoCode(%2) - UNC Path to Code repository (i.e. \\endor\code$\prod)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; AppVer(%3) - version of software to deploy (i.e., current, 1.0.0.0)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; WebSiteName(%4) - The name of the web site that will be deployed to (i.e. Intranet, ProdMOSSWeb1)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; SiteDefName(%5) - Name of the feature that will be activated/deactivated, Filename and solution names should match (i.e. IntranetSiteDef)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; PathToScripts(%6) - Path to where the scripts are located (i.e \\endor\deployscripts$)&lt;BR&gt;://&lt;BR&gt;:////////////////////////////////////////////////// 
&lt;P&gt;://Example of commandline: 
&lt;P&gt;\\deploymentserver\deployscripts$\dev\core\WebServerDeploySolutionWithFeature.cmd \\deploymentserver\deployscripts$\dev\logs \\deploymentserver\code$ dev\current mossdev WebPartsFeature \\deploymentserver\deployscripts$\dev 
&lt;H3&gt;WebServerDeploySolutionWithFeature.cmd&lt;/H3&gt;
&lt;P&gt;@echo off&lt;BR&gt;://////////////////////////////////////////////////&lt;BR&gt;:// Author: Marcus Hass (mhass@microsoft.com)&lt;BR&gt;:// Version: 2.0&lt;BR&gt;:// Date: 08.01.2007&lt;BR&gt;://&lt;BR&gt;:// Script File:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; WebServerDeploySolutionWithFeature.cmd&lt;BR&gt;://&lt;BR&gt;:// Notes:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; This script is called by a scheduled task on a MOSS web front end server&lt;BR&gt;://&amp;nbsp;&amp;nbsp; THIS SCRIPT MUST BE RUN FROM THE deployscripts DIRECTORY (assumes the \CORE is below current direcotry)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; Assumes all necesary infrastructure exists for Sharepoint on all boxes&lt;BR&gt;://&lt;BR&gt;:// Inputs:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; LogFile(%1) - Path to centralized log file (i.e \\endor\deployscripts$\logs)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; PathtoCode(%2) - UNC Path to Code repository (i.e. \\endor\code$\prod)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; AppVer(%3) - version of software to deploy (i.e., current, 1.0.0.0)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; WebSiteName(%4) - The name of the web site that will be deployed to (i.e. Intranet, ProdMOSSWeb1)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; SiteDefName(%5) - Name of the feature that will be activated/deactivated, Filename and solution names should match (i.e. IntranetSiteDef)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; PathToScripts(%6) - Path to where the scripts are located (i.e \\endor\deployscripts$)&lt;BR&gt;://&amp;nbsp;&amp;nbsp; &lt;BR&gt;:// Outputs:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; LogFile=%1\SolutionDeployFeature%computername%%WebSiteName%.txt&lt;BR&gt;://&lt;BR&gt;:// Environment variables referenced:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; ComputerName&lt;BR&gt;://&lt;BR&gt;:// Runs in:&lt;BR&gt;://&lt;BR&gt;://&amp;nbsp;&amp;nbsp; N32, N64&lt;BR&gt;://&lt;BR&gt;:////////////////////////////////////////////////// 
&lt;P&gt;:Main 
&lt;P&gt;:// Validate the input parameters to make sure they exist. 
&lt;P&gt;&amp;nbsp; if NOT "%1"=="" goto :LogFileOK&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo ERROR: Empty LogFile parameter. Aborting.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo ERROR: Empty LogFile parameter. Aborting. &amp;gt;&amp;gt; c:\DeploySolution.txt&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set RETSTS=1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto :end&lt;BR&gt;&amp;nbsp; :LogFileOK 
&lt;P&gt;&amp;nbsp; if NOT "%6"=="" goto :BadParmsOK&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo ERROR: Not All Paramters have been supplied. Aborting.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo ERROR: Not All Paramters have been supplied. Aborting. &amp;gt;&amp;gt; c:\DeploySolution.txt&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set RETSTS=1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto :end&lt;BR&gt;&amp;nbsp; :BadParmsOK 
&lt;P&gt;&amp;nbsp; set PathtoCode=%2&lt;BR&gt;&amp;nbsp; set AppVer=%3&lt;BR&gt;&amp;nbsp; set WebSiteName=%4&lt;BR&gt;&amp;nbsp; set SiteDefName=%5&lt;BR&gt;&amp;nbsp; set PathToScripts=%6&lt;BR&gt;&amp;nbsp; set DepFeatureName1=ITWebParts&lt;BR&gt;&amp;nbsp; set LogFile=%1\SolutionDeployFeature%computername%%WebSiteName%.txt 
&lt;P&gt;&amp;nbsp; set stsadmpath="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN" 
&lt;P&gt;:// Sending script info to log file 
&lt;P&gt;&amp;nbsp; echo. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Running script WebServerDeploySolutionWithFeature &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; Date /T &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; Time /T &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; set username &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;:// need to retract the solution so it can be replaced 
&lt;P&gt;&amp;nbsp; set cmd2=%stsadmpath%\stsadm -o retractsolution -name %SiteDefName%.wsp -immediate 
&lt;P&gt;&amp;nbsp; echo Running the following command to retract the solution &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Running the following command to retract the solution: &lt;BR&gt;&amp;nbsp; echo %cmd2%&amp;nbsp; &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo %cmd2% 
&lt;P&gt;&amp;nbsp; call %cmd2% &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;:// If error with command tell user but DONT dump out of script 
&lt;P&gt;&amp;nbsp; if "%ERRORLEVEL%"=="0" goto :retractok&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running STSADM retract command, please check log file located at %LogFile%. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running STSADM retract command, please check log file located at %LogFile%.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set ERRORLEVEL=0&lt;BR&gt;&amp;nbsp; :retractok 
&lt;P&gt;:// Executing the commands across the farm, this done after most commands 
&lt;P&gt;&amp;nbsp; set cmd3=%stsadmpath%\stsadm -o execadmsvcjobs 
&lt;P&gt;&amp;nbsp; echo Executing the commands across the farm using the command: &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Executing the commands across the farm using the command&lt;BR&gt;&amp;nbsp; echo %cmd3% &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo %cmd3% 
&lt;P&gt;&amp;nbsp; call %cmd3% &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;:// If error with command tell user and dump out of script 
&lt;P&gt;&amp;nbsp; if "%ERRORLEVEL%"=="0" goto :execute1ok&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error executing execadmsvcjobs1, please check log file located at %LogFile%. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error executing execadmsvcjobs1, please check log file located at %LogFile%.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto :bigerror&lt;BR&gt;&amp;nbsp; :execute1ok 
&lt;P&gt;:// need to delete the solution so it can be replaced 
&lt;P&gt;&amp;nbsp; set cmd4=%stsadmpath%\stsadm -o deletesolution -name %SiteDefName%.wsp -override 
&lt;P&gt;&amp;nbsp; echo Running the following command to delete the solution &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Running the following command to delete the solution: &lt;BR&gt;&amp;nbsp; echo %cmd4%&amp;nbsp; &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo %cmd4% 
&lt;P&gt;&amp;nbsp; call %cmd4% &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;:// If error with command tell user but DONT dump out of script 
&lt;P&gt;&amp;nbsp; if "%ERRORLEVEL%"=="0" goto :deleteok&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running STSADM deletesolution command, please check log file located at %LogFile%. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running STSADM deletesolution command, please check log file located at %LogFile%.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set ERRORLEVEL=0&lt;BR&gt;&amp;nbsp; :deleteok 
&lt;P&gt;:// Executing the commands across the farm, this done after most commands 
&lt;P&gt;&amp;nbsp; set cmd5=%stsadmpath%\stsadm -o execadmsvcjobs 
&lt;P&gt;&amp;nbsp; echo Executing the commands across the farm using the command: &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Executing the commands across the farm using the command&lt;BR&gt;&amp;nbsp; echo %cmd5% &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo %cmd5% 
&lt;P&gt;&amp;nbsp; call %cmd5% &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;:// If error with command tell user and dump out of script 
&lt;P&gt;&amp;nbsp; if "%ERRORLEVEL%"=="0" goto :execute2ok&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error executing execadmsvcjobs2, please check log file located at %LogFile%. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error executing execadmsvcjobs2, please check log file located at %LogFile%.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto :bigerror&lt;BR&gt;&amp;nbsp; :execute2ok 
&lt;P&gt;:// need to add the solution to the repository 
&lt;P&gt;&amp;nbsp; set cmd6=%stsadmpath%\stsadm -o addsolution -filename %PathtoCode%\%AppVer%\%SiteDefName%.wsp 
&lt;P&gt;&amp;nbsp; echo Running the following command to add the solution &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Running the following command to add the solution: &lt;BR&gt;&amp;nbsp; echo %cmd6%&amp;nbsp; &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo %cmd6% 
&lt;P&gt;&amp;nbsp; call %cmd6% &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;:// If error with command tell user and dump out of script 
&lt;P&gt;&amp;nbsp; if "%ERRORLEVEL%"=="0" goto :addsolutionok&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running STSADM addsolution command, please check log file located at %LogFile%. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running STSADM addsolution command, please check log file located at %LogFile%.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto :bigerror&lt;BR&gt;&amp;nbsp; :addsolutionok 
&lt;P&gt;:// Executing the commands across the farm, this done after most commands 
&lt;P&gt;&amp;nbsp; set cmd7=%stsadmpath%\stsadm -o execadmsvcjobs 
&lt;P&gt;&amp;nbsp; echo Executing the commands across the farm using the command: &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Executing the commands across the farm using the command&lt;BR&gt;&amp;nbsp; echo %cmd7% &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo %cmd7% 
&lt;P&gt;&amp;nbsp; call %cmd7% &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;:// If error with command tell user and dump out of script 
&lt;P&gt;&amp;nbsp; if "%ERRORLEVEL%"=="0" goto :execute3ok&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error executing execadmsvcjobs3, please check log file located at %LogFile%. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error executing execadmsvcjobs3, please check log file located at %LogFile%.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto :bigerror&lt;BR&gt;&amp;nbsp; :execute3ok 
&lt;P&gt;:// need to deploy the solution from the repository 
&lt;P&gt;&amp;nbsp; set cmd8=%stsadmpath%\stsadm -o deploysolution -name %SiteDefName%.wsp -immediate -allowGacDeployment -allowCasPolicies -allcontenturls -force 
&lt;P&gt;&amp;nbsp; echo Running the following command to add the solution &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Running the following command to add the solution: &lt;BR&gt;&amp;nbsp; echo %cmd8%&amp;nbsp; &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo %cmd8% 
&lt;P&gt;&amp;nbsp; call %cmd8% &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;:// If error with command tell user and dump out of script 
&lt;P&gt;&amp;nbsp; if "%ERRORLEVEL%"=="0" goto :deploysolutionok&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running STSADM deploysolution command, please check log file located at %LogFile%. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running STSADM deploysolution command, please check log file located at %LogFile%.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto :bigerror&lt;BR&gt;&amp;nbsp; :deploysolutionok 
&lt;P&gt;:// need to deactvate a feature before it can be updated 
&lt;P&gt;&amp;nbsp; set Depcmd1=%stsadmpath%\stsadm -o deactivatefeature -name %DepFeatureName1% -url &lt;A href="http://%WebSiteName%" mce_href="http://%WebSiteName%"&gt;http://%WebSiteName%&lt;/A&gt; -force 
&lt;P&gt;&amp;nbsp; echo Running the following command to unextend the &lt;A href="http://%WebSiteName%" mce_href="http://%WebSiteName%"&gt;http://%WebSiteName%&lt;/A&gt; Web Site: &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Running the following command to unextend the &lt;A href="http://%WebSiteName%" mce_href="http://%WebSiteName%"&gt;http://%WebSiteName%&lt;/A&gt; Web Site: &lt;BR&gt;&amp;nbsp; echo %Depcmd1%&amp;nbsp; &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo %Depcmd1% 
&lt;P&gt;&amp;nbsp; call %Depcmd1% &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;:// If error with command tell user but DONT dump out of script 
&lt;P&gt;&amp;nbsp; if "%ERRORLEVEL%"=="0" goto :deactivateok&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running STSADM deactivate command, please check log file located at %LogFile%. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running STSADM deactivate command, please check log file located at %LogFile%.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set ERRORLEVEL=0&lt;BR&gt;&amp;nbsp; :deactivateok 
&lt;P&gt;&amp;nbsp; set RETSTS=0 
&lt;P&gt;:// Activate the feature 
&lt;P&gt;&amp;nbsp; set Depcmd2=%stsadmpath%\stsadm -o activatefeature -name %DepFeatureName1% -url &lt;A href="http://%WebSiteName%" mce_href="http://%WebSiteName%"&gt;http://%WebSiteName%&lt;/A&gt; 
&lt;P&gt;&amp;nbsp; echo Running the following command to unextend the &lt;A href="http://%WebSiteName%" mce_href="http://%WebSiteName%"&gt;http://%WebSiteName%&lt;/A&gt; Web Site: &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Running the following command to unextend the &lt;A href="http://%WebSiteName%" mce_href="http://%WebSiteName%"&gt;http://%WebSiteName%&lt;/A&gt; Web Site: &lt;BR&gt;&amp;nbsp; echo %Depcmd2%&amp;nbsp; &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo %Depcmd2% 
&lt;P&gt;&amp;nbsp; call %Depcmd2% &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;:// If error with command tell user but DONT dump out of script 
&lt;P&gt;&amp;nbsp; if "%ERRORLEVEL%"=="0" goto :deactivateok&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running STSADM deactivate command, please check log file located at %LogFile%. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error running STSADM deactivate command, please check log file located at %LogFile%.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set ERRORLEVEL=0&lt;BR&gt;&amp;nbsp; :deactivateok 
&lt;P&gt;:// Executing the commands across the farm, this done after most commands 
&lt;P&gt;&amp;nbsp; set cmd10=%stsadmpath%\stsadm -o execadmsvcjobs 
&lt;P&gt;&amp;nbsp; echo Executing the commands across the farm using the command: &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo Executing the commands across the farm using the command&lt;BR&gt;&amp;nbsp; echo %cmd10% &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo %cmd10% 
&lt;P&gt;&amp;nbsp; call %cmd10% &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;:// If error with command tell user and dump out of script 
&lt;P&gt;&amp;nbsp; if "%ERRORLEVEL%"=="0" goto :execute4ok&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error executing execadmsvcjobs4, please check log file located at %LogFile%. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Error executing execadmsvcjobs4, please check log file located at %LogFile%.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto :bigerror&lt;BR&gt;&amp;nbsp; :execute4ok 
&lt;P&gt;://The finish line 
&lt;P&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo +----------------------------------------------------+&lt;BR&gt;&amp;nbsp; echo&amp;nbsp; Script is successful and did not return any errors &lt;BR&gt;&amp;nbsp; echo&amp;nbsp; Log File located at: %LogFile%&lt;BR&gt;&amp;nbsp; echo +----------------------------------------------------+&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo Script is successful and did not return any errors &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo SUCCESS SUCCESS SUCCESS SUCCESS &amp;gt;&amp;gt; %LogFile%&amp;nbsp; 
&lt;P&gt;&amp;nbsp; goto :end 
&lt;P&gt;:bigerror&lt;BR&gt;&amp;nbsp; echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo ERROR ERROR ERROR ERROR &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo A catastropic error has occured and the deployment can not continue, please check &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo error logs located at %LogFile% &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo The return status code was %RETSTS% %ERRORLEVEL% &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo A catastropic error has occured and the deployment can not continue, please check&lt;BR&gt;&amp;nbsp; echo error logs located at %LogFile%&lt;BR&gt;&amp;nbsp; echo The return status code was %RETSTS% %ERRORLEVEL%&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; echo.&lt;BR&gt;&amp;nbsp; goto :end&lt;BR&gt;://////////////////////////////////////////////////&lt;BR&gt;://&lt;BR&gt;:// Script end.&lt;BR&gt;://&lt;BR&gt;:////////////////////////////////////////////////// 
&lt;P&gt;:end 
&lt;P&gt;&amp;nbsp; echo. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; Date /T &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; Time /T &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo COMPLETED COMPLETED COMPLETED COMPLETED &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo. &amp;gt;&amp;gt; %LogFile%&lt;BR&gt;&amp;nbsp; echo. &amp;gt;&amp;gt; %LogFile% 
&lt;P&gt;&amp;nbsp; set LogFile=&lt;BR&gt;&amp;nbsp; set PathtoCode=&lt;BR&gt;&amp;nbsp; set AppVer=&lt;BR&gt;&amp;nbsp; set WebSiteName=&lt;BR&gt;&amp;nbsp; set SiteDefName=&lt;BR&gt;&amp;nbsp; set PathToScripts=&lt;BR&gt;&amp;nbsp; set cmd1=&lt;BR&gt;&amp;nbsp; set cmd2=&lt;BR&gt;&amp;nbsp; set cmd3=&lt;BR&gt;&amp;nbsp; set cmd4=&lt;BR&gt;&amp;nbsp; set cmd5=&lt;BR&gt;&amp;nbsp; set cmd6=&lt;BR&gt;&amp;nbsp; set cmd7=&lt;BR&gt;&amp;nbsp; set cmd8=&lt;BR&gt;&amp;nbsp; set cmd9=&lt;BR&gt;&amp;nbsp; set cmd10=&lt;BR&gt;&amp;nbsp; set RETSTS= &lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1791292" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mhass/archive/tags/All+Posts+Mhass/default.aspx">All Posts Mhass</category><category domain="http://blogs.technet.com/mhass/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/mhass/archive/tags/Development/default.aspx">Development</category></item><item><title>Inside WSS 3.0</title><link>http://blogs.technet.com/mhass/archive/2007/06/21/inside-wss-3-0.aspx</link><pubDate>Fri, 22 Jun 2007 00:30:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1317449</guid><dc:creator>mhass</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mhass/comments/1317449.aspx</comments><wfw:commentRss>http://blogs.technet.com/mhass/commentrss.aspx?PostID=1317449</wfw:commentRss><wfw:comment>http://blogs.technet.com/mhass/rsscomments.aspx?PostID=1317449</wfw:comment><description>&lt;P&gt;In a really weird coincidence today, I ran into a great book about WSS 3.0.&lt;/P&gt;
&lt;P&gt;I have been busy hacking away at some old scripts that push around templates, etc on the file system for WSS and MOSS.&amp;nbsp; The goal is to take a build from Team Foundation Server (TFS) and be able to deploy it to dev, test or production.&amp;nbsp; I knew that WSS 3.0 allows you to deploy solutions using STSADM, so my famous old WSS 2.0 scripts could be truncated to just invoke stsadm on the different site collections.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I started poking around MSDN and found some great articles:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/bb530302.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/bb530302.aspx"&gt;http://msdn2.microsoft.com/en-us/library/bb530302.aspx&lt;/A&gt;&lt;BR&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/bb530301.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/bb530301.aspx"&gt;http://msdn2.microsoft.com/en-us/library/bb530301.aspx&lt;/A&gt;&lt;BR&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/aa544500.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/aa544500.aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa544500.aspx&lt;/A&gt; 
&lt;P&gt;At the bottom, some astute developer added some sample code, which was great news.&amp;nbsp; Who is this developer?&amp;nbsp; Low and behold, it is my friend Dan Larsen, whom I worked with on&amp;nbsp; several projects that included WSS/SPS 2.0 Internet facing sites for some really big telcos.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.microsoft.com/MSPress/books/imgt/9692.gif" align=right mce_src="http://www.microsoft.com/MSPress/books/imgt/9692.gif"&gt;At the exact same time I was reading the MSDN stuff, one of our developers came to my desk to discuss some MOSS 2007 deployment stuff and mentioned this great book they had upstairs.&amp;nbsp; One of the authors of "&lt;B&gt;&lt;A href="http://www.microsoft.com/MSPress/books/9692.aspx" mce_href="http://www.microsoft.com/MSPress/books/9692.aspx"&gt;Inside Microsoft® Windows® SharePoint® Services 3.0&lt;/A&gt;" &lt;/B&gt;is none other that Dan Larsen.&amp;nbsp; Some weird planetary alignment all&amp;nbsp;pointed to Dan today.&amp;nbsp; The developers upstairs all were&amp;nbsp;raving over how in depth this book was, that just came out this month.&lt;/P&gt;
&lt;P&gt;Dan also has a great &lt;A href="http://www.codeplex.com/sharepointajax/Release/ProjectReleases.aspx?ReleaseId=3169" mce_href="http://www.codeplex.com/sharepointajax/Release/ProjectReleases.aspx?ReleaseId=3169"&gt;Visual Studio Template for deployment and Ajax Toolkit up on codeplex&lt;/A&gt; that allows you to create WSP packages.&lt;/P&gt;
&lt;P&gt;Congrats Dan, and thanks for the nod in the book!&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1317449" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mhass/archive/tags/All+Posts+Mhass/default.aspx">All Posts Mhass</category><category domain="http://blogs.technet.com/mhass/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/mhass/archive/tags/Development/default.aspx">Development</category></item><item><title>Microsoft Office SharePoint Server (MOSS) 2007 cool things</title><link>http://blogs.technet.com/mhass/archive/2006/07/30/444052.aspx</link><pubDate>Sun, 30 Jul 2006 16:28:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:444052</guid><dc:creator>mhass</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.technet.com/mhass/comments/444052.aspx</comments><wfw:commentRss>http://blogs.technet.com/mhass/commentrss.aspx?PostID=444052</wfw:commentRss><wfw:comment>http://blogs.technet.com/mhass/rsscomments.aspx?PostID=444052</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri&gt;I have been doing weird, wacky things with SharePoint for the last two years to help customers use it as their Internet facing portal.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Through these experiences and tribulations, I have developed my own list of “things to hate about SharePoint Internet/Extranet facing portals”.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Working with big customers and doing these weird things, attracts the attention of the product teams and fortunately I have developed a really strong working relationship with them.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It seems that they have taken a lot of my customer’s complaining to heart because a lot of things are fixed in the next version.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri&gt;MOSS 2007 (please insert many jokes about the name) solves a lot of things on my hate list, but there may still be a need for consultants like me.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Phew, they didn’t put me out of a job yet.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri&gt;** Note: MOSS 2007 is not released yet, and some of the information below is subject to change but you should be able to check all of them out in Beta2 **&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT face=Calibri&gt;Web Part and Template Deployment&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;FONT face=Calibri&gt;Most of my feedback has been around high availability of SharePoint, specifically deploying code such as web parts and templates in SPS 2003.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The problem/feature is that SharePoint stores most content in a SQL database, but “code” is kept local to the box.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;When you have a large farm of servers, getting code to the boxes without disrupting active sessions is impossible.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I wrote some complex scripts to drain IIS connections, copy web parts/templates, &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;and start the web service again, but it is far from the seamless.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;FONT face=Calibri&gt;This is not completely fixed in MOSS 2007, but it is much better.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Templates are now in document libraries, which are stored in SQL (ya!).&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Web parts are still ASP.NET 2.0 assemblies and still reside on the individual web server, but SharePoint provides a mechanism to “CAB” them and have the SharePoint deploy them for you.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I really need to try this on my own, because SPS 2003 had this ability but there was a limitation that it couldn’t do some of the files we required.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;FONT face=Calibri&gt;That still leaves the problem of deploying the web.config and machine.config through alternate means such as script (I use WMIC to call a remote scheduled task and call VBS on a file server).&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Most customers that use SPS 2003 and MOSS 2007 don’t have to worry about the web.config or machine.config, but if you are using it as a platform it is something you have to solve.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT face=Calibri&gt;Extranet Portals are a core feature in MOSS 2007&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;FONT face=Calibri&gt;SPS 2003 was intended for Intranets only.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;When you try and use it for Extranet sites, you run into issues where the portal name is different than the URL you specify for the load balancer.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;There is an alternate name that you can use, but it can still break things like alerting and provisioning.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;FONT face=Calibri&gt;Well, MOSS 2007 now has Extranets as part of its core competencies and there is support for many URL’s as well as many other Extranet type features.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT face=Calibri&gt;Infrastructure Changes to support DMZ’s&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;FONT face=Calibri&gt;The biggest problems with putting SPS &lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:metricconverter ProductID="2003 in" w:st="on"&gt;2003 in&lt;/st1:metricconverter&gt; a DMZ to make it Internet facing is that it required “Windows Authentication” to the SQL Server.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This meant that you had to have SQL and AD servers in the DMZ to support SQL.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;You could either make swiss cheese of a your corporate perimeter firewall and put the boxes in your corporate network (not recommended)&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;or put SQL and AD in the DMZ.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If you wanted to allow employees to use SharePoint with their corporate credentials you then had to find a way to create a trust between the DMZ AD and internal AD (we recommend a cross forest trust with IPSec). &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;FONT face=Calibri&gt;MOSS 2007 has two major things going for it to support this scenario.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;One, “windows Auth” is no longer required for SQL, so you can use “SQL Auth” which only requires a single port for SQL traffic.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Sure, “Windows Auth” is more secure, but MOS 2007 eliminates the need for AD infrastructure in places you may not want it.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Second, MOSS 2007 supports authentication against other directories such as LDAP instead of AD.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Security guys are much happier to open secure LDAP traffic than they are about AD Sync or cross forest trust.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;For me, I still think the cross forest trust model offers the most flexibility and is secure if you use IPSec ESP-Null to pass through the corporate perimeter firewall.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I got a chance to catch up and discuss this with &lt;/FONT&gt;&lt;A href="http://blogs.technet.com/steriley/default.aspx"&gt;&lt;FONT face=Calibri&gt;Steve Riley&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri&gt; this week, and hopefully he can post his thoughts on this someday.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT face=Calibri&gt;No more Topologies&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;FONT face=Calibri&gt;SharePoint veterans know that there are three types of SPS 2003 topologies: small, medium, and large farm.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;And, you have to have a certain number of web, search, index and job servers or SPS will yell at you.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;You can pretty much have any type of topology you want, and there are a couple new type of services that can be combine, but I won’t spoil all of MOSS’s secrets.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT face=Calibri&gt;Content Management and Workflow&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;FONT face=Calibri&gt;Integrating SharePoint and Content Management Server is the most important thing Microsoft could have done for this version of SharePoint.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;On at least two big SharePoint projects, we had to use SPS and CMS together and do stupid things like iFrame content from CMS so that we could index the pages and make it look like one big happy family. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;FONT face=Calibri&gt;No more tricks, it’s all in there.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Workflow is there, and content management is there.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT face=Calibri&gt;Administration Interface&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;FONT face=Calibri&gt;The administrator console has caused a lot of pain for administrators.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It was always this separate site that had a bunch of settings that you had to memorize.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;FONT face=Calibri&gt;It is now just another site, and all the links are searchable.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Don’t know where to change the site structure?&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Just search for the answer because it is all indexed.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Did I mention that you can also easily customize options and it is security sensitive (you won’t see items that you can’t perform)?&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT face=Calibri&gt;SharePoint storing credentials&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;FONT face=Calibri&gt;I didn’t get a chance to ask around, but I believe the issue of SharePoint storing its own copy of credentials in its database is gone.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If you recall, this causes problems when you move users from one domain to another.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I will update this as I find out…&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri&gt;There was a lot of information, and I am honestly not doing all the cool things justice.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Got something that causes you pain in SPS, let me know and I can give you an idea if it is fixed in MOSS 2007?&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=444052" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mhass/archive/tags/All+Posts+Mhass/default.aspx">All Posts Mhass</category><category domain="http://blogs.technet.com/mhass/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Domain Migration vs SharePoint</title><link>http://blogs.technet.com/mhass/archive/2006/02/15/419657.aspx</link><pubDate>Wed, 15 Feb 2006 21:11:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:419657</guid><dc:creator>mhass</dc:creator><slash:comments>9</slash:comments><comments>http://blogs.technet.com/mhass/comments/419657.aspx</comments><wfw:commentRss>http://blogs.technet.com/mhass/commentrss.aspx?PostID=419657</wfw:commentRss><wfw:comment>http://blogs.technet.com/mhass/rsscomments.aspx?PostID=419657</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;As companies get acquired or you migrate off different platforms to AD, there can be quite a mess in terms of Domains and Forests.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Lots of ambitious IT folks try and keep a handle on this and consolidate domains quickly as things change.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This is a great idea, and keeping things simple is definately the way to go.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;What some IT folks have run into is the evil nemesis: SharePoint.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Specifically the fact that SharePoint keeps its own database of users based on a combination of domain\username and SID.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;When a user is migrated from domain to domain, both the domainname\username and SID change and SharePoint needs to be updated or there will be a mismatch of SharePoint’s database and Portal, Team and MySite ACL’s won’t be accurate making them inaccessible.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Alas, SPS and WSS SP2 expose a migrate function in the API.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;STSADM.EXE has a migrateuser switch that allows you to migrate WSS users.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;SPS of course rarely supplies any meaningful command line tools for migration.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;But, &lt;A href="http://blogs.msdn.com/krichie"&gt;Keith Richie&lt;/A&gt; has written a &lt;A href="http://blogs.technet.com/controlpanel/blogs/SPUserUtil%20tool%20located%20in%20the%20SharePoint%20Utility%20Suite%20at%20http:/www.microsoft.com/sharepoint/downloads/components/detail.asp?a1=724"&gt;tool called SPSUserUtil, included on the SharePoint Utility Suite&lt;/A&gt; that uses the object model to allow you to migrate users from the command line.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;In our scenario, we were migrating batches of users every night and needed to make a smooth transition within SharePoint.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;So, we ran through these basic steps each night:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: middle; mso-list: l0 level1 lfo1; tab-stops: list .5in; mso-outline-level: 1"&gt;The AD guys supplied a list of accounts (text file) that will be moved each night in domainname\username format&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Call the file: PhaseNUsers.txt&lt;o:p&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=3&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: middle; mso-list: l0 level1 lfo2; tab-stops: list .5in; mso-outline-level: 1"&gt;Prep the accounts in AD using a tool from Quest Software that copies the account to the new domain, migrates SID history and disables the account in the new domain.&lt;o:p&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=4&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: middle; mso-list: l0 level1 lfo3; tab-stops: list .5in; mso-outline-level: 1"&gt;Run SPSUserUtil against the SPS Infrastructure to get a list of users for all portals.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Repeat this process for each portal by replacing the URL with the real URL, because of a small bug in Keith’s app you need to run it both on the top site and subsites and combine them together.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Command line examples:&lt;o:p&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=4&gt;
&lt;OL style="MARGIN-TOP: 0in" type=a&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: middle; mso-list: l0 level2 lfo4; tab-stops: list 1.0in; mso-outline-level: 2"&gt;Main Site: SPSUserUtil.exe -o analyze -url http://companyweb -usermap mainportal.xml –r&lt;o:p&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=4&gt;
&lt;OL style="MARGIN-TOP: 0in" type=a start=2&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: middle; mso-list: l0 level2 lfo5; tab-stops: list 1.0in; mso-outline-level: 2"&gt;SubSites: SPSUserUtil.exe -o analyze -url http://companyweb -usermap subsites.xml -r –ac&lt;o:p&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=5&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: middle; mso-list: l0 level1 lfo6; tab-stops: list .5in; mso-outline-level: 1"&gt;Concatenate mainportal.xml with subsites.xml to form PhaseNSPS.xml&lt;o:p&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=6&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: middle; mso-list: l0 level1 lfo7; tab-stops: list .5in; mso-outline-level: 1"&gt;We wrote a small parsing app that runs through the XML output from the steps above and edits the &lt;SPAN class=t1&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;FONT color=#990000&gt;newloginname&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=m1&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;FONT color=#0000ff&gt;=""&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=t1&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;FONT color=#990000&gt; &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;field with the new domain credentials.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Example of our app:&lt;o:p&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=6&gt;
&lt;OL style="MARGIN-TOP: 0in" type=a&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: middle; mso-list: l0 level2 lfo8; tab-stops: list 1.0in; mso-outline-level: 2"&gt;SPSUserXML.exe PhaseNSPS.xml PhaseNNewUsers.xml PhaseNUsers.txt NEWDOMAINNAME&lt;o:p&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=7&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: middle; mso-list: l0 level1 lfo9; tab-stops: list .5in; mso-outline-level: 1"&gt;Now that you have an XML file with the new domain name, run SPSUserUtil against the SPS Infrastructure using the following command:&lt;o:p&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=7&gt;
&lt;OL style="MARGIN-TOP: 0in" type=a&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: middle; mso-list: l0 level2 lfo10; tab-stops: list 1.0in; mso-outline-level: 2"&gt;SPSUserUtil.exe -o migrate -url http://companyweb -usermap PhaseNNewUsers.xml&lt;o:p&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=8&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: middle; mso-list: l0 level1 lfo11; tab-stops: list .5in; mso-outline-level: 1"&gt;Validate SPS, Team sites, and MySites are working with one of the migrated users.&lt;o:p&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Make sure and test this in your scenario, but it should give you a jumpstart on fighting with SharePoiont during domain consolidations.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=419657" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mhass/archive/tags/Operations/default.aspx">Operations</category><category domain="http://blogs.technet.com/mhass/archive/tags/All+Posts+Mhass/default.aspx">All Posts Mhass</category><category domain="http://blogs.technet.com/mhass/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Changes to SharePoint 2003 Installs</title><link>http://blogs.technet.com/mhass/archive/2006/01/25/418103.aspx</link><pubDate>Thu, 26 Jan 2006 00:54:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:418103</guid><dc:creator>mhass</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mhass/comments/418103.aspx</comments><wfw:commentRss>http://blogs.technet.com/mhass/commentrss.aspx?PostID=418103</wfw:commentRss><wfw:comment>http://blogs.technet.com/mhass/rsscomments.aspx?PostID=418103</wfw:comment><description>&lt;FONT face=Arial size=2&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman" size=3&gt;I recently worked on another SharePoint project where we did unusual things with SharePoint.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;But, this time we actually used some of the core SPS functionality like search to index about 5,000 documents for a call center.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman" size=3&gt;We built out Production last week and were doing some testing and discovered that search was broken.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;We could see in the Search Settings page that we were getting an error: “&lt;/FONT&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;An error occurred attempting to connect to the index server”.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face="Times New Roman" size=3&gt;What made this even stranger was that I had just done a full SPS Restore, including the index, which meant the topology was correct and communicating well.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman" size=3&gt;Turns out that after Windows Service Pack 1, security changed and there are new requirements for the service account used for Application Pools.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Here are the two changes:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;FONT face="Times New Roman"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT 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; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3&gt;The SPS service administrator account was not added in the admin group on the servers in farm.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Originally, the SPS documentation stated this user needed to be a local “Power User”.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This is documented in &lt;/FONT&gt;&lt;/FONT&gt;&lt;A title=http://support.microsoft.com/kb/555309/en-us href="http://support.microsoft.com/kb/555309/en-us"&gt;&lt;FONT face="Times New Roman" size=3&gt;Q555309&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face="Times New Roman" size=3&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;FONT face="Times New Roman"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT 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; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3&gt;The SPS website application pool account was not added to the DCOM users group on all the servers in farm.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Apparently this is not documented in a Q article (not sure why), but this is required for search.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman" size=3&gt;Lastly, our search is still broken because I specified the name of the web site: &lt;/FONT&gt;&lt;A href="https://myapp.mycorp.com/"&gt;&lt;FONT face="Times New Roman" size=3&gt;https://myapp.mycorp.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face="Times New Roman" size=3&gt;. &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;We hadn’t generated the SSL cert yet, so when the crawler tried to index the site, it doesn’t exist.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman" size=3&gt;These provided to you free of charge as a public service.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;8)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=418103" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mhass/archive/tags/All+Posts+Mhass/default.aspx">All Posts Mhass</category><category domain="http://blogs.technet.com/mhass/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/mhass/archive/tags/Windows/default.aspx">Windows</category></item><item><title>Hosted Messaging and Collaboration 3.5 released today</title><link>http://blogs.technet.com/mhass/archive/2005/11/28/415181.aspx</link><pubDate>Mon, 28 Nov 2005 18:56:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:415181</guid><dc:creator>mhass</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mhass/comments/415181.aspx</comments><wfw:commentRss>http://blogs.technet.com/mhass/commentrss.aspx?PostID=415181</wfw:commentRss><wfw:comment>http://blogs.technet.com/mhass/rsscomments.aspx?PostID=415181</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;This morning, Microsoft announced version 3.5 of the Solution for Hosted Messaging and Collaboration (the product formerly known as HVMC).&amp;nbsp; The latest version of the solution incorporates new mobile synchronization capabilities, a variety of security enhancements, and new tools that lessen management time and extend customer acquisition opportunities for hosting partners.&amp;nbsp;&amp;nbsp; As always, the solution includes engineered tools and guidance on hosting Windows, Exchange, SharePoint, and LCS.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;The official press release is &lt;A href="http://www.microsoft.com/presspass/press/2005/nov05/11-28EnhancesFeaturesToolsPR.mspx"&gt;&lt;SPAN style="COLOR: windowtext"&gt;here&lt;/SPAN&gt;&lt;/A&gt;. &lt;B&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;New Stuff:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; mso-list: l0 level3 lfo1; tab-stops: list 1.0in"&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"&gt;&lt;SPAN style="mso-list: Ignore"&gt;§&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;Windows Server 2003 SP1 support&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; mso-list: l0 level3 lfo1; tab-stops: list 1.0in"&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"&gt;&lt;SPAN style="mso-list: Ignore"&gt;§&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;Automated password synchronization between hoster directories and end-customer accounts&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; mso-list: l0 level3 lfo1; tab-stops: list 1.0in"&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"&gt;&lt;SPAN style="mso-list: Ignore"&gt;§&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;New customer migration tools and updates to key technology components&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; mso-list: l0 level3 lfo1; tab-stops: list 1.0in"&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"&gt;&lt;SPAN style="mso-list: Ignore"&gt;§&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;Exchange SP2 support &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; mso-list: l0 level3 lfo1; tab-stops: list 1.0in"&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"&gt;&lt;SPAN style="mso-list: Ignore"&gt;§&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;Direct push technology (similar to Blackberry devices)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; mso-list: l0 level3 lfo1; tab-stops: list 1.0in"&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"&gt;&lt;SPAN style="mso-list: Ignore"&gt;§&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;New mobile security features include the ability to wipe data from devices that have been lost or stolen and set up automated rules to help prevent access by unauthorized users&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=415181" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mhass/archive/tags/All+Posts+Mhass/default.aspx">All Posts Mhass</category><category domain="http://blogs.technet.com/mhass/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/mhass/archive/tags/IM_2F00_LCS/default.aspx">IM/LCS</category><category domain="http://blogs.technet.com/mhass/archive/tags/Exchange/default.aspx">Exchange</category></item><item><title>Small Business Server 2003 Upgrade from Hell</title><link>http://blogs.technet.com/mhass/archive/2005/11/02/413546.aspx</link><pubDate>Thu, 03 Nov 2005 06:32:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:413546</guid><dc:creator>mhass</dc:creator><slash:comments>8</slash:comments><comments>http://blogs.technet.com/mhass/comments/413546.aspx</comments><wfw:commentRss>http://blogs.technet.com/mhass/commentrss.aspx?PostID=413546</wfw:commentRss><wfw:comment>http://blogs.technet.com/mhass/rsscomments.aspx?PostID=413546</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Last week, I decided to take a few vacation days and fly out to Ogden, Utah to help my wife’s old company upgrade from Small Business Server (SBS) 2000 to SBS 2003.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;They are a small, 10 person operation that manufactures high end ski and board apparel (&lt;A href="http://www.descente.net/"&gt;www.descente.net&lt;/A&gt; or &lt;A href="http://www.ridedna.com/"&gt;www.ridedna.com&lt;/A&gt;). &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;The have a main office in downtown &lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:City w:st="on"&gt;Ogden&lt;/st1:City&gt;, a warehouse about 5 blocks away and a Canadian office in &lt;st1:City w:st="on"&gt;&lt;st1:place w:st="on"&gt;Vancouver&lt;/st1:place&gt;&lt;/st1:City&gt;.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;The primary reason for the upgrade is that the president now resides in &lt;st1:country-region w:st="on"&gt;Canada&lt;/st1:country-region&gt;, and his mailbox is back in &lt;st1:City w:st="on"&gt;&lt;st1:place w:st="on"&gt;Ogden&lt;/st1:place&gt;&lt;/st1:City&gt;.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;OWA is great, but it times out and the Exchange 2000 version was not the best and fastest interface.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;So, RPC/HTTP aka Outlook over the Internet is the perfect solution!&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;BTW, his laptop runs Windows XP Japanese as well as Office 2000/Outlook 2003 Japanese but when I sit down it almost looks like I can read Japanese because I have almost everything memorized, I was often asked by other employees if I spoke Japanese.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Anyway, SBS has always meant in my mind “super tight integration of Microsoft Infrastructure products and a super easy GUI for non-computer type people to manage their business”.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Of course another way of saying this is “I am going to hate using the SBS tools, please god give me normal MMC consoles”.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I also thought, “what a simple upgrade this is going to be, should I fly out or can I do it over VPN if someone sites there on the phone with me”.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Flying turned out to be a godsend.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;First of all, support calls for Microsoft employees are not free.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;We either have to pay, or we get 3 Quick Assist calls that we can give to people.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;These are mainly meant to give to the guys that stop you and say, “Hey you work for Microsoft?&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I have Windows 98’ and I can’t print to this HP LaserJet II, can you help?”&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;In this case, I needed all three Quick Assists and didn’t have any with me so I bummed a couple from coworkers.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Here are the highlights:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Support Call 1:&lt;o:p&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;SBS upgrade halted, keeps insisting that “All domain controllers could not be contacted”.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;Some braniac when the system was first installed decided to implement a second DC on some old hardware.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The hardware failed shortly after installation and AD was never cleaned up.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;I made sure that all the roles were seized by their primary DC (they were).&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;And I tried to delete the DC out of the domain, no luck.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I used NTDSUTIL, ADSI Edit, DNS srv records, everything was gone, but it still insisted that “All domain controllers could not be contacted”.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Support ended up finding a way around this little check in the upgrade process and we were able to continue with the upgrade.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Support Call 2:&lt;o:p&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;ISA 2004 is included in on the Technologies disk of SBS 2004 Premium Edition.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;They don’t’ advertise that, but I feel it is critical because&amp;nbsp;the ISA&amp;nbsp;2004 GUI is worlds better than ISA 2000/Proxy Server 2.0.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;During the install, ISA would bomb out with a .Net runtime error.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It appeared that ISA completed installing itself and the MSDE for ISA, but it never installed the rules for SBS.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Turns out that the SBS wrapper around ISA 2004 forces it to utilize some of the SBS Admin tools that get installed.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The Admin tools were never installed during the upgrade, and I never unselected them.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;To me, there must be a bug in the upgrade process or they purposely defaulted them not to be installed.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;After installing SBS admin tools, I reran ISA setup and it went through fine.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Support Call 3:&lt;o:p&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;After a long debate with SSL certs because for some reason their old SSL cert didn’t correctly move over to the Windows 2003 certificate store, I had to have the cert authority reissue it.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;After reissue, I imported it into both IIS and used it for the web listener in ISA.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It is a cert from &lt;A href="http://www.xramp.com/"&gt;www.xramp.com&lt;/A&gt; that has a public cert authority at very reasonable prices.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;After OWA, OMA, and EAS were working, I decided to tackle RPC/HTTP for the president and their warehouse.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;By this time, I had flown back home and I built a Windows XP Virtual Server image and joined it to their domain to test RPC/HTTP.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I VPN’d in from my Virtual Server image, joined the domain and got standard MAPI over TCP/IP working, cool!&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I disconnected the VPN, and setup the RPC/HTTP proxy settings on the client, and I new that the Outlook settings were correct and the certs were good, but it wouldn’t connect.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It kept prompting me for login credentials.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Support traced the problem to the “Proxy Authentication Settings” being set to NTLM Authentication, for SBS apparently it must use Basic Authentication.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The support tech also claimed that you can’t hit the “Check Name” button when you use RPC/HTTP, which I knew for a fact not to be an issue when you initially create the profile with TCP/IP.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I tested this, and there isn’t an issue if you create a profile when you have the full MAPI TCP/IP connection, and later add RPC/HTTP.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Summary:&lt;o:p&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;I am disappointed that this wasn’t as smooth as an update as I expected.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Again, SBS is targeted at business of 100 or less people that probably don’t have a full time IT person, or have access to $295 per incident support from Microsoft.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;In dealing with the SBS products, there seems to be a GUI that has simplified administrative tasks, but the underlying technology seems to still be hobbled together.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Many of the products are wrapped or functionality is hidden/taken away, and don’t appear to be engineered from the beginning to work together on a single server.&amp;nbsp; &lt;STRONG&gt;Overall, I highly recommend SBS 2003 especially since the premium edition includes ISA 2004&lt;/STRONG&gt;.&amp;nbsp; But, I think that we need to have the SBS teams sit in early on Windows, Exchange/Office, ISA, and SQL engineering design sessions and architect those products to operate better together on a single box to give SBS the reliability and ease of updates it deserves.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=413546" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mhass/archive/tags/Operations/default.aspx">Operations</category><category domain="http://blogs.technet.com/mhass/archive/tags/All+Posts+Mhass/default.aspx">All Posts Mhass</category><category domain="http://blogs.technet.com/mhass/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/mhass/archive/tags/Virtual+PC_2F00_Server/default.aspx">Virtual PC/Server</category><category domain="http://blogs.technet.com/mhass/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.technet.com/mhass/archive/tags/Exchange/default.aspx">Exchange</category><category domain="http://blogs.technet.com/mhass/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.technet.com/mhass/archive/tags/SQL/default.aspx">SQL</category></item><item><title>Microsoft Support from India</title><link>http://blogs.technet.com/mhass/archive/2005/10/27/413189.aspx</link><pubDate>Fri, 28 Oct 2005 04:41:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:413189</guid><dc:creator>mhass</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/mhass/comments/413189.aspx</comments><wfw:commentRss>http://blogs.technet.com/mhass/commentrss.aspx?PostID=413189</wfw:commentRss><wfw:comment>http://blogs.technet.com/mhass/rsscomments.aspx?PostID=413189</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;I admit it, I am not the all-knowing Microsoft consultant I should be.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The real truth is, our support folks have the best tools to diagnose problems a lot faster than I can muddle through things.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;I have had the occasion over the last few weeks to call Microsoft Support (PSS) several times with issues around SQL, AD, SharePoint and Small Business Server.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Every single time, I was routed to someone in &lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:country-region w:st="on"&gt;&lt;st1:place w:st="on"&gt;India&lt;/st1:place&gt;&lt;/st1:country-region&gt;.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The support was phenomenal (as always), but what was more impressive was the language skills and how hip the support guys were on the other end of the phone, especially for being so far from the &lt;st1:place w:st="on"&gt;&lt;st1:country-region w:st="on"&gt;US&lt;/st1:country-region&gt;&lt;/st1:place&gt;.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I think my expectation was that I would still receive good support, but a bit of a language barrier as well as some bias to culture.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Next time you call in, I bet you won’t be able where the person is located that is helping you fix your issue.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=413189" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mhass/archive/tags/Operations/default.aspx">Operations</category><category domain="http://blogs.technet.com/mhass/archive/tags/All+Posts+Mhass/default.aspx">All Posts Mhass</category><category domain="http://blogs.technet.com/mhass/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/mhass/archive/tags/Exchange/default.aspx">Exchange</category><category domain="http://blogs.technet.com/mhass/archive/tags/Windows/default.aspx">Windows</category></item><item><title>RSS for SharePoint</title><link>http://blogs.technet.com/mhass/archive/2005/08/29/409950.aspx</link><pubDate>Mon, 29 Aug 2005 17:40:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:409950</guid><dc:creator>mhass</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mhass/comments/409950.aspx</comments><wfw:commentRss>http://blogs.technet.com/mhass/commentrss.aspx?PostID=409950</wfw:commentRss><wfw:comment>http://blogs.technet.com/mhass/rsscomments.aspx?PostID=409950</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Dan Larson just published his &lt;A href="http://www.portalbuilder.org/sites/daniellarson/blog/default.aspx"&gt;RSS plugin for SharePoint&lt;/A&gt;.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Dan has done some awesome work on his own, as well as contract for us at Microsoft Consulting Services.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;He has a great web site at &lt;A href="http://www.portalbuilder.org/"&gt;portalbuilder.org&lt;/A&gt; that has some cool tools and framework that leverages the SPS object model.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;He is currently working for newsgator.com but still does a lot of independent development and puts most of his stuff up on gotdotnet. &lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=409950" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mhass/archive/tags/All+Posts+Mhass/default.aspx">All Posts Mhass</category><category domain="http://blogs.technet.com/mhass/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Another SharePoint Project begins</title><link>http://blogs.technet.com/mhass/archive/2005/06/30/407114.aspx</link><pubDate>Thu, 30 Jun 2005 16:52:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:407114</guid><dc:creator>mhass</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mhass/comments/407114.aspx</comments><wfw:commentRss>http://blogs.technet.com/mhass/commentrss.aspx?PostID=407114</wfw:commentRss><wfw:comment>http://blogs.technet.com/mhass/rsscomments.aspx?PostID=407114</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;I am off to &lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:City w:st="on"&gt;&lt;st1:place w:st="on"&gt;St. Louis&lt;/st1:place&gt;&lt;/st1:City&gt; next week to start another SharePoint project.&amp;nbsp; I have become known in our group here at Microsoft for these types of projects because we “bend” SharePoint in a way that it was not designed out of the box.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;A lot of customers are using SharePoint to write WebParts for their applications, and use very few of the “real” SharePoint functionality.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;Visual Studio 2005 lets WebParts go native, but if you want to do something right now, you need to use SharePoint WSS or SPS.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Although we don’t overstep any supportability boundaries, using SharePoint and having to move code such as pages and WebParts is not what SharePoint was designed to do.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;A href="http://www.portalbuilder.org/"&gt;Dan Larson has a great site&lt;/A&gt; that goes into more details about these challenges and actually supplies source code to build utilities that let you extract and restore individual document libraries and object within SharePoint.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;There are third party apps that can do this, but they are usually around backup and restore, where Dan’s stuff is more for development and is callable from a command line so I can&amp;nbsp;wrap it with deployment scripts. &lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=407114" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mhass/archive/tags/All+Posts+Mhass/default.aspx">All Posts Mhass</category><category domain="http://blogs.technet.com/mhass/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>SharePoint SP2 (WSS)</title><link>http://blogs.technet.com/mhass/archive/2005/06/21/406622.aspx</link><pubDate>Tue, 21 Jun 2005 16:05:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:406622</guid><dc:creator>mhass</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mhass/comments/406622.aspx</comments><wfw:commentRss>http://blogs.technet.com/mhass/commentrss.aspx?PostID=406622</wfw:commentRss><wfw:comment>http://blogs.technet.com/mhass/rsscomments.aspx?PostID=406622</wfw:comment><description>&lt;P&gt;I can't wait for it, I need it now.&amp;nbsp; Service Pack 2 for SharePoint is available in the Beta of Windows Server 2003 R2 (the interim release of Windows between 2003 and longhorn).&lt;/P&gt;
&lt;P&gt;The two enhancments everyone has&amp;nbsp;gotta have are:&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;I&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;Support for IP-bound virtual servers&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;Previous releases of Windows &lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:mswterms w:st="on"&gt;SharePoint&lt;/st1:mswterms&gt; Services did not support assigning a static IP address to an IIS virtual server extended with Windows &lt;st1:mswterms w:st="on"&gt;SharePoint&lt;/st1:mswterms&gt; Services. Instead, it was required that you used host headers and configured all virtual servers with an IP address setting of All Unassigned. This limitation, as described in KB article &lt;A href="http://support.microsoft.com/?id=830342"&gt;Q830342&lt;/A&gt;, prevented being able to host multiple SSL-enabled virtual servers on one Web server. In Service Pack 2, this limitation has been removed, and Windows &lt;st1:mswterms w:st="on"&gt;SharePoint&lt;/st1:mswterms&gt; Services now supports assigning a static IP address to a virtual server extended with Windows &lt;st1:mswterms w:st="on"&gt;SharePoint&lt;/st1:mswterms&gt; Services. Windows SharePoint Services Service Pack 2 will not support IP-bound virtual servers if it was deployed in scalable hosting mode, as described in the &lt;A title=http://www.microsoft.com/resources/documentation/wss/2/all/adminguide/en-us/stsc03.mspx href="http://www.microsoft.com/resources/documentation/wss/2/all/adminguide/en-us/stsc03.mspx"&gt;Server Farm with Multiple Hostnames Deployment&lt;/A&gt; topic of the Windows SharePoint Services Administrator’s Guide.&amp;nbsp; IP-bound virtual server support is only available when Windows SharePoint Services Service Pack 2 is deployed in non-scalable hosting mode.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;A name=IPBound&gt;&lt;/A&gt;&lt;A name=Extranet&gt;&lt;SPAN style="mso-bookmark: IPBound"&gt;&lt;B&gt;&lt;I&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="mso-bookmark: Extranet"&gt;&lt;SPAN style="mso-bookmark: IPBound"&gt;&lt;B&gt;&lt;I&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;Support for advanced extranet configurations&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="mso-bookmark: IPBound"&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bookmark: Extranet"&gt;&lt;/SPAN&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;Windows SharePoint Services generates some hyperlinks in its Web pages and e-mail messages using absolute URLs. Earlier releases of Windows SharePoint Services generated those absolute URLs using the protocol scheme, host, and port of the Web request that SharePoint received or the URL used to originally create the site. This prevented Windows SharePoint Services from supporting certain advanced extranet configurations where a reverse proxy server is deployed in front of the SharePoint server. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff" face="Times New Roman" color=#000000&gt;Phew, now I can have multiple SharePoint portals on the same box, assigned to different IP addresses, you know like god intended it.&amp;nbsp; Not to mention I can now have ISA sit in front of SharePoint and do some link translation without having to worry about URL's not matching what the user is expecting on Lists and SharePoint generated email.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff" color=#000000&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff" face="Times New Roman" color=#000000&gt;No delivery date yet, but at least it is in print, more details at: &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=ABBA20F2-3625-4C9C-A412-AB9BBEBDB5E8&amp;amp;displaylang=en"&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff" face="Times New Roman" color=#000000&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=ABBA20F2-3625-4C9C-A412-AB9BBEBDB5E8&amp;amp;displaylang=en&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=406622" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mhass/archive/tags/All+Posts+Mhass/default.aspx">All Posts Mhass</category><category domain="http://blogs.technet.com/mhass/archive/tags/SharePoint/default.aspx">SharePoint</category></item></channel></rss>