Ich habe einen Windows Server 2008 mit Exchange Server 2010 SP3. Nun habe ich einen neuen Windows 2013 Server, auf welchem ich Exchange Server 2013 installiert habe. Hat alles soweit funktioniert. Das einzige Problem ist nur, dass ich nicht in der Lage bin, auf Exchange Management zuzugreifen. Sowohl beim öffnen der Exchange Managment Shell, als auch beim öffnen via IIS (OWA, ECP und andere Apps) kommt sofort eine Fehlermeldung. Ich habe sämtliche Artikel bezüglich Rechte abgegrast und ausprobiert, leider ohne Erfolg.
Fehlermeldung welche erscheint, wenn ich via IIS öffnen möchte:
https://server.mydomain.ch/ecp?ExchClientVer=15
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request.
Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and
location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
System.Web.HttpResponse.ApplyRedirectQueryStringIfRequired(String url) +60
System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent) +128
Microsoft.Exchange.HttpProxy.FbaModule.RedirectToFbaLogon(HttpApplication httpApplication, LogonReason reason) +1664
Microsoft.Exchange.HttpProxy.FbaModule.OnEndRequestInternal(HttpApplication httpApplication) +808
Microsoft.Exchange.HttpProxy.<>c__DisplayClasse.<OnEndRequest>b__d() +1221
Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate) +39
Microsoft.Exchange.HttpProxy.Diagnostics.SendWatsonReportOnUnhandledException(MethodDelegate methodDelegate) +407
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +79
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +164
Alles anzeigen
Bei allen Virtuellen Applikationen von Exchange kommt dieser Fehler. Öffne ich die Exchange Management Shell, dann kommt folgender Fehler:
New-PSSession : [server.mydomain.ch] Connecting to remote server server.mydomain.ch failed with the
following error message : <!DOCTYPE html>
<html>
<head>
<title>Access is denied.</title>
<meta name="viewport" content="width=device-width" />
...
...
In BEIDEN Fällen (also via Powershell oder IIS) wird folgender Event Eintrag erzeugt:
Error 7/3/2014 04:50:45 MSExchange Front End HTTP Proxy 1003 Core
Log Name: Application
Source: MSExchange Front End HTTP Proxy
Date: 7/3/2014 04:50:45
Event ID: 1003
Task Category: Core
Level: Error
Keywords: Classic
User: N/A
Computer: server.mydomain.ch
Description:
[Ecp] An internal server error occurred. The unhandled exception was: System.NullReferenceException:
Object reference not set to an instance of an object.
at System.Web.HttpResponse.ApplyRedirectQueryStringIfRequired(String url)
at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
at Microsoft.Exchange.HttpProxy.FbaModule.RedirectToFbaLogon(HttpApplication httpApplication, LogonReason reason)
at Microsoft.Exchange.HttpProxy.FbaModule.OnEndRequestInternal(HttpApplication httpApplication)
at Microsoft.Exchange.HttpProxy.ProxyModule.<>c__DisplayClasse.<OnEndRequest>b__d()
at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate,
CatchDelegate catchDelegate)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchange Front End HTTP Proxy" />
<EventID Qualifiers="49152">1003</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-07-03T08:50:45.000000000Z" />
<EventRecordID>117487</EventRecordID>
<Channel>Application</Channel>
<Computer>server.mydomain.ch</Computer>
<Security />
</System>
<EventData>
<Data>Ecp</Data>
<Data>System.NullReferenceException: Object reference not set to an instance of an object.
at System.Web.HttpResponse.ApplyRedirectQueryStringIfRequired(String url)
at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
at Microsoft.Exchange.HttpProxy.FbaModule.RedirectToFbaLogon(HttpApplication httpApplication, LogonReason reason)
at Microsoft.Exchange.HttpProxy.FbaModule.OnEndRequestInternal(HttpApplication httpApplication)
at Microsoft.Exchange.HttpProxy.ProxyModule.<>c__DisplayClasse.<OnEndRequest>b__d()
at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate,
CatchDelegate catchDelegate)</Data>
</EventData>
</Event>
Alles anzeigen
Habe schon den Exchange Server komplett deinstalliert und neu installiert, hat sich aber nichts geändert. Gleicher Fehler :-(!
Ob es sich nun effektiv um ein "Access is denied" Fehler handelt, oder ob dies ein Sideeffekt ist wegen der Null Reference ist, weiss ich leider nicht.
Ich finde im Internet keine vergleichbare Fehlermeldung mit demselben Stacktrace. Da dieser Fehler schon bei der Verbindungsaufnahme (New-PsSession) passiert, hab ich null Zugriff auf irgendwelche Exchange Powershell Funktionen.
Für einen Tip oder Rat wäre ich sehr dankbar, könnte auch Zugriff auf den Server ermöglichen, falls sich ein Guru das ganze aus der Nähe ansehen möchte.