WSS 3.0 and MOSS 2007 Service Pack 2 Released! Finally!

Top 5 reasons to upgrade!

1. Performance Reliability/Stability Fixes

2. Browser support for IE 8 and improvements in tier 2 browsers (Firefox)

3. Reliability improvements in Indexing and Index Corpus

4. Security Improvements

5. New STSADM Commands including some to fix corruption and relationships (orphaning)

BONUS! Pre Upgrade Checker! – 960577 (http://support.microsoft.com/kb/960577/ ) List of all Windows SharePoint Services and SharePoint Server Pre-Upgrade Checker knowledge base articles.  This WILL Be required for the next version.  I use to LOVE Prescan with the previous version, you can guess this is going to be very HOT on my list and will add value even waaaay before you’re ready to upgrade to fix consistency issues and identify areas that will be challenges to upgrade.

WOW there’s a TON of SP2 information.  Soooo much!!!  You can find a choose your own adventure in reading these docs.  I’ve pulled out what I think are the most relevant, but you’ll likely find many I didn’t find in my initial pass.

READ IT ALL and Test Test Test!!!

By the way, I’m sure the SharePoint Team blog will have some similar information to this blog.  Be sure to visit http://blogs.msdn.com/sharepoint some time later today.

Information on Service Pack 2 (Most of this information is in the KBs, but just want to lay this out so it’s easy to understand.

Start Here:

NOTE: Windows SharePoint Services 3.0 Service Pack 2 is required for 2007 Microsoft Office servers SP2.

968173 (http://support.microsoft.com/kb/968173/ ) Known issues that you may experience when you install the 2007 Microsoft Office suite Service Pack 2 and Windows SharePoint Services 3.0 Service Pack 2

968170 (http://support.microsoft.com/kb/968170/ ) List of all 2007 Office system Service Pack 2 and Windows SharePoint Services 3.0 Service Pack 2 packages

970359 (http://support.microsoft.com/kb/970359/ ) Technical details about the Windows SharePoint Services 3.0 Service Pack 2 (S)

970358 (http://support.microsoft.com/kb/970358/ ) Technical details about the 2007 Microsoft Office servers Service Pack 2 (S)

945013 (http://support.microsoft.com/kb/945013/ ) How to deploy the 2007 Microsoft Office servers Service Pack 1 and Office Server Language Pack 2007 Service Pack 1

968170 (http://support.microsoft.com/kb/968170) Description of Windows SharePoint Services 3.0 SP2 and of Windows SharePoint Services 3.0 Language Pack SP2

What is fixed! Thanks PFE’s for these Lists!

Download the Windows SharePoint Services 3.0 Service Pack 2 Changes.xlsx package.

Download the 2007 Office servers Service Pack 2 Changes.xlsx package.

WSS Specific Download Locations

  • Windows SharePoint Services 3.0 Service Pack 2 (x86)http://www.microsoft.com/downloads/details.aspx?FamilyId=79BADA82-C13F-44C1-BDC1-D0447337051B
  • Windows SharePoint Services 3.0 Service Pack 2 (x64)http://www.microsoft.com/downloads/details.aspx?FamilyId=79BADA82-C13F-44C1-BDC1-D0447337051B Windows SharePoint Services 3.0 Language Pack Service Pack 2 (x86)
  • http://www.microsoft.com/downloads/details.aspx?FamilyId=085E5AC8-58F6-4CF9-8012-33B95EE36C0F
  • Windows SharePoint Services 3.0 Language Pack Service Pack 2 (x64)http://www.microsoft.com/downloads/details.aspx?FamilyId=2C2B6CAF-B46D-45EB-AC4D-DEAAA48C3A2C
  • MOSS Specific download locations are here:

    2007 Microsoft Office servers Service Pack 2 (x86)

  • http://www.microsoft.com/downloads/details.aspx?FamilyId=B7816D90-5FC6-4347-89B0-A80DEB27A082
  • 2007 Microsoft Office servers Service Pack 2 (x64)http://www.microsoft.com/downloads/details.aspx?FamilyId=B7816D90-5FC6-4347-89B0-A80DEB27A082
  • 2007 Microsoft Office servers Language Pack Service Pack 2 (x86)http://www.microsoft.com/downloads/details.aspx?FamilyId=01C6A3E8-E110-4956-903A-AD16284BF223
  • 2007 Microsoft Office servers Language Pack Service Pack 2 (x64)http://www.microsoft.com/downloads/details.aspx?FamilyId=66C5026F-9F47-4642-8378-2526918009FA
  • Office Suite (Client) and it’s language packs:

    968170 (http://support.microsoft.com/kb/968170/) Description of 2007 Microsoft Office Suite Service Pack 2 (SP2) and of Microsoft Office Language Pack 2007 SP2

    List of Fixes

    Download the 2007 Office Service Pack 2 Changes.xlsx package now.

    Download

  • 2007 Microsoft Office Suite Service Pack 2http://www.microsoft.com/downloads/details.aspx?FamilyId=B444BF18-79EA-46C6-8A81-9DB49B4AB6E5 (http://www.microsoft.com/downloads/details.aspx?FamilyId=B444BF18-79EA-46C6-8A81-9DB49B4AB6E5)
  • Microsoft Office Language Pack 2007 Service Pack 2http://www.microsoft.com/downloads/details.aspx?FamilyId=E1203DB2-1CC9-4809-9B6E-3F232CB8899FEnjoy!Kristof Kowakski | kristof@kowalski.ms
  • Work In Progress

    Back behind the computer and working it in anger again after a nice couple of weeks off travelling.

    Work on the next revisions of LookSee are already under way and I moving ahead as scheduled. I’m going to try and release a new revision each month, we all know how everyone loves new features to play with.

    The App as it stands is still rather simple in what it does. The 1.x versions will focus on getting the simple things right and making sure stability is paramount. On that note I really have to say it’s been really really stable. Not one issue that I’ve had has been down to the App. Can I just silently scream when dealing with WebClient/mrxdav.sys issues!! Aaaah!! Microsoft please fix the redirector! Good news is that Windows 7 seems to behave a whole lot better!

    So as I was saying, version 1.x is about stability and the simple features. Version 2.x which hopefully will be out soon adds a little twist to the App. Its one I can’t wait to rollout as it’s nothing anyone is doing at present.

    So for now. I’ll be redoing the manual as the feedback I’ve had is its not friendly enough and yep, agree! Ask and it shall be done.

    Stay tuned for some more updates soon.

    Kristof Kowalski | kristof@kowalski.ms

    LookSee – The Missing Manual

    So, LookSee has been out for a month now and all seems to be going quite well. Too well one might say.

    I simply not ready for the uptake that the App would have and obviously with popularity you start to get the support emails. Now I’ve worked in a support role pretty much all my life, that is my bread and butter working life. Obviously over the years moving up the food chain you come across differing challenges that you have to meet head on and this is one of them

    From what I can gauge at the moment I’m getting about 2% of people asking for the odd support or general tip on how to connect [Insert your Operating System] to LookSee and I’m well chuffed. This is not your simple fart application or some ambiance App which plays whales sounds whilst your in a state of Zen, this is quite complex for the average user. I’ve tried to simply things in the manual, but I’ll be the first one to put my hand up and say it can be better.

    So there will be a total re-write of the manual when I come back from holidays.

    For now I’ve written up some Step by Step guides on how to connect to LookSee. These guides are more concise then the manual that is provided with the App so hopefully it’ll help you guys when trying to get LookSee working.

    So please check out the new Help section;

    http://www.kowalski.ms/help

    Kushdie!

    Kristof Kowalski | kristof@kowalski.ms

    LookSee 1.1 Is Finally Out

    Well it was a little bit of a hard slog getting this version out.

    Version 1.1 is really where 1.0 should have been when it was first released. There were a lot of shortcomings with it and I wasn’t entirely too happy with it. For what it’s worth the reviews weren’t too bad, but still now where I want to be with the app.

    This version has cleaned up the interface tremendously and allowed it to be a little bit more flexible.

    There’s still a lot to be done with the App and just can’t wait to get the features I want into it.

    Obviously the iPhone 3.0 OS was announced in this time and yes I have ideas on what LookSee will do. It’s all vaporware for now, but it will be reality, I’m in this app for the long haul as I think it can be the killer app in one to two versions time. For now it’s a simple WebDAV storage medium, so the foundation is there for what’s coming next.

    Try out 1.1 and let me know what you think guys.

    … now back to scripting our Microsoft Office SharePoint Server (MOSS) 2007 installs, migrate our Live Communications Server (LCS) 2005 infrastructure to Office Communications Server (OCS) 2007 R2 and… deep breath finally migrate our Exchange Server 2003 Front-Ends to Exchange Server 2007 Client Access Servers (CAS). All in a days work.

    Kristof Kowalski | kristof@kowalski.ms

    LookSee 1.1 Is Coming

    It’s been a long journey of getting the App developed from Whoa to Go and now the joy of adding features hath come.

    LookSee being a version 1.0 app has had it’s shortcomings but for the most part the app has been warmly accepted by you fine folk! Many thanks for all your kind comments and suggestions. The few issues that have arisen are quite superficial and easily rectified, thank god there weren’t any show stoppers or truly embarrassing failboat moments!

    The next version is almost done, some small layout issues to fix up before it goes in as an update on the App Store. This version will be about making LookSee a little bit more configurable, little bit more slicker and little bit more intuitive. Baby steps for now, sadly I don’t have the resources of a million coding monkeys behind me to write the perfect from the get go.

    So stay tuned.

    Kristof Kowalski | kristof@kowalski.ms

    It’s alive! LookSee 1.0 is on iTunes now!

    What an exciting time for me.

    That app has finally gone live on the iTunes store. Uploaded it last Thursday and it’s gone live today, so the review process took a week in total, which isn’t too shabby. I was expecting the review to take up to a month to conclude based on some blogs I was reading, so this has come as a surprise.

    Checking out some of the competition out there and there I think this will hold it’s own for now as a version 1.0 release. There are some awesome features coming shortly which no one is doing as of yet! It’s going to be truel innovative in the coming months.

    For now LookSee 1.0 should be the nicest looking and easiest to use WebDAV app out there with no limitations. There won’t be no Pro version like some other vendors are doing, just one version and always at US$0.99.

    Happy downloading!

    LookSee 1.0
    http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=306599171&mt=8

    Kristof Kowalski | kristof@kowalski.ms

    LookSee 1.0 iPhone App!

    Woot!

    After a development phase of about  4 months the app has finally been finished. It’s been a fun journey to get to this stage. Just wanted to say a big thanks to all the guys and gals in Cratima for helping out on this app, you guys rock!

    I’ve already penned version 2.0 and there are some exciting new features coming in which I just cant wait to share with you all in the coming months! Hopefully version 1.0 will stand on it’s own feet as it’s a super easy to use app!

    Uploaded the app to the iTunes store yesterday and it’s “In Review”. Fingers crossed it all passes smoothly!

    Check here for more information: http://www.kowalski.ms/looksee

    Kush!

    Kristof Kowalski | kristof@kowalski.ms

    SharePoint Server and Windows SharePoint Services Hotfix Build Numbers

    This has been bugging me for a while now. I have not been able to find a definitive guide to all the build numbers of Microsoft Office SharePoint Server (MOSS) 2007, Windows SharePoint Services (WSS) 2.0/3.0 and SharePoint Portal Server 2003 since they RTM’ed.

    So for your viewing pleasure here is a very very long list of Build Numbers, KB articles and Description of the hotifx.

    Just a note, since not all .dll’s are modified for every build, the highest version across all .dlls indicates the patch level.

    Windows SharePoint Services 3.0 hotfix packages

    Build

    KB Article

    Description

    12.0.4518.1016

     

    RTM

    12.0.6004.5000

    931637

    Description of the Windows SharePoint Services 3.0 hotfix package: January 25, 2007

    12.0.6007.5000

    931636

    Description of the Windows SharePoint Services 3.0 hotfix package: February 6, 2007

    12.0.6008.5000

    932621

    Description of the Windows SharePoint Services 3.0 hotfix package: February 10, 2007

    12.0.6010.5000

    932914

    Description of the Windows SharePoint Services 3.0 hotfix package: February 28, 2007

    12.0.6011.5000

    933818

    Description of the Windows SharePoint Services 3.0 hotfix package: March 9, 2007

    12.0.6017.5000

    934790

    Description of the Windows SharePoint Services 3.0 hotfix package: April 12, 2007

    12.0.6017.5000

    934251

    Description of the Windows SharePoint Services 3.0 hotfix package that includes the English, French, and German MUI: April 12, 2007

    12.0.6020.5000

    936867

    Description of the Windows SharePoint Services 3.0 hotfix package: May 8, 2007

    12.0.6021.5000

    937203

    Description of the Windows SharePoint Services 3.0 hotfix package: May 15, 2007

    12.0.6023.5000

    937901

    Description of the Windows SharePoint Services 3.0 hotfix package: May 25, 2007

    12.0.6023.5000

    938183

    Description of the Windows SharePoint Services 3.0 hotfix package: May 31, 2007

    12.0.6023.5000

    938241

    of the Windows SharePoint Services 3.0 for the Multilingual User Interface pack hotfix package: May 31, 2007

    12.0.6025.5000

    938536

    Description of the Windows SharePoint Services 3.0 hotfix package: June 11, 2007

    12.0.6027.5000

    939188

    Description of the Windows SharePoint Services 3.0 hotfix package: June 24, 2007

    12.0.6028.5000

    939592

    Description of the Windows SharePoint Services 3.0 hotfix package: June 29, 2007

    12.0.6039.5000

    934525

    Description of the security update for Windows SharePoint Services 3.0: October 9, 2007

    12.0.6219.1000

    936988

    Description of Windows SharePoint Services 3.0 Service Pack 1 and of Windows SharePoint Services 3.0 Language Pack Service Pack 1

    12.0.6300.5000

    941422

    Description of the Windows SharePoint Services 3.0 post-Service Pack 1 hotfix package: January 31, 2008

    12.0.6303.5000

    948945

    Description of the Windows SharePoint Services 3.0 hotfix package: February 21, 2008

    12.0.6303.5000

    948957

    Description of the Windows SharePoint Services 3.0 hotfix package: February 22, 2008

    12.0.6304.5000

    949399

    Description of the Windows SharePoint Services 3.0 hotfix package: February 27, 2008

    12.0.6305.5000

    949956

    Description of the Windows SharePoint Services 3.0 hotfix package: March 17, 2008

    12.0.6307.5000

    950279

    Description of the Windows SharePoint Services 3.0 hotfix package: March 21, 2008

    12.0.6308.5000

    950484

    Description of the Windows SharePoint Services 3.0 hotfix package: March 27, 2008

    12.0.6309.5000

    953484

    Description of the Windows SharePoint Services 3.0 hotfix package: May 5, 2008

    12.0.6314.5000

    952288

    Description of the Windows SharePoint Services 3.0 hotfix package: May 8, 2008

    12.0.6309.5000

    952292

    Description of the Windows SharePoint Services 3.0 hotfix package: May 12, 2008

    12.0.6315.5000

    952698

    Description of the Windows SharePoint Services 3.0 hotfix package: May 20, 2008

    12.0.6317.5000

    953473

    Description of the Windows SharePoint Services 3.0 hotfix package: June 5, 2008

    12.0.6322.5000

    951695

    of the Infrastructure Update for Windows SharePoint Services 3.0: July 15, 2008 >> Reports (12.0.6318.5000)

    12.0.6324.5000

    955594

    Description of the Windows SharePoint Services 3.0 hotfix package: July 22, 2008

    12.0.6324.5001

    956248

    Description of the Windows SharePoint Services 3.0 hotfix package: August 7, 2008

    12.0.6327.5000

    957109

    Description of the Windows SharePoint Services 3.0 hotfix package: August 26, 2008

    Windows SharePoint Services 2.0 hotfix packages

    Build

    KB Article

    Description

    11.0.5530.0

     

    RTM

    11.0.6361.0

    841876

    Description of Windows SharePoint Services 2.0 Service Pack 1

    11.0.6568.0

    887624

    Description of Windows SharePoint Services 2.0 Service Pack 2

    11.0.8000.0

    900929

    Description of the Windows SharePoint Services 2.0 post-Service Pack 2 hotfix package: November 15, 2005

    11.0.8165.0

    923643

    Description of Windows SharePoint Services 2.0 Service Pack 3

    11.0.8205.0

    941412

    Description of the Windows SharePoint Services 2.0 post-Service Pack 3 hotfix package: January 25, 2008

    11.0.8209.0

    948919

    Description of the Windows SharePoint Services 2.0 post-Service Pack 3 hotfix package: February 26, 2008

    11.0.8210.0

    950386

    Description of the Windows SharePoint Services 2.0 hotfix package: March 21, 2008

    11.0.8219.0

    952903

    Description of the Windows SharePoint Services 2.0 hotfix package: May 12, 2008

    SharePoint Server 2007 hotfix packages

    Build

    KB Article

    Description

    12.0.4518.1016

     

    RTM

    12.0.6005.5000

    931497

    Description of the SharePoint Server 2007 hotfix package: January 25, 2007

    12.0.6007.5000

    931496

    Description of the SharePoint Server 2007 hotfix package: February 7, 2007

    12.0.6008.5000

    932620

    Description of the SharePoint Server 2007 hotfix package: February 10, 2007

    12.0.6010.5000

    932919

    Description of the SharePoint Server 2007 hotfix package: February 26, 2007

    12.0.6010.5000

    932917

    Description of the SharePoint Server 2007 hotfix package: February 26, 2007

    12.0.6011.5000

    933586

    Description of the SharePoint Server 2007 hotfix package: March 3, 2007

    12.0.6012.5000

    933819

    Description of the SharePoint Server 2007 hotfix package: March 9, 2007

    12.0.6017.5000

    934793

    Description of the SharePoint Server 2007 hotfix package: April 12, 2007

    12.0.6020.5000

    936877

    Description of the SharePoint Server 2007 hotfix package for SharePoint Server 2007 and for SharePoint Server 2007 for Search: May 8, 2007

    12.0.6021.5000

    937207

    Description of the SharePoint Server 2007 hotfix package: May 15, 2007

    12.0.6021.5000

    937208

    Description of the SharePoint Server 2007 hotfix package: May 15, 2007

    12.0.6023.5000

    937906

    Description of the SharePoint Server 2007 hotfix package: May 25, 2007

    12.0.6023.5000

    937904

    Description of the SharePoint Server 2007 hotfix package: May 25, 2007

    12.0.6024.5000

    938182

    Description of the SharePoint Server 2007 hotfix package for SharePoint Server 2007 and for SharePoint Server 2007 for Search: May 31, 2007

    12.0.6025.5000

    938535

    Description of the SharePoint Server 2007 hotfix package: June 11, 2007

    12.0.6025.5000

    938537

    Description of the SharePoint Server 2007 hotfix package: June 12, 2007

    12.0.6027.5000

    939077

    Description of the SharePoint Server 2007 hotfix package for SharePoint Server 2007 and for SharePoint Server 2007 for Search: June 24, 2007

    12.0.6028.5000

    939599

    Description of the SharePoint Server 2007 hotfix package: June 29, 2007

    12.0.6028.5000

    939654

    Description of the SharePoint Server 2007 hotfix package: June 29, 2007

    12.0.6030.5000

    939877

    Description of the SharePoint Server 2007 hotfix package: July 17, 2007

    12.0.6211.5000

    942390

    Description of the SharePoint Server 2007 issues that are fixed by the 2007 Microsoft Office servers Service Pack 1

    12.0.6300.5000

    944710

    Description of the SharePoint Server 2007 hotfix package: January 31, 2008

    12.0.6300.5000

    941653

    Description of the SharePoint Server 2007 post-Service Pack 1 hotfix package: January 31, 2008

    12.0.6300.5000

    942819

    Description of the SharePoint Server 2007 post-Service Pack 1 hotfix package: January 31, 2008

    12.0.6300.5000

    945089

    Description of the SharePoint Server 2007 post-Service Pack 1 hotfix package: January 31, 2008

    12.0.6301.5000

    941274

    Description of the SharePoint Server 2007 and SharePoint Server 2007 for Search post-2007 Office servers Service Pack 1 hotfix package: January 31, 2008

    12.0.6303.5000

    948947

    Description of the SharePoint Server 2007 hotfix package: February 21, 2008

    12.0.6304.5000

    949402

    Description of the SharePoint Server 2007 post-Service Pack 1 hotfix package: February 27, 2008

    12.0.6304.5000

    949955

    Description of the SharePoint Server 2007 hotfix package: March 17, 2008

    12.0.6307.5000

    950280

    Description of the SharePoint Server 2007 hotfix package: March 21, 2008

    12.0.6307.5000

    950292

    Description of the SharePoint Server 2007 hotfix package: March 21, 2008

    12.0.6308.5000

    950487

    Description of the SharePoint Server 2007 hotfix package: March 27, 2008

    12.0.6314.5000

    952294

    Description of the SharePoint Server 2007 hotfix package: May 8, 2008

    12.0.6315.5000

    952704

    Description of the SharePoint Server 2007 hotfix package: May 20, 2008

    12.0.6316.5000

    953137

    Description of the SharePoint Server 2007 post-2007 Microsoft Office servers Service Pack 1 hotfix package: May 29, 2008

    12.0.6316.5000

    953138

    Description of the SharePoint Server 2007 post-2007 Microsoft Office servers Service Pack 1 hotfix package: May 29, 2008

    12.0.6317.5000

    953471

    Description of the SharePoint Server 2007 post-2007 Microsoft Office servers Service Pack 1 hotfix package: June 5, 2008

    12.0.6324.5000

    955593

    Description of the SharePoint Server 2007 post-2007 Microsoft Office servers Service Pack 1 hotfix package: July 21, 2008

    12.0.6322.5000

    951297

    Description of the Microsoft Office Servers Infrastructure Update: July 15, 2008 >> Reports (12.0.6318.5000)

    12.0.6324.5000

    955586

    Description of the SharePoint Server 2007 post-2007 Microsoft Office servers Service Pack 1 hotfix package: July 23, 2008

    SharePoint Portal Server 2003 hotfix packages

    Build

    KB Article

    Description

    11.0.5704.0

     

    RTM

    11.0.6715.0

    841883

    Description of SharePoint Portal Server 2003 Service Pack 1

    11.0.8126.0

    887623

    Description of SharePoint Portal Server 2003 Service Pack 2

    11.0.8126.2

    898547

    Description of the SharePoint Portal Server 2003 post-Service Pack 2 hotfix package for the Spanish and German versions of SharePoint Portal Server 2003: October 24, 2005

    11.0.8168.0

    923644

    Description of SharePoint Portal Server 2003 Service Pack 3

    11.0.8168.3

    941204

    Description of the SharePoint Portal Server 2003 post-Service Pack 3 hotfix package: February 26, 2008

    11.0.8168.3

    943167

    Description of the SharePoint Portal Server 2003 post-Service Pack 3 hotfix package: February 26, 2008

    Enjoy.

    Kristof Kowalski | kristof@kowalski.ms

    Problems After Installing MS08-040 (KB948110)

    It seems like there have been some calls coming in regarding this particular issue. Funny how some problems seem to go around in waves. Just had a customer Severity A come though where this patch was rolled out automatically via Windows Update, now when the server rebooted MSSQL$SHAREPOINT fails to start.

    Ooops!

    Delving further into this issue it would seem that there are several work around’s to this issue depending if you are running WMSDE or SQL Server 2000.

    The first port of call to see what is happening is checking the SQL Server ERRORLOG. If you go to C:\Program Files\Microsoft SQL Server\MSSQL$\Log\ERRORLOG you’ll see something like this;

    2008-07-14 11:26:13.21 spid2 Skipping startup of clean database id 4
    2008-07-14 11:26:13.21 spid2 Skipping startup of clean database id 6
    2008-07-14 11:26:13.21 spid2 Starting up database ‘STS_Config’.
    2008-07-14 11:26:13.29 spid5 Clearing tempdb database.
    2008-07-14 11:26:13.32 spid5 Starting up database ‘tempdb’.
    2008-07-14 11:26:13.35 spid2 Recovery complete.
    2008-07-14 11:26:14.26 spid2 Cannot validate object ‘master’.'dbo’.'sp_helptext’.
    2008-07-14 11:26:14.26 spid2 Database ‘master’ has invalid schema.

    The issue we have here is quite evident, the ‘master’ database scehema is invalid due to the installation logic not being aware of whether this instance is running SQL Server 2000. For anyone who has upgraded from WMSDE to SQL Server 2000, you’ll quite possibly come across this error. Before rolling the patch out I would recommend testing it out on a non product system and see what results you get.

    Everyone has uses best practices for patch management, right? right?? Test > Replica > Live! LOL

    Now to the fix itself, first for WMSDE which is the easier one to get around;

    • Download SQLWMSDE-KB948110-x86-ENU.exe

    • Run SQLWMSDE-KB948110-x86-ENU.exe /upgradesp sqlrun 1 INSTANCENAME=UDDI /l*v %windir%WMSDE.log

    • Reboot

    Voila!

    The SQL Server fix is a little bit more so you might need a strong coffee before reading this.

    • Perform the upgrade again from WMSDE to SQL Server 2000.

      Note You must use the same media that was previously used to perform the upgrade to SQL Server 2000.

    • Restart the server instance. The server instance should start as the upgraded version.

    • Apply SQL Server 2000 Service Pack 4.

      Note Make sure that you apply the SQL Server 2000 Service Pack 4 and not the MSDE SP4 or WMSDE SP4 updates.

    • For more information about how to obtain SQL Server 2000 Service Pack 4, visit the following Microsoft Web page:

    osql -n -b -d master -Slpc:%computername%\SHAREPOINT -i “%programfiles%\Microsoft SQL Server\MSSQL$SHAREPOINT\Install\sp4_serv_uni.sql” -o “%programfiles%\Microsoft SQL Server\MSSQL$SHAREPOINT\Install\sp4_serv_uni.out” -E

    Hope that gets some of you out of a right pickle.

    Case closed.

    Kristof Kowalski | kristof@kowalski.ms

    Extracting Files From a Corrupt Site Collection Content Database

    So here I am sipping away at my new found love of Jasmine Green Tea when the Queue Manager pops on Office Communicator. Kris, we have a Severity A. That usually means system down and someone is filling their pants with brown stuff.

    Turns out it was a certain customer in Greece with a failed Microsoft Office SharePoint Server (MOSS) 2007 restore and they really, really, really wanted a file restored. They pretty much went around it the correct way except this particular site collection didn’t come up.

    We browsed to the site and got the wonderful 404 HTTP error. Great start. We checked the Central Administration > Application Management > Site > Site Collection List. Sure enough it was there.

    Next step to see if it exists at all, so we navigate to;

    http://intranet/sites/sitename/_layouts/settings.aspx

    That seems to work. It’s a start. If that works lets go ahead and extract the site using our new export and import commands in stsadm to see if we can at least extract the file. We ran;

    stsadm -o export -url http://intranet/sites/sitename -filename sitename.bak -includeusersecurity -level 4 -nofilecompression

    When you run the export command it creates a nice filename.export.log for you to check and see what files are extracted. So we go ahead and check this file and no deal. No files there, in fact the whole export is about 1MB in size and the site is blank. How odd.

    It’s time to get down and dirty with SQL now. *sigh* This is where all the fun starts. Now SQL Server and the TSQL queries aren’t really my area of specialty but I know enough to get myself out of some pretty tight situations.

    So lets go ahead an have a look see if the file exists in the Content Database. So we fire up Microsoft SQL Server Management Studio and start a New Query. We’re going to, deep breath, SELECT a Content Database, the SELECT the AllDocs table, look for any files that end .doc and hopefully sort by the Site then by the Document. Using this statement;

    USE WSS_Content_0001
    SELECT * FROM AllDocs
    WHERE LeafName LIKE ‘%.doc’
    ORDER BY DirName, LeafName

    Searching the actual database we see that this document actually exists but not when we export the site using stsadm via the SharePoint Object Model. Strange.

    My next thought was to check the database for any oprhaned files. To perform this with our native tools we run the following command;

    stsadm -o databaserepair -url http://intranet/sites/sitename -databasename wss_content_0001

    You can also add the deletecorruption switch to go ahead and fix any issues for you, we just want to see if there is indeed an issue so we’ll omit it. Have a look at;

    Databaserepair: Stsadm operation (Office SharePoint Server)
    http://technet.microsoft.com/en-us/library/cc263282(TechNet.10).aspx

    So that command gets run and oddly enough the results show 0. Even stranger. I was getting curious so my next step was to have a wee look and see what our Webs table tells me about the site location. The Webs table keeps a record of ALL your sites, whether they be top level, subsites, Meeting Workspaces or any other site you collect. So I ran the following command;

    USE WSS_Content_0001
    SELECT Id, SiteId, FullUrl, ParentWebId FROM Webs
    WHERE FullUrl LIKE ‘%sitename%’
    ORDER BY
    FullUrl

    I was quite taken a back by what I saw. The FullUrl table return about 20 entries with /sites/sitename with only one of them listing the GUID of the ParentWebId! Ouch! This database is will have to go, but first we need to extract this one file for them to use.

    There are methods to extracting the files from the AllDocStreams table. Your actual files are held within the Content column of the AllDocStreams table, so when you download a document you are actually triggering a stored procedure that utilises remnants from the AllDocs, AllDocStreams and AllDocVersions tables.

    To extract your files from Content Database you will need a couple of things.

    Firstly you’ll need to get a hold of a couple files from the the SQL Server 2000 Resource Kit. I was lucky enough to have a copy laying around in our Library down in Level 1. Once you have that you’ll need to copy two files from the CDRom;

    textcopy.exe from \x86\binn directory
    ntwdblib.dll
    from \x86\system directory

    Then using TSQL queries we can extract the file and GUID from the database using the following statement;

    USE WSS_Content_0001
    SELECT AllDocStreams.Id, AllDocStreams.[Content], AllDocStreams.Size, AllDocs.Version, AllDocs.TimeLastModified, AllDocs.CheckoutUserId,
    AllDocs.CheckoutDate, AllDocs.IsCurrentVersion, AllDocs.DirName, AllDocs.LeafName, AllDocs.[Level]
    FROM AllDocs INNER JOIN
    AllDocStreams ON AllDocStreams.Id = AllDocs.Id AND AllDocs.[Level] = AllDocStreams.[Level]
    WHERE (AllDocs.DirName = ‘Shared Documents’) AND (AllDocs.LeafName = ‘example.doc’)

    When you enter this query you might return several rows. This will signify that you have several versions of a file. This can be validated by the column isCurrentVersion. If it has a 1 next to it, then this is the latest version. Depending on your versioning setup, you will also get differing entries in the Level column, take note of this for the next step.

    So now we’re ready to go and extract the file from the database with the above details. Finally. The juice is running and it’s taken a while to get here, but the customer appreciates we are trying everything to get them out of a pickle. Back to the extraction. This is where textcopy.exe comes into play. A word of warning. We had to create a new user using SQL rights and associate temporary db_owner rights to the WSS_Content_0001 database, you might have to perform the same.

    Some background to textcopy.exe to get started, remember, knowledge is king in this industry. The help details of textcopy.exe is;

    Copies a single text or image value into or out of SQL Server. The value is a specified text or image ‘column’ of a single row (specified by the “where clause”) of the specified ‘table’.

    If the direction is IN (/I) then the data from the specified ‘file’ is copied into SQL Server, replacing the existing text or image value. If the direction is OUT (/O) then the text or image value is copied from
    SQL Server into the specified ‘file’, replacing any existing file.

    TEXTCOPY [/S [sqlserver]] [/U [login]] [/P [password]] [/D [database]] [/T table] [/C column] [/W"where clause"] [/F file] [{/I | /O}] [/K chunksize] [/Z] [/?]

    /S sqlserver The SQL Server to connect to. If ‘sqlserver’ is not specified, the local SQL Server is used.
    /U login The login to connect with. If ‘login’ is not specified, a trusted connection will be used.
    /P password The password for ‘login’. If ‘password’ is not specified, a NULL password will be used.
    /D database The database that contains the table with the text or image data. If ‘database’ is not specified, the default database of ‘login’ is used.
    /T table The table that contains the text or image value.
    /C column The text or image column of ‘table’.
    /W “where clause” A complete where clause (including the WHERE keyword) that specifies a single row of ‘table’.
    /F file The file name.
    /I Copy text or image value into SQL Server from ‘file’.
    /O Copy text or image value out of SQL Server into ‘file’.
    /K chunksize Size of the data transfer buffer in bytes. Minimum value is 1024 bytes, default value is 4096 bytes.
    /Z Display debug information while running.
    /? Display this usage information and exit.

    So in our specific example we need to perform the following statement;

    textcopy.exe /S SQLServer01 /D wss_content_0001 /T alldocstreams /C content /U tempadminuser /P P@55w0rd /F C:\Temp\example.doc /O /Z /W “where ID=’E0DEB98E-4E02-11DD-A410-E46C56D89593′ and Level=’255′”

    This allowed us to extract the example.doc file from the Content Database associated with one of the Web Applications. The customer’s happy, I’m happy, everyone’s happy.

    Case closed.

    Kristof Kowalski | kristof@kowalski.ms