Troubleshooting Common Issues in SharePoint Foundation 2010 (Windows SharePoint Services)
SharePoint Foundation 2010 (Windows SharePoint Services) remains in use in many environments. This article provides a practical, step-by-step troubleshooting guide for the most common issues administrators encounter, with quick checks, likely causes, and actionable fixes.
1. Site not loading / “Service Unavailable” or 503 errors
- Quick checks: Confirm IIS application pools are running; check SharePoint services on the server; review event logs and IIS logs.
- Likely causes: Stopped application pool, identity/password change for service account, or app pool recycling due to rapid-fail protection.
- Fixes:
- Open IIS Manager → Application Pools → restart the relevant app pool (e.g., SharePoint – 80).
- If crashing, check the app pool identity credentials and re-enter updated password.
- Disable rapid-fail protection temporarily while diagnosing: Application Pool → Advanced Settings → Rapid-Fail Protection → set to False.
- Check Event Viewer (System & Application) for .NET or w3wp.exe errors and address underlying exceptions.
2. “Access Denied” for users who should have permissions
- Quick checks: Confirm user is in correct SharePoint group and that the site inherits or has correct unique permissions; validate web application policy.
- Likely causes: Broken inheritance with missing permissions, denied permissions in parent, or missing “Full Control” for farm/admin accounts for certain operations.
- Fixes:
- Site Settings → Site Permissions → check for unique permissions and re-inherit if needed.
- Use “Check Permissions” (Site Actions → Site Permissions) to see effective permissions.
- In Central Administration → Manage web applications → User Policy, ensure required accounts have correct web-app level permissions.
- For permission sync issues, run stsadm.exe -o sync or use PowerShell to reapply permissions as necessary.
3. Search not returning expected results
- Quick checks: Verify Search Service is running; confirm content crawl completed; check crawl logs for errors.
- Likely causes: Crawl rules blocking content, search index corruption, or service account permission issues.
- Fixes:
- Central Administration → Manage service applications → Search Service Application → check crawl status and logs.
- Restart Search services (Windows Service: SharePoint Server Search) and perform a full crawl.
- If index is suspected corrupt: reset index (Central Admin → Search Service Application → Index Reset) then perform full crawl.
- Ensure crawler account has read access to the content and necessary local rights.
4. Slow page performance
- Quick checks: Monitor CPU/memory on servers, check SQL Server performance, review ULS logs for throttling or long-running requests.
- Likely causes: Insufficient hardware, misconfigured SQL (auto-grow, single large files), heavy custom code or large lists/libraries.
- Fixes:
- Use Performance Monitor on SharePoint and SQL servers to identify bottlenecks (CPU, Memory, Disk Queue Length).
- Review SQL Server settings: pre-size database files, configure autogrowth appropriately, optimize tempdb.
- Investigate large lists—apply indexing, folders, or list throttling thresholds; paginate or limit CAML queries in custom code.
- Enable output caching for publishing pages or configure BLOB cache in web.config if applicable.
- Examine ULS logs (use ULS Viewer) for slow requests and address the root cause.
5. Workflow failures or stuck workflows
- Quick checks: Inspect the Workflow History and Workflow Status pages; check SharePoint Timer Service.
- Likely causes: Corrupted workflow instances, timer service stopped, or errors in custom workflow code.
- Fixes:
- Restart the SharePoint Timer Service (Windows Service: SharePoint 2010 Timer).
- Review ULS logs and workflow history for exceptions; if workflow definitions corrupt, republish from SharePoint Designer or Visual Studio.
- Use PowerShell or stsadm to terminate stuck workflow instances.
- Ensure accounts running workflows have required permissions on destination lists/sites.
6. Database connectivity errors or content database issues
- Quick checks: Verify SQL Server is online; check SQL connectivity from SharePoint servers; review SQL and SharePoint event logs.
- Likely causes: SQL service down, network issues, SQL authentication failures, or database in suspect mode.
- Fixes:
- Ensure SQL services are running and that SQL Server accepts connections.
- Check SQL Server logs for database status; run DBCC CHECKDB if corruption suspected.
- Restore from backup if a content database is corrupt or in suspect mode.
- Use Central Administration → Manage Content Databases to check attachment and size limits.
7. Custom solutions or web parts causing errors
- Quick checks: Identify recent deployments; check ULS and event logs for exceptions tied to a solution or assembly.
- Likely causes: Incompatible or poorly coded solutions, missing assembly or feature dependencies, GAC conflicts.
- Fixes:
- Retract and remove recent WSPs via Central Administration or stsadm/PowerShell.
- Test in a dev environment and fix code issues; ensure assemblies are strongly named and correct trust levels set.
- Clear the SharePoint configuration cache on each server after solution changes.
8. Email (incoming/outgoing) issues
- Quick checks: Verify SMTP server settings in Central Administration; check outgoing email and incoming email settings at the web app and list level.
- Likely causes: SMTP service misconfiguration, firewall blocking, or insufficient permissions on the SMTP server.
- Fixes:
- Central Administration → System Settings → Configure outgoing e-mail settings: validate SMTP server, from and reply-to addresses.
- For incoming e-mail, ensure the SMTP drop folder and receive settings are correct and that SharePoint has rights to process the folder.
- Test using telnet or an SMTP client from the SharePoint server to the SMTP host.
9. Failing upgrades or patches
- Quick checks: Review patch logs, check disk space, ensure services are stopped when required, and confirm farm account privileges.
- Likely causes: Missing prerequisites, customizations blocking upgrade, or insufficient permissions.
- Fixes:
- Follow Microsoft’s documented update steps: put farm into maintenance, back up, run the patch installer, then run PSConfig on each server.
- Resolve any feature or solution conflicts before rerunning PSConfig.
- Review upgrade logs in 14\LOGS and the %temp% folder for errors.
10. Useful tools and logs summary
- Tools to use:
- ULS Viewer (for real-time SharePoint logs)
- Event Viewer (Windows & Application logs)
- IIS logs (C:\inetpub\logs\LogFiles)
- SQL Server Management Studio (for DB checks)
- Performance Monitor and Network Monitor
- Logs to check first: ULS logs (14 hive\LOGS), Event Viewer, IIS logs, and Search crawl logs.
Preventive best practices
- Keep a regular backup schedule and test restores.
- Patch test environments before production.
- Monitor server health (CPU, memory, disk) and set alerts.
- Limit direct edits to production; use source control for custom solutions.
- Document architecture, accounts, and configuration to speed troubleshooting.
Quick triage checklist (first 10 minutes)
- Confirm server services (IIS, Timer, Search, SQL) are running.
- Check Event Viewer and recent ULS entries for errors.
- Verify application pool identities and passwords.
- Test SQL connectivity and database status.
- Restart affected services and re-test the issue.
If you want, I can create a printable one-page checklist, PowerShell commands to automate common fixes, or step-by-step ULS log filters for a specific error message.
Leave a Reply