Hi @Sudhir Singare ,
Good days, thanks for querying in this forum. We’re happy to help you.
Based on the error message you're experiencing when trying to access the URL on the front-end web server, it sounds like the web server might not be correctly configured to handle the requests or it might not have the proper services running. Here’s a series of steps you can follow to troubleshoot and resolve the issue:
1. Verify Alternate Access Mappings (AAM)
- Log in to SharePoint Central Administration.
- Navigate to Central Administration -> System Settings -> Configure alternate access mappings.
- Check if the URLs you are using are correctly mapped under the expected zones (Default, Intranet, Internet, etc.). - If not, edit the mappings to ensure both
https://appserver001
andhttps://webserver001
are properly mapped.
2. Check Service Application Associations
- Log in to SharePoint Central Administration.
- Navigate to Central Administration -> Application Management -> Manage web applications.
- Select the web application you are targeting (e.g., SharePoint - 80).
- In the Ribbon, click on Service Connections.
- Ensure that the necessary service applications (like Search Service Application) are selected for your web application.
3. Verify Web Configurations
- Open the
web.config
file located in the\inetpub\wwwroot\wss\VirtualDirectories\[your web app port]
on both the app server and the web server. - Compare the
web.config
files to ensure they are identical. - Look for any missing entries or discrepancies between the configurations, especially custom configurations or additional modules.
4. Ensure Services are Running on Web Server
- Log in to SharePoint Central Administration.
- Navigate to Manage services on server under System Settings.
- Ensure the front-end web server role is selected for the server.
- Verify that essential services like Microsoft SharePoint Foundation Web Application are started.
- Repeat this check on both the app server and web server.
5. Review IIS Bindings and Site Settings
- Open Internet Information Services (IIS) Manager on the web server.
- Expand Sites and click on your SharePoint site.
- In the right pane, click on Bindings.
- Ensure that the correct bindings (http/https) are present and correct, matching those on the app server.
- Also, check the Advanced Settings of the site to ensure there are no conflicts.
- Make sure the site is started and running properly.
6. Ensure Hosts File Entries
- Open the
hosts
file on both servers located atC:\Windows\System32\drivers\etc\hosts
. - Verify that the file contains correct entries for both servers:
[app server IP] appserver001 [web server IP] webserver001
- Add missing entries if necessary and save the file, using administrative privileges.
7. Review ULS Logs
- Navigate to
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
(the path might differ slightly depending on your SharePoint version). - Open the latest log files using a ULS viewer or a text editor.
- Look for entries around the time when the error occurs, focusing on Critical and Unexpected entries.
- Identify specific error messages or stack traces that might provide more information.
8. IIS Reset and Cache Clearing
IIS Reset
- Open Command Prompt with administrative privileges.
- Execute the command:
iisreset
Clear SharePoint Configuration Cache
- Stop the SharePoint Timer Service (SPTimerV4) from the Services console.
- Navigate to
C:\ProgramData\Microsoft\SharePoint\Config\
and find the folder with a GUID name. - Back up the folder just in case.
- Delete all XML files inside the GUID-named folder, but do not delete the folder itself or the
cache.ini
file. - Edit the
cache.ini
file and set its value to1
. - Start the SharePoint Timer Service again.
9. Check Load Balancer Configuration
- Verify that the load balancer has the correct URL mappings and health checks configured.
- Ensure that requests are correctly routing to the web server URL.
- Check if sticky sessions (session persistence) are correctly configured if required for your application.
- Test if direct access to
https://webserver001
works without going through the load balancer to isolate the issue.
Hope these information helps.
Please do let us know if you have any further queries.
Kindly consider accepting the answer if the information provided is helpful. This can assist other community members in resolving similar issues.