locked
Extract current settings (database name / url) RRS feed

  • Question

  • We have an old development server that we need to bring back into use to maintain an existing sharepoint site. The problem we have, is that all our development database servers were migrated to new servers, and as such we get a "Could not connect to the configuration database" error when we try to access the site and central administration.

    I found that you can change the database server using the "renameserver" STSADM command, but it requires that you know the name of the old database server, and I am afraid that knowledge has been lost.

    My question is: How do you get the name of the database in the current settings? Is there an STSADM command to list the configuration for the server or some other way we can get it?

    Note: This is a simple setup with one application/front-end server and the database server.

    Friday, January 21, 2011 8:47 AM

Answers

  • if it is a dev server and you are not bothered why not simply run the Configuration wizard to disconnect from the farm and then attach back to the known config DB?

     

    I think the Configuration wizard  will tell you the DB Server and the config DB it is currently attached to.


    HTH
    Nagesh S

    Days and years do not mean anything to me. Moments shared are frozen
    in their time frame. Distance or time never fades them for me. I cherish them
    like my life. I have never let them sleep alone. Sachi
    • Marked as answer by Leoyi Sun Tuesday, February 8, 2011 7:06 AM
    Friday, January 21, 2011 6:42 PM