Hi Everyone,
I have a massive problem:
I cannot log into our on premise exchange 2013 sp1 server administrative center, because I get an error 500 Unexpected Error :(
Therefore I cannot manage the mailboxes etc
(OWA works IE https://mail.example.com.au/owa)
The OS is windows 2012 R2
I tried IISRESET, nothing.
When I try to use the management shell I get:
----------------------------------------------------------------------
VERBOSE: Connecting to rf-ex01.example.com.au.New-PSSession : [rf-ex01.example.com.au] Processing data from remote server rf-ex01.example.com.au failed
with the following error message: [ClientAccessServer=RF-EX01,BackEndServer=rf-ex01.example.com.au,RequestId=4895
218a-45a1-4e04-8aca-44c05a8ed590,TimeStamp=17/05/2019 1:04:16 PM]
[FailureCategory=AuthZ-SetupVersionInformationCorruptException] Unable to determine the installed file version from
the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine'. 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-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : IncorrectProtocolVersion,PSSessionOpenFailed
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.:
----------------------------------------------------------------------
I also tried:
https://social.technet.microsoft.com/wiki/contents/articles/34020.exchange-2013-troubleshooting-error-500-when-login-ecp-and-owa.aspx
http://www.blog.edbtopst.org/ecp-and-owa-login-fails-with-error-500-in-exchange-2013.html
https://exchangequery.com/2015/05/13/exchange2013-unable-to-access-ecp-encounter-500-unexpected-error/
Also tried:
Remove-Ecpvirtualdirectory –Identity “CAS\Autodiscover (xxxxx)”
New-Ecpvirtualdirectory –Identity “CAS\Autodiscover (xxxxx)”
But I get this in response to the above:
Remove-Ecpvirtualdirectory : The term 'Remove-Ecpvirtualdirectory' is not recognized
New-Ecpvirtualdirectory : The term 'New-Ecpvirtualdirectory' is not recognized
The event viewer reports this application error:
---------------------------------------------------------------
(Process 16600, PID w3wp.exe)"RemotePS Public API Func GetApplicationPrivateData throws Exception Microsoft.Exchange.Diagnostics.SetupVersionInformationCorruptException: Unable to determine the installed file version from the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine'.
at Microsoft.Exchange.Diagnostics.ExchangeSetupContext.get_PSHostPath()
at Microsoft.Exchange.Configuration.Authorization.InitialSessionStateBuilder.InitializeWellKnownSnapinsIfNeeded(ExchangeRunspaceConfigurationSettings settings, Boolean isPowerShellWebServiceSession)
at Microsoft.Exchange.Configuration.Authorization.InitialSessionStateBuilder.Build(List`1 allCmdlets, List`1 allScripts, ExchangeRunspaceConfiguration runspaceConfig)
at Microsoft.Exchange.Configuration.Authorization.ExchangeRunspaceConfiguration.CreateInitialSessionState()
at Microsoft.Exchange.Configuration.Authorization.ExchangeAuthorizationPlugin.GetInitialSessionStateCore(PSSenderInfo senderInfo)
at Microsoft.Exchange.Configuration.Authorization.ExchangeAuthorizationPlugin.<>c__DisplayClass13.<GetApplicationPrivateData>b__12()
at Microsoft.Exchange.Configuration.Authorization.AuthZLogHelper.HandleExceptionAndRetry[T](String methodName, Func`1 func, Boolean throwException, T defaultReturnValue)
at Microsoft.Exchange.Configuration.Authorization.AuthZLogHelper.<>c__DisplayClassc`1.<ExecuteWSManPluginAPI>b__8()
at Microsoft.Exchange.Diagnostics.CmdletInfra.Diagnostics.ExecuteAndLog[T](String funcName, Boolean missionCritical, LatencyTracker latencyTracker, ExEventLog eventLog, EventTuple eventTuple, Trace tracer, IsExceptionInteresting isExceptionInteresting,
Action`1 onError, T defaultReturnValue, Func`1 func). fails with Exception %4 ."
---------------------------------------------------------------
The digital certificate is valid.
The server has been running fine for years and out of the blue today, it started to behave like the above.
Maybe a windows update caused this?
I do not know how to fix this, please help.
Thanks and regards
Alfred56