Mount-SPContentDatabase /w host-named site collection
-
Friday, September 16, 2011 4:12 PM
Added a contentDB into a web application with a different port than the site collection was created. So now there exists a port which this web application does not listen too.
How is it possible to change this Site's URL since host-named site collections do not have AAM.
SiteCollections.aspx show the host-named site collection, but how to gain access to it???
Answers
-
Friday, September 16, 2011 4:32 PM
Simply using the stsadm -o renamesite did the trick.
Does powershell have renamesite operation?
All Replies
-
Friday, September 16, 2011 4:32 PM
Simply using the stsadm -o renamesite did the trick.
Does powershell have renamesite operation?
-
Friday, September 16, 2011 5:55 PM
Although renamesite will allow access to site, it will be missing web parts deployed into Wiki page layouts (EnterpriseWiki.aspx). Who knows what else is missing.
Unsure if this is the result Mount-SPContentDatabase command or the renamesite operation. But moving Content Database results in data loss. Unexceptable!
-
Friday, September 16, 2011 7:05 PMThe web parts that were blown away was do to to a Feature not enabled in the new web application, so SharePoint removes it on failure. This is new behavior in SharePoint 2010, I would prefer getting an error, how to configure SharePoint to not destroy content?
-
Friday, September 16, 2011 7:34 PM
Hi ,
Ways how to change port for web application
http://smallcitydesign.com/configuration/change-sharepoint-2010-web-application-port-numbers/
Regards, Fadi Abdulwahab. http://sqlgoogler.blogspot.com/ Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you -
Friday, September 16, 2011 8:39 PM
The issue is related to using host-named site collections, which does not have AAM, (only Default).
Which requires
stsadm -o renamesite

