locked
Attached Database to a different Web Apps RRS feed

  • Question

  • Hi All,

    Need some input.  I currently have a database (TEST_Project).  In it, it has only ONE site collection call pwa (http://test.mydomain.com/products/pwa). 

    Now, I have created a new web application (http://project.mydomain.com/).  I detached the above database and attached (see command below) it to this new web app.  However, when I go to View Site Collection, it is empty.  What am I missing?  Do I need "products" there?  Please help.

    "stsadm -o addcontentdb -databasename TEST_Project -url http://project.mydomain.com/"

    Thanks


    • Edited by Ultragc88 Friday, December 16, 2011 11:58 PM
    Friday, December 16, 2011 11:50 PM

Answers

All replies

  • Do you currently have any other content databases attached to the project.mydomain.com Web App?

    FYI, the equiv PowerShell command would be:

    Mount-SPContentDatabase TEST_Project -WebApplication http://project.mydomain.com


    http://sharepoint.nauplius.net
    Saturday, December 17, 2011 12:50 AM
  • Hey Trevor,

     

    Thanks for the comment.  I figure out why the site collection view was empty for Project web apps.  I am able to attach database now and see the site collection (/products/pwa) under http://project.mydomain.com.  However, notice that it is under the "products" path.  However can I make it so that it is http://project.mydomain.com/pwa?

    Saturday, December 17, 2011 3:44 AM
  • See:  http://social.msdn.microsoft.com/Forums/ar/sharepoint2010general/thread/1d4c79d7-0a08-48aa-8f2c-552be721507c

    Test this first.  There may be consequences with regards to Project Server.


    http://sharepoint.nauplius.net
    Saturday, December 17, 2011 4:42 AM
  • Thanks Trevor.  I was hope I don't have to do that as I have used this approach in the past but with mixed results.

     

    Looks like I am stucked.  Thanks for your comment.

    Sunday, December 18, 2011 4:14 AM