Answered How to enable Web Application after reinstalled SP2007

  • 9 august 2012 15:51
     
     

    Hi expert,

      After reinstalled SP2007, I can open central Administration by original port, but when I tried to open the Web Application by default port, it was failed. does any Expert can let me know how to fix it ?

    ps. I had copy our live company SharePoint 2007 server to a Hyper-V server for testing. I changed the Hyper-V server name then reinstalled SP2007.


    James Liang

Toate mesajele

  • 9 august 2012 16:31
     
     

    Hi James,

    You should be able to backup the content database from your Production web app and then restore that BAK file into your test SQL server. Once you do that you should be able to create new web application on the test environment pointing to the DB you just restored. This would bring all your contents over but you may have to reconfigure any custom settings/ solutions you may have. Check below link for details:

    http://sharepointdogs.wordpress.com/2008/07/30/content-migration-or-backuprestore-in-moss-2007/

    Hope this helps!


    BlueSky2010
    Please help and appreciate others by using forum features: "Propose As Answer", "Vote As Helpful" and "Mark As Answer"

  • 10 august 2012 15:56
     
     

    Hi BlueSky2010,

      I follow up those step to created a new wen application. then to run this command

    stsadm -o addcontentdb -url http://vffhysvrd3:4334 -databasename WSS_Content_22516 -databaseserver vffhysvr32

    but I got this : A sharepoint database name WSS_Content_22516 already exists. you must supply another name for the new database.

    Can you help ?


    James Liang

  • 10 august 2012 19:58
     
     

    Hi James,

    Looks like you already have the DB "WSS_Content_22516" attached to your web app "vffhysvrd3:4334". Can you not browser the site from http://vffhysvrd3:4334? Have you tried this URL from the server itself?

    If you still can't open this site - try to remove the content database from Central Admin > Application Mgt > Content databases > choose the web app 'http://vffhysvrd3:4334'. Now you should see the DB WSS_Content_22516 listed there.

    Click on the the name "WSS_Content_22516" > check the box 'remove content database' > accept the popup message and click 'OK' button to remove.

    Once that DB is removed 'Manage Content Databases' page should be empty. Now go ahead and "Add a content database" providing the correct 'Database server' and 'Database' names.

    Hope this helps!


    BlueSky2010
    Please help and appreciate others by using forum features: "Propose As Answer", "Vote As Helpful" and "Mark As Answer"

  • 10 august 2012 20:57
     
     

    BlueSky2010,

      Appreciate your help, Because I copy our life SP2007 company to a Hyper-V server then run the command under this Hyper-V server. so it's failed (22516 already exists)

      After rename 22516 DB to another name (like 22500) and run -o addcontentdb again,  it's success. so the 4334 web application has WSS_Content_22500 DB. but when I try to open http://vffhysvrd3:4334. system show 404. can you help again ?

    Thanks


    James Liang

  • 17 august 2012 19:20
     
     Răspuns

    Have you checked whether you had more than one content database for this web app? I suspect whether you restored the DB with root site collection or not.

    When you go the Content Databases page (from CA) on your test system does it show any site collection for your database?


    BlueSky2010
    Please help and appreciate others by using forum features: "Propose As Answer", "Vote As Helpful" and "Mark As Answer"

    • Marcat ca răspuns de JamesLiang 24 august 2012 22:18
    •