SharePoint 2007 and the mysterious Access Denied message!

Analysis
Oct 16, 20082 mins

I’ve been meaning to blog about an annoying SPS 2007 behavior/issue for some time now.  But, hey I’ve been so busy exploring Japan that my technical postings have kinda been MIA.

Anyhow… maybe you have encountered this problem, maybe not.  SPS 2007 is installed, configured, and running fine.  Then for some strange reason, your users start getting Access Denied messages.  Sadly, you check and check, and double check your permissions, configuration, etc. and still cannot find the root cause.

If this is the case and all other options have been ruled out… then it’s safe to conclude this isn’t your fault.  :>) Instead, this is an SPS issue, and basically the Web Application has taken a “dump”.  To correct this problem, you need to remove the Web Application from a Web site and then re-extend it.  To complete this task do the following from the Central Administration console.

  1. Click Application Management > SharePoint Web Application Management > Delete Web Application.
  2. Next, select the correct Web application you want is selected, and change the Deletion Options to:
    • Delete content databases – No
    • Delete IIS Web sites – No
  3. Now, click delete.

Once the Web Application has finished deleting, you now need to re-extend the IIS Web site with the Web Application.  Use these steps:

  1. Click Application Management > SharePoint Web Application Management > click Create or extend Web application.
  2. Next, click Extend an existing Web application.
  3. Next, select the Web application you want to extend.
  4. Now finish the wizard… :>)

Once you have complete these steps, your SPS 2007 should be working again.

Also… do not forget, you can always use the stsadm.exe tool to do these steps.  :>)  Also, many thanks to Michael Noel, for telling me this fix early this year.