Tuesday, 18 July 2006

A colleague from Australia IMed me tonight asking for help with a pesky error he was running into when trying to use SMIGRATE for Windows SharePoint Services 2003 to back up a SharePoint site.

The error was "ERROR: 6553609 You are not authorized to perform the current operation."

There's a KB article that addressed that error, but even after following the instructions in the KB article, the problem persisted. So we kept trying to figure it out. Permissions on the machine were fine, IE settings were fine, everything else checked out...

Greg Hughes says:
send me exactly what you typed on the command line pls

Greg Hughes says:
for your smigrate command?

< Jason /> says:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN>smigrate -u domain\Administrator -pw **** -w http://siteserver/clients/ -f c:\backup.fwp

< Jason /> says:
yea even with that tool still says im not authorised to do it

Greg Hughes says:
just for grins try this...

Greg Hughes says:
smigrate -w http://siteserver/clients -f c:\backup.fwp -u domain\Administrator -pw ****

< Jason /> says:
o ur good ur really good

< Jason /> says:
lol its working

Greg Hughes says:
yup

Greg Hughes says:
heh

Greg Hughes says:
two differences - not sure which mattered but I have a guess

Greg Hughes says:
so try it this way next:

Greg Hughes says:
smigrate -w http://point/clients/ -f c:\backup.fwp -u sydney\Administrator -pw *

< Jason /> says:
rofl yea that breaks it

Greg Hughes says:
you see the difference?

< Jason /> says:
yea

< Jason /> says:
the slash interesting

Greg Hughes says:
non fault-tolerant tool

< Jason /> says:
lol yea

Greg Hughes says:
yep it doesnt like that

So apparently it's important to remove the trailing slash from the site URL you specify with SMIGRATE on the command line if you want it to behave correctly. Also note that the error you get when running the tools is the same one covered under the KB article I mentioned above (http://support.microsoft.com/?kbid=828210) for a different problem that's also related to backing up or restoring a SharePoint web:

"ERROR: 6553609 You are not authorized to perform the current operation."

The same error occurs when the trailing slash is applied in the site URL, at least in our case. So if you do everything in the KB article and still get the same persistent error, look for evil slashes...

For reference...

The syntax for the SMIGRATE is:

smigrate -r -w <website URL> -f <backup file> [-e] [-y][-x]

-r is the restore (optional)

-w signifies the start of the Web site URL for a site (no trailing slashes!)

-f is the backup filename with an FWP extension

-e is an option to exclude subsites during backup

-y confirms that any existing backup files will be overwritten

-x is an option to exclude security during restore

-u specifies an administrator username

-pw specifies an administrator password

Also, when it's time to restore, it's important to know that you have to restore to an empty subsite that you create in the SharePoint admin web tool - no template, no nothing - just an empty SharePoint enabled subweb site.

You can do this with the STSADM.exe tool, leaving out the extra syntax for specifying templates, titles, etc - all the stuff that makes it not blank...

stsadm.exe -o createweb -url http://server_name/sites/site1/subsite1

or, if you're creating a top-level site on the server that you want to restore to, you create it like this:

stsadm.exe -o createsite -url http://server_name/sites/site1 -ownerlogin <DOMAIN\user> -owneremail someone@example.com -ownername <display name>

Also - remember that especially when it comes time to back up and restore sites, the patch levels and versions of the WSS servers you're dealing with might make or break your ability to get done what you want - so make sure the versions of your servers match if you keep running up against errors when you go to do your restore. Not a silver bullet, but it can be an elusive problem to troubleshoot.



Add/Read: Comments [1]
SharePoint | Tech
Monday, 17 July 2006 23:31:58 (Pacific Standard Time, UTC-08:00)
#  Trackback

Referred by:
http://www.helpwithprematureejaculation.org/ [Referral]
http://loftbeds.zoostores.com/ [Referral]
http://www.bestcompletearticles.com/2012/04/09/Direct-Payday... [Referral]
http://ceiclavdutu357.land.ru/ [Referral]
http://radiocomponent.com.ua/ [Referral]
http://www.f4designs.com/ [Referral]
http://search.daum.net/ [Referral]
http://www.celinebag.biz/ [Referral]
http://www.mulberryoutlet-online.net/ [Referral]
http://blog.savetop.ru/ [Referral]
http://www.nsa.xn--sdykarne-i8a.zagan.pl/ [Referral]
http://www.google.com/search [Referral]
http://www.submitstories.net/travel/best-refrigerators/ [Referral]
http://www.artparquet.ru/ [Referral]
http://www.mebel-mia.ru/ [Referral]
http://alltehno.com/ [Referral]
http://battleship.su/ [Referral]
http://www.noworkspanish.com/ [Referral]
http://rusmurbled.ya.ru/replies.xml?item_no=5 [Referral]
http://www.vrouwenversierengeheimen.com/ [Referral]
http://www.lapelpinandbutton.com/ [Referral]

More...
Friday, 21 July 2006 06:35:32 (Pacific Standard Time, UTC-08:00)
It's embarrassing sometimes at how something I may have overlooked Greg picks up on very, very quickly. "Ooops" is often my after-thought =\
Dave
Comments are closed.