I have a windows 2008 Server running with Exchange 2010 SP3. I installed a new Exchange Server on another Windows Server 2012 in the same domain (Exchange 2013 SP1). Everything went fine, except that I am not able to access Exchange Management not by Shell nor IIS (ECP / OWA etc...)
The following error shows up when I execute:
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
If I try a connection with Exchange Management Shell I get the following error:
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" /> ... ...
Whichever of both I execute, I get the following Event Log Entry:
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>
I am not sure, if it is a real Permission Problen, or if this is a consequence of the NullReference Object error.
Even uninstall/reinstall of the Exchange 2013SP1 did not resolved the problem. I tried everything I found in the internet, (Security Issues). BTW, if I start Exchange Management Shell, after the connect error above, it tries and succeed to connect to the other old 2010 Exchange server.
Any help would be really appriciated!