MSExchangeGuru.com

Learn Exchange the Guru way !!!

 

Exchange 2013: All Tests are failing “The remote server returned an error: (500) Internal Server Error.”

Issue:

On one of the Exchange 2013 Server out of 4 Exchange 2013 servers all tests were failing.

No change after IISreset

No change after server restart

Here are the test screenshots

Test-ActiceSyncConnnectivity failed

WinRM with start failing

Test-webservicesconnectivity failed

In verbose mode I got “The remote server returned an error: (500) Internal Server Error”

Test-outlookwebservices failed

 

Open IIS à Default web site à Active Sync and browse and I got below message. HTTP Error 500.19 Internal Server Error.

 

Cause:

Misconfiguration on c:inetpubwwwrootWeb.config

 

Solution:

Fixing the web.config file.

We have to remove the below text.

———————————————————

<system.webServer>
<httpErrors>
<remove statusCode=”403″ subStatusCode=”-1″ />
<error statusCode=”403″ prefixLanguageFilePath=”%SystemDrive%inetpubcusterr” path=”403.htm> responseMode=”File” />
</httpErrors>
</system.webServer>

———————————————–

Web.config post removal of the wrong text. 

You need to verify the working server’s web.config and remove extra text which could be some mis-configuration on IIS. So basically IIS was not responding here.

Now test-webservicesconnectivity got success.

 

 

Prabhat Nigam

Microsoft MVP | Exchange Server

Team@MSExchangeGuru

2 Responses to “Exchange 2013: All Tests are failing “The remote server returned an error: (500) Internal Server Error.””

  1. Leo Poldolo Says:

    Its such as you learn my mind! You appear to understand so much approximately this, such as you wrote the guide in it.
    That is great blog. A fantastic read. I’ll certainly be back.

  2. Sachin Arora Says:

    Awesome article Prabhat. Thanks.

Leave a Reply

Categories

Archives

MSExchangeGuru.com