Tuesday, August 24, 2010

Access Denied issue after creating new configuration database



This is one of the rare issues I was facing with my farm.

Scenario

Due to domain crash I have created a new domain with the same name and created all users which were there in old domain.

Issue

  • After creating a new domain I have tried to connect with the old configuration database which failed with invalid user credentials issue.
  • So I have created a new Configuration Database as I have Content DB of the site with me.
  • PSConfig was completed successfully and attach content DB worked fine.
  • Now the main issue occurred, site was accessible fine if I use farm admin credentials but it gave "Access Denied" error for all other users which I have added to the site earlier.
Resolution

  • From my research I found it was due to Schema mismatch, so when I delete and re add that user it worked fine.
  • Or you can use STSADM -o migrateuser command

Popular Posts

Disclaimer

The opinions expressed on this blog are the personal views of Pratik's SharePoint Blog, and do not represent or reflect the viewpoints or policies of any past, present, or future employer, colleague, or customer, or any other entity. The posts on this blog are provided ‘as is’ with no warranties, express or implied, and confer no rights. Use of information contained within this blog, including specific technical steps mentioned herein, is at your own risk. References to specific software products, processes, resources, or companies do not imply any endorsement.