Skip Ribbon Commands
Skip to main content

Title

If you get a correlation error, Try IISReset after running the command

Body

FYI:
I tried the command on my development server to rename a site collection:
$site=Get-SPSite "https://sp2013/sites/Site1"
$site.rename("https://sp2013/sites/Site2")
$site = Get-SPSite "https://sp2013/sites/Site2"
$site.contentdatabase.RefreshSitesInConfigurationDatabase()

Site1 no longer existed, but when browsing to Site2 I got errors.  I have custom errors turned off on my dev system so I get to see the actual error, and the errors were coming from the Publishing cache indicating that Site1's url does not exist.


So, to clear the cache out, I ran
IISRESET /restart

And that did it for me!  



Today's date

4/27/2017

Twitter

 
Approval Status Pending
 

Attachments

Created at 4/27/2017 10:33 PM by  
Last modified at 4/27/2017 10:33 PM by