Mariusz, Gorzoch tech Blog

SharePoint SP1 installation and strange error 1387

leave a comment »



Yesterday we came across strange problem during upgrade of our MOSS 2007 with Service Pack 1. The installation process went fine until the step 8 (of 9) when it suddenly crashed. We go to update.log and found that there is a huge exception message:


[SPIisWebSiteWssSequence] [ERROR] [4/21/2009 11:57:49 AM]: Action of Microsoft.SharePoint.Upgrade.SPIisWebSiteWssSequence failed.
[SPIisWebSiteWssSequence] [ERROR] [4/21/2009 11:57:49 AM]: 1387
[SPIisWebSiteWssSequence] [ERROR] [4/21/2009 11:57:49 AM]:
Server stack trace:
   at Microsoft.SharePoint.AdministrationOperation.Win32.SPNetApi32.NetLocalGroupAddMember(String groupName, String userName)
   at Microsoft.SharePoint.AdministrationOperation.SPProvisioningAssistant.AddGroupMember(String username, Int32 group)
   at Microsoft.SharePoint.AdministrationOperation.SPAdministrationOperation.DoUpdateGroupMembers(String[] loginsToAdd, String[] loginsToRemove, Int32 group)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)


at the first, second look it didn’t tell us to much so we decided to try some googol. Unfortunately Google didn’t help us to much so we were left alone.


Anyway at the end we manage to find the reason of that which was old service account used to host our SharePoint, which was changed to new one and removed from AD. Even when this old AD account was deleted from AD, it still exist in "SharePoint Farm Administration" group and during upgrade of SP1 cause that entire process crashed. The funny think was that when I was trying to remove it with use of SharePoint UI (Central administration->Operation->Update farm administrators) or “stsadm –deleteuse” it didn’t work, that is : I couldn’t remove this account as SharePoint was throwing a message that this account cannot be removed from SharePoint group as it doesn’t exist (in AD) (sic!).


On the end we manage to recreate this account in AD (SID wasn’t a problem as we just needed this account to exist), remove it from SharePoint group and then – finally installation of Service Pack 1 for SharePoint went without a problem.


ufff… done!


SharePoint live can be sometimes difficult, but on the end of day, when you go thru this all strange stuff you will feel as a person who fulfil your destiny.


have fun


Written by Mariusz Gorzoch

22 April 2009 at 08:35

Posted in SharePoint

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: