500 – Internal Server Error in SharePoint 2013

When I tried to browse a SharePoint Portal, I got the following error:

500 - Internal Server Error

500 - Internal Server Error

Cause:

This issue might occur because of

  1. The Web config file might have been modified in incorrect format.
  2. An Application Pool might have been stopped.

Solution :

*The Web config file was modified in incorrect format

  • Open IIS Manager.

Open IIS

  • Try to browse the SharePoint site.

Browse site from IIS

  • The error details should be displayed as shown below.

500 - Internal server error 1

In my case, I forget to surround the attribute value with a double quotation. (Note: Before updating the Web Config you should take a copy to allow a roll back).

  • Locate the web config file of SharePoint web application with its related port.

Web.config

  • Edit the config file with an appropriate editor.
  • Save and close.
  •  Repeat all previous steps for all Web config within the SharePoint servers.
  • Try to browse the site again that should be working correctly.

**An Application Pool was stopping.

  • I Opened IIS Manager to make sure application pools was running,
  • I found out that an application pool was stopping as shown below. (Note: To know What’s the corresponding service name for each service GUID check this article.)

Application pool List

  • I tried to start the stopped application pool that has been started then quickly stopped again!

Start App pool

This issue may occur If the password of Application Pool Identity has been changed.that unfortunately, is not automatically updated in the Application Pool and requires to be updated manually by following:

  • Again, Right Click on Application Pool > Advanced Settings.

App pool Advanced Settings

  • Below Process Model > Identity.

App pool Identity.png

  • Update the credential info.

Set Identity Account

  • Perform “iisreset” via command prompt.

iisreset

  • Navigate back to IIS to make sure that the application pool has been started successfully.

Application pool List 1

  • Try to browse the SharePoint Portal again, that should be now worked properly.

Enjoy 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s