Link to home
Start Free TrialLog in
Avatar of Wasim Shaikh
Wasim ShaikhFlag for United Arab Emirates

asked on

Exchange 2013 PowerShell "500 Internal error"

Hello Experts!,
I have installed a new CAS server into existing environment.
Exchange powershell was working fine and was connecting to local exchange server, after changing the VirtualdirectoryURLs and iisreset, its give me strange error. Not seen this before.
Along with the above changes, SSL certificate was also changed with wildcard cert *.domain.com
The Powershell virtualdirectory URL has not been changed, its default ex13-cas.domain.com

VERBOSE: Connecting to ex13-cas.domain.com.
New-PSSession : [ex13-cas.domain.com] Connecting to remote server
ex13-cas.domain.com failed with the following error message : <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>500 - Internal server error.</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana,
sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
 <div class="content-container"><fieldset>
  <h2>500 - Internal server error.</h2>
  <h3>There is a problem with the resource you are looking for, and it cannot be displayed.</h3>
 </fieldset></div>
</div>
</body>
</html>
Error occurred during the Kerberos reponse.
[Server=EX13-CAS, TimeStamp = 325/2020 16:44:15]
 For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-P
   SSession], PSRemotingTransportException

Open in new window



I can open EAC and OWA, can login with account to both.

Any help and suggestions?

Thank you.
SOLUTION
Avatar of M A
M A
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Wasim Shaikh

ASKER

Thanks for the reply Mate.
I will look at this area tomorrow morning and update.
Be safe!.
OK, Not sure what was the reason, but before making any changes to "bindings" the Powershell started working as expected.
By the way, is there any other dependencies for adding a Exchange 2013 CU23 into the environment of 2013 CU6?
-->is there any other dependencies for adding a Exchange 2013 CU23 into the environment of 2013 CU6?
Please go ahead and install CU23. There is no major changes in dependency only Exchange level changes.
Yeah, I did search around, did not find much except that it will extend the AD schema, but that's fine.
Its installed. Now time to troubleshoot some crazy environment autodiscover.

I will mark this as solved.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Appreciate if you select my comment as helpful as it really helped you.