views:

498

answers:

2

So, I copied a content database from our production server to our test server. Then went into Central Admin on the test server and removed the existing content database. I then went to the database server and restored the newly copied production backup of the content database. Finally, I ran stsadm to reassociate the content database back to the site and ran iisreset...

However, when I view the site it is still showing old content... Any thoughts on why this would be occurring..? It's too weird...

A: 

If you are sure the db has been updated, you might need to reboot to get the cache fully cleared. It should not require that, but sometimes Sharepoint has a deathgrip on it's cached content.

Chris Ballance
well, i thought perhaps you were on to something with the reboot but no joy... It still showing the old content... Any other thoughts..?
Jason
There's no way it is cached. Something is still pointing to the old db, somewhere.
Chris Ballance
A: 

This doesn't make sense. I'm sure you've already done this but try double-checking your configuration again.

  1. Go into the Content Databases link in Application Management.
  2. Make sure you have the correct web application selected from the drop down in the top-right corner.
  3. Check the content database list and click on each database name to check it's pointing to the correct database server.
  4. If the problem is still occurring, remove all existing content databases from the list and re-add.
Alex Angas