Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Connect databases to new web app

  Asked By: Dennis    Date: Jan 02    Category: Sharepoint    Views: 5169

One of our web applications was unintentionally deleted but the content
databases are still there. Is it possible to recreate the web
application and then link the original content databases to the web
application? If so, how?



16 Answers Found

Answer #1    Answered By: Alan West     Answered On: Jan 02

Yup, that works just fine. Recreate the web  application than go into
Central Admin and "attach" your old content databases  to your new web
app. You can also do it from a Command Prompt with "stsadm -o

Answer #2    Answered By: Maribel Todd     Answered On: Jan 02

Can I delete the new content  dbs that are created when I create the
new web  app? Or am I stuck with two different sets of dbs?

Answer #3    Answered By: Akshara Negalur     Answered On: Jan 02

When you create the new web  app, just use the name of the currently existing
content db.

Answer #4    Answered By: Timothy Davis     Answered On: Jan 02

You can detach the new content  database that the new web  app creates and
add the existing ones. Works like a champ. I think what Harry suggested
will work too, but I haven't done it personally so I'm not 100% sure.

Answer #5    Answered By: Adya Deshmane     Answered On: Jan 02

I have the content databases  loaded but when I try to go open most of
the files in my site using SharePoint Designer I get an error

"Could not find a web  server at 'ausdev1' on port 80."

I'm not sure why it's giving me this error or how to fix it.

Answer #6    Answered By: Siobhan Waller     Answered On: Jan 02

Do the sites render fine in a web  browser?

Answer #7    Answered By: Lorenzo Steele     Answered On: Jan 02

No, I get an error 'File not Found'

Answer #8    Answered By: Divakar Naik     Answered On: Jan 02

When you attach the content  dbs do the correct number of site
collections show up in Central Admin for them? What results do you get
if you execute "stsadm -o enumsites -url <your web  app url>" at a
command prompt?

Answer #9    Answered By: Marcus Davis     Answered On: Jan 02

Yes, I'm getting the correct amount of websites. Although I get an
error when I browse to the main page of the sites in a web  browser if
I type in the url directly to the Site Settings page it shows up.
Also, I noticed that when I click on the Web Parts maintenance link  I
get the File not found error. So I'm thinking my web parts are hosed
for some reason.

Answer #10    Answered By: Perla Vang     Answered On: Jan 02

Do you have all the correct Solutions installed to render those pages?
You'll need all the Solutions that were present on the Farm those
Content DBs came from.

Answer #11    Answered By: Sandra Alexander     Answered On: Jan 02

I'm using the same web  and database server where it originated.

Answer #12    Answered By: Nalin Rao     Answered On: Jan 02

I was going to ask if there are any custom site definitions that need to be
brought over to the new server?

Answer #13    Answered By: Thomas Davis     Answered On: Jan 02

No, I have a custom master page but it is using the Team Site site

It looks like my site collection and it's content  are not synced b/c
when I go into the Site Content and Structure of the site collection
it does not show my content. Is there something I can run to re-sync

Answer #14    Answered By: Dominic Davis     Answered On: Jan 02

I was incorrect on this. When I run this command it shows 7 site
collections; however when I look at the Sites table in my content  db
there are 8. Is there a command I can run to get this other site
collection to show up?

Answer #15    Answered By: Indu Raj     Answered On: Jan 02

I got it working thanks to your article you wrote on orphaned sites.
I removed the content  db and then re-added it and now I can see my

Answer #16    Answered By: Shafaqat Ali     Answered On: Dec 19


I have SharePoint 2003 database with 1 top level site created, i want to migrate this database to another server running same version of SharePoint 2003, i have attached the database and showing my top level site but when i browse the site i get error message "The web site that is referenced here is not in the configuration database"

Didn't find what you were looking for? Find more on Connect databases to new web app Or get search suggestion and latest updates.