MOSS MAN

Paul Zanbaka

SharePoint 2003 to MOSS 2007 Upgrade Migration Error: Halting upgrade... Microsoft.SharePoint.SPException: User cannot be found.

created by pzanbaka on Sunday, September 02, 2007 6:46 PM

This fixes 2 errors
Error 1) The migration upgrade error below[PortalSiteUpgradeAreaAndListingData] [12.0.1.0] [INFO]: Upgrade encountered an unexpected error.
Halting upgrade... Microsoft.SharePoint.SPException: User cannot be found. at Microsoft.SharePoint.SPUserCollection.GetByID(Int32 id) at Microsoft.SharePoint.SPSite.get_Owner() [SiteSequence] [ERROR]: User cannot be found.
Error 2) Manage Site Collection Owners User cannot be found

I've found a way to fix this but please try at your own risk and backup the database first! I think what is happening is that when SharePoint checks to see who the author (owner) of the site is, if the author doesn't exist Upgrade/migration fails.
The Owner of the site is stored in the Sites database table. The author of the site is stored in the Webs database table.

Step 1
Select * from Webs where FullUrl = ''
Here the full url is the one you are having problems with Copy the siteID it should look like this 3893DC55-756E-430C-8975-6214A531CAE1

Step 2
SELECT * FROM [FortBenn4_SITE].[dbo].[UserInfo] where tp_SiteId='3893DC59-756E-430C-8975-6214A531CAE1'
In here you get lots of records returned look for any valid user just copy the tp_ID for our example we make it 44

Step 3
The author and OwnerID bellow are the one you picked in step 2 (44) UPDATE [Sites] SET [OwnerID] = '44' WHERE [FullUrl]=’ '
Update Webs set Author='44' where FullUrl = ''
Step 4
Finally, go give ownership to the right user Go Windows SharePoint Services Manage Site Collection Owners Give the desired user ownership to the site
Let me know how it works make sure you test it on a backup environment

with 7 comment(s) Filed under:

Comments

# clone dvd @Wednesday, March 26, 2008 9:06 PM

Gosh provides an alternate way to run command- line Groovy scripts, as well as a simplified way to write Windows Services ( WinNT Services ) using Groovy. Gosh treats scripts the same, whether they are run from the command- line or as a service (including

# use dvd decrypter @Monday, April 14, 2008 2:23 PM

I go to Cabell library almost everyday because it\'s a great place to study and do computer work since I don\'t have a laptop. Cabell Library has days where there are no computers in use, so I use the basement (B- 8 computer lab). I have been going for

# dvd shrink @Tuesday, April 15, 2008 4:24 AM

In my post Controlling computers, I wrote about Jeff Han, whose team has created a mindboggling new prototype for a computer interface. Now, at TED, you can see Jeff show the interface and explain a bit how it works. This is what our kids will be usin

# how copy dvd @Tuesday, April 15, 2008 10:08 PM

Finally a personal thing: some time ago I got a flyer with a printout of this“ material”. The guy who distributed it gave it only to Scientologists coming from Sunday service in a Church of Scientology. The flyer was ridiculing all and any belief of Scientology

# dvd burning software @Tuesday, April 15, 2008 11:06 PM

Zoom Player is the most Powerful, Flexible and Customizable DVD and Media Player for the Windows PC platform. Using our powerful Smart Play technology, more media formats play with less hassle, improved stability and greater performance.

# decoders for dvd @Wednesday, April 16, 2008 12:09 AM

But don’ t think this is just a screenshot kinda thing. This shows actual things about your system making it look VERY legit. There is also an option for“ fake disk activity.” Now… if I could just get this on workstation of my boy Shane Henderson.

# how record dvd @Wednesday, April 16, 2008 3:04 AM

About this entry Published: 2. 12. 08/ 11pm Category: life , personal , photography , spirituality , thoughts Tags: No comments Jump to comment form comments rss[?] trackback uri[?]