Quantcast
Viewing all articles
Browse latest Browse all 21070

Attach content database to a different web application.

Hi -

Ok so, I have seen a few posts on how to attach a content db to a web application.  My question is slightly different.
I am coming from a legacy Microsoft CMS background, where when we created a CMS Site with a content database, we could attach the "same" database to a different web application. So 2 web applications pointing to the same content database. This was done to provide a safe way to allow content publishers to publish content on a different application (port/url) than the URL that was exposed to public. This is in inernet website scenario.

Can we accomplish this in SharePoint 2013. I receive an error

Mount-SPContentDatabase : A SharePoint database named WSS_Content_xxx already exists.  You must supply another name for the new database.
At line:1 char:1
+ Mount-SPContentDatabase "WSS_Content_xxx" -DatabaseServer "spDevsql"
-Web ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...ContentDatabase:
   SPCmdletMountContentDatabase) [Mount-SPContentDatabase], SPDuplicateObjectException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletMountContentDatabase


Viewing all articles
Browse latest Browse all 21070

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>