Things hard and not so hard.... RSS 2.0
# Saturday, April 24, 2010

Well if you’re cracking on and updating your SharePoint Beta 2 Installs to RTM and wanting to make it out the door while there’s some daylight left…then you’re better than me…right now it’s dark! :)

Ok – so I figured, no probs just do a stsadm –o addcontentdb … and we’re well on our way, exactly the same from Beta 1 to Beta 2.

This time SharePoint RTM doesn’t want to play. I got this error:

Sequence [Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence] cannot upgrade
an object [SPContentDatabase Name=WSS_Content_Int2010] whose build version
[14.0.4536.1000] is too old. Upgrade requires [14.0.4730.1000] or higher.

So as you can see the Version numbers of my Beta2 ContentDB is close, but RTM is not playing.
 
I thought I’d take a punt and see what happened:
  1. Open up the ContentDB in SQL Management Studio and open up the Tables folder.
  2. Locate the Versions Table (down the bottom).
  3. Open the Versions Table in Edit Mode and modify the Rows which have a Version=14.0.4536.1000 next to them.
  4. Simply change the version number to 14.0.4730.1000
  5. Save the changes
  6. Rerun the stsadm –o addcontentdb command and bob’s your uncle.

The ContentDB I used here was 18GB in size and all has come up trumps.

This may save you a bit of time and sure it’s a hack, but we’re now in RTM land.

Good luck :)

 
 

image

Saturday, April 24, 2010 10:13:39 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0] -
SharePoint | 2010

I’ve just spent the past couple of days looking into the ‘upgrade’ process and I’ve come out the other side. Here’s a quick jot down of what I encountered

  1. Environment: Single WFE (Win2K8 R2 x64) and a separate SQL 2008 x64 'backend’. Currently running SP2010 Beta2 with content databases around 13GB
  2. I haven’t uninstalled any of the existing SP2010 beta 2 bits – this is a VM and I have a handy backup, so in case of emergency break glass was my plan b.
  3. Launched Setup.bat – up came the intro screen and I selected Install PreReqs. In my case the prereqs failed their first installed with it grumbling about the IIS Web Role not present (but this was an existing SP2010 server, so obviously the Web Role was present and correctly running).

    Ran the PreReqs again and all was fine :)
  4. Setup.exe – launched the product, provided a license key and we ran all the way through no problems. Interestingly thRege installer didn’t mention anything like “…I found a previous version of SharePoint do you want to …”
  5. Configuration Wizard – this is where my trouble started.
    1. As the Wizard was launching, it appeared not to be able to recognise the fact that we were already in a farm. It was like we were running on a machine, where the DB Server wasn’t accessible.

      I ‘removed’ the Server from the Farm (which were the only options in the Wizard for me)
    2. Re-ran the Wizard Take#2, supplied the details at the beginning, Server Farm etc etc and sent it on it’s way.
    3. The Wizard ran up to step 3 of 10 (where it configures the Farm DB + creates the SharePoint Web Services IIS Site) and then FAILED. What I noticed that the FarmDB was created successfully, but the IIS side was failing.
      (The error logs spoke about a socket based error – which I think was unrelated)
    4. Tweaking, rerunning the Wizard didn’t fix things…so here’s my fix….
    5. I also uninstalled SP2010 RTM a few times and reinstalled, but same error
  6. The fix -
    1. Delete the \14 hive
    2. Delete the Registry Key (and all under it) HKLM\Software\Microsoft\Shared Tools\Web Server Extensions
    3. Uninstall/reinstall the IIS Web Role on the Server
  7. Repair the SharePoint install from rerunning Setup.exe – repair option. (you might be able to leave this step out, but I deleted the Web Server Extensions key after I installed SP2010, so I needed it to be rewritten)
  8. Run Config Wizard
  9. Upgrade any Content DBs you want to mount – through stsadm –o addcontentdb or Mount-ContentDB (powershell)

I’m sure you’ll be able to shorten this list of steps when you upgrade, but I’ve got to get on and configure this environment.

Have fun,

Mick.

Saturday, April 24, 2010 9:31:07 AM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0] -
SharePoint | 2010
# Thursday, April 22, 2010

Well folks we are partnering with Education leaders in the APAC region Excom to deliver to you our Breeze SharePoint 2010 Bootcamp.

I’ve recently come out of that code cave…the place which I’m sure a lot of us know all too well. I discovered people…and conversations again :)

We’ve put together 13 modules of original material and labs to match based on real world examples. For e.g. Integrating with Oracle EB from SharePoint 2010 via the BizTalk Adapter Pack (being a BTS MVP I couldn’t resist that one).

I ran a course in Melbourne the week before last and it was a solid week which the students loved with the average score for the course being 8.2 (with 9 being the top)

Our next city is Sydney this coming month and I’ve managed to grab a couple of seats for you.

To Register in a city near you – click here

 

image

Thursday, April 22, 2010 9:01:58 AM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0] -
SharePoint | 2010 | Training
# Monday, April 19, 2010

May 12th has always been the big date for the release of the products, the icons will be all completed (no more purple dots) questions about performance (how many, how big, how fast…) can all start to be answered in the real world about lists and list sizes.

The Launch of Office 2010 and SharePoint 2010 is due on May 12th.

Those on MSDN and TechNet will get access on April 22nd to start downloading.

image
image

Monday, April 19, 2010 4:08:41 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0] -
Office | SharePoint | 2010
# Tuesday, April 06, 2010

In true SharePoint fashion, I’ve updated the common lightup.xml file for SharePoint 2010.

Some things that are missing from below is an Admin link – I’ll update shortly as I’ve got to get back to a lab I’m finishing writing.
(note I’ve added ~sitecollection below, as all the samples I’ve seen leave this out)

Enjoy and happy Easter all.

<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <!-- Document Library Toolbar New Menu Dropdown -->
  <CustomAction Id="UserInterfaceLightUp.DocLibNewToolbar"
    RegistrationType="List"
    RegistrationId="101"
    GroupId="NewMenu"
    Rights="ManagePermissions"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="1000"
    Title="MY DOCLIB NEW MENU TOOLBAR BUTTON">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?NewMenu"/>
  </CustomAction>
  <!-- Document Library Toolbar Upload Menu Dropdown -->
  <CustomAction Id="UserInterfaceLightUp.DocLibUploadToolbar"
    RegistrationType="List"
    RegistrationId="101"
    GroupId="UploadMenu"
    Rights="ManagePermissions"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="1000"
    Title="MY DOCLIB UPLOAD MENU TOOLBAR BUTTON">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?UploadMenu"/>
  </CustomAction>
  <!-- Document Library Toolbar Actions Menu Dropdown -->
  <CustomAction Id="UserInterfaceLightUp.DocLibActionsToolbar"
    RegistrationType="List"
    RegistrationId="101"
    GroupId="ActionsMenu"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="1000"
    Title="MY DOCLIB ACTIONS MENU TOOLBAR BUTTON">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?ActionsMenu"/>
  </CustomAction>
  <!-- Document Library Toolbar Settings Menu Dropdown -->
  <CustomAction Id="UserInterfaceLightUp.DocLibSettingsToolbar"
    RegistrationType="List"
    RegistrationId="101"
    GroupId="SettingsMenu"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="1000"
    Title="MY DOCLIB SETTINGS MENU TOOLBAR BUTTON">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?SettingsMenu"/>
  </CustomAction>
  <!-- Site Actions Dropdown -->
  <CustomAction Id="UserInterfaceLightUp.SiteActionsToolbar"
    GroupId="SiteActions"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="1000"
    Title="MY SITE ACTIONS BUTTON">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?SiteActions"/>
  </CustomAction>
  <!-- Per Item Dropdown (ECB)-->
  <CustomAction
    Id="UserInterfaceLightUp.ECBItemToolbar"
    RegistrationType="List"
    RegistrationId="101"
    Location="EditControlBlock"
    Sequence="106"
    Title="MY ECB ITEM">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?ECBItem"/>
  </CustomAction>
  <!-- Display Form Toolbar -->
  <CustomAction
    Id="UserInterfaceLightUp.DisplayFormToolbar"
    RegistrationType="List"
    RegistrationId="101"
    Location="DisplayFormToolbar"
    Sequence="106"
    Title="MY DISPLAY FORM TOOLBAR">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?DisplayFormToolbar"/>
  </CustomAction>
  <!-- Edit Form Toolbar -->
  <CustomAction
    Id="UserInterfaceLightUp.EditFormToolbar"
    RegistrationType="List"
    RegistrationId="101"
    Location="EditFormToolbar"
    Sequence="106"
    Title="MY EDIT FORM TOOLBAR">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?EditFormToolbar"/>
  </CustomAction>
  <!-- Site Settings -->
  <CustomAction
    Id="UserInterfaceLightUp.SiteSettings"
    GroupId="Customization"
    Location="Microsoft.SharePoint.SiteSettings"
    Sequence="106"
    Title="MY SITE SETTINGS LINK">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?Customization"/>
  </CustomAction>
  <!-- Content Type Settings -->
  <CustomAction
    Id="UserInterfaceLightUp.ContentTypeSettings"
    GroupId="General"
    Location="Microsoft.SharePoint.ContentTypeSettings"
    Sequence="106"
    Title="MY CONTENT TYPE SETTINGS LINK">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?General"/>
  </CustomAction>
</Elements>
Tuesday, April 06, 2010 12:37:13 AM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0] -
2010
# Friday, April 02, 2010

While writing a lab for an up and coming SharePoint 2010 course I came across a few handy things.

I’ve always been a big fan of the developer dashboard and until recently the example code has been a little scarce.

Fortunately I’ve found a couple of gems

- one from Paul Andrew’s blog on how to get your own text in the debug tree
using (SPMonitoredScope sc = new SPMonitoredScope(“Some timed scope”))
{
  // some code in here that you think may take time
}

and for the right side of the screen:
SPCriticalTraceCounter.AddDataToScope(uCounter, “Your category”, traceLevel, “Detailed long message”);

- and the 2nd is an extension that sits on the Dashboard page that plots the time taken for each component to process/render in the tree (it does this client side using jquery and an ASCX control)
http://devdashvis.codeplex.com/releases/view/36559

Check them out.

Cheers,

Mick.

Friday, April 02, 2010 1:25:44 AM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0] -
SharePoint | 2010
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
Blogroll
 AppFabric CAT
AppFabric Windows Server Customer Advisory Team - New Blog.
[Feed] BizTalk 2006 - Windows SharePoint Services adapter
BizTalk 2006 Sharepoint adapter!!
 Breeze SharePoint 2010 Bootcamp
Breeze SharePoint 2010 Bootcamp
[Feed] BTS 2006 R2/EDI
[Feed] Chris Vidotto (MS BTS Legend)
Needs no intro....
 Mark Daunt
BTS/SPS/.NET GURU!!!
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Breeze
Sign In
Statistics
Total Posts: 518
This Year: 11
This Month: 3
This Week: 1
Comments: 259
All Content © 2012, Breeze