Baran711
asked on
Exchange 2013 ECP .Net error
Hi I just installed exchange 2013 on a domain controller in a test environment. OWA works, but if I try to access https://servername/ecp I get the following error:
Server Error in '/ecp' Application.
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
NegotiateSecurityContext failed with LogonDenied
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.Web.HttpException: NegotiateSecurityContext failed with LogonDenied
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:
[HttpException (0x80004005): NegotiateSecurityContext failed with LogonDenied]
Microsoft.Exchange.HttpPro xy.ProxyRe questHandl er.EndProc essRequest (IAsyncRes ult result) +604
System.Web.CallHandlerExec utionStep. OnAsyncHan dlerComple tion(IAsyn cResult ar) +210
the following is logged in the eventlog:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 12/27/2012 11:27:39 PM
Event time (UTC): 12/28/2012 4:27:39 AM
Event ID: a77ad86febc042a78a5f903b83 aa0642
Event sequence: 176
Event occurrence: 14
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/ecp-5-130 0114125682 54657
Trust level: Full
Application Virtual Path: /ecp
Application Path: C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpPr oxy\ecp\
Machine name: ALPHA2
Process information:
Process ID: 17860
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: HttpException
Exception message: NegotiateSecurityContext failed with LogonDenied
at Microsoft.Exchange.HttpPro xy.ProxyRe questHandl er.EndProc essRequest (IAsyncRes ult result)
at System.Web.HttpApplication .CallHandl erExecutio nStep.OnAs yncHandler Completion (IAsyncRes ult ar)
Request information:
Request URL: https://alpha2:443/ecp/
Request path: /ecp/
User host address: fe80::e103:3fb3:bff:d233C: \Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpPr oxy\ecp\
User: CRYPTZ\SM_235cdaff9cfb4207 a
Is authenticated: True
Authentication Type: Basic
Thread account name: NT AUTHORITY\SYSTEM
Thread information:
Thread ID: 58
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at Microsoft.Exchange.HttpPro xy.ProxyRe questHandl er.EndProc essRequest (IAsyncRes ult result)
at System.Web.HttpApplication .CallHandl erExecutio nStep.OnAs yncHandler Completion (IAsyncRes ult ar)
Custom event details:
I am unable to find anything about:NegotiateSecurityCon text
any help woud be appreciated.
Server Error in '/ecp' Application.
--------------------------
NegotiateSecurityContext failed with LogonDenied
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.Web.HttpException: NegotiateSecurityContext failed with LogonDenied
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:
[HttpException (0x80004005): NegotiateSecurityContext failed with LogonDenied]
Microsoft.Exchange.HttpPro
System.Web.CallHandlerExec
the following is logged in the eventlog:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 12/27/2012 11:27:39 PM
Event time (UTC): 12/28/2012 4:27:39 AM
Event ID: a77ad86febc042a78a5f903b83
Event sequence: 176
Event occurrence: 14
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/ecp-5-130
Trust level: Full
Application Virtual Path: /ecp
Application Path: C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpPr
Machine name: ALPHA2
Process information:
Process ID: 17860
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: HttpException
Exception message: NegotiateSecurityContext failed with LogonDenied
at Microsoft.Exchange.HttpPro
at System.Web.HttpApplication
Request information:
Request URL: https://alpha2:443/ecp/
Request path: /ecp/
User host address: fe80::e103:3fb3:bff:d233C:
User: CRYPTZ\SM_235cdaff9cfb4207
Is authenticated: True
Authentication Type: Basic
Thread account name: NT AUTHORITY\SYSTEM
Thread information:
Thread ID: 58
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at Microsoft.Exchange.HttpPro
at System.Web.HttpApplication
Custom event details:
I am unable to find anything about:NegotiateSecurityCon
any help woud be appreciated.
ASKER
yagyashree,
i verified i already have windows identity foundation 3.5 installed. also the error in the link you provided is not the same error i am receiving
i verified i already have windows identity foundation 3.5 installed. also the error in the link you provided is not the same error i am receiving
ASKER
I just wanted to add the following. if I try to directly access the back end ecp directory I get the error below. I have another test server in a different domain and I can access the back end ecp directly. maybe this error + the error above for the front end ecp directory will help us narrow this down:
Current user: 'Administrator'
Request for URL 'https://alpha2.cryptz.com:444/ecp/default.aspx' failed with the following error:
System.NotSupportedExcepti on: GetSecurityIdentifier does not support Microsoft.Exchange.Managem ent.Contro lPanel.Sta ndardSessi on
at Microsoft.Exchange.Securit y.Authenti cation.IId entityExte nsions.Get SecurityId entifier(I Identity identity)
at Microsoft.Exchange.Managem ent.Contro lPanel.Ecp Identity.. ctor(IIden tity logonUserIdentity, String cacheKeySuffix)
at Microsoft.Exchange.Managem ent.Contro lPanel.Rba cSettings. .ctor(Http Context context)
at Microsoft.Exchange.Managem ent.Contro lPanel.Aut henticatio nSettings. .ctor(Http Context context)
at Microsoft.Exchange.Managem ent.Contro lPanel.Rba cModule.Ap plication_ PostAuthen ticateRequ est(Object sender, EventArgs e)
at System.Web.HttpApplication .SyncEvent ExecutionS tep.System .Web.HttpA pplication .IExecutio nStep.Exec ute()
at System.Web.HttpApplication .ExecuteSt ep(IExecut ionStep step, Boolean& completedSynchronously)
at Microsoft.Exchange.Securit y.Authenti cation.IId entityExte nsions.Get SecurityId entifier(I Identity identity)
at Microsoft.Exchange.Managem ent.Contro lPanel.Ecp Identity.. ctor(IIden tity logonUserIdentity, String cacheKeySuffix)
at Microsoft.Exchange.Managem ent.Contro lPanel.Rba cSettings. .ctor(Http Context context)
at Microsoft.Exchange.Managem ent.Contro lPanel.Aut henticatio nSettings. .ctor(Http Context context)
at Microsoft.Exchange.Managem ent.Contro lPanel.Rba cModule.Ap plication_ PostAuthen ticateRequ est(Object sender, EventArgs e)
at System.Web.HttpApplication .SyncEvent ExecutionS tep.System .Web.HttpA pplication .IExecutio nStep.Exec ute()
at System.Web.HttpApplication .ExecuteSt ep(IExecut ionStep step, Boolean& completedSynchronously)
Current user: 'Administrator'
Request for URL 'https://alpha2.cryptz.com:444/ecp/default.aspx' failed with the following error:
System.NotSupportedExcepti
at Microsoft.Exchange.Securit
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at System.Web.HttpApplication
at System.Web.HttpApplication
at Microsoft.Exchange.Securit
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at System.Web.HttpApplication
at System.Web.HttpApplication
Did you manage to get an answer for your query?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I was able to determine the cause of the problem
What did you do to resolve it?
I get the below error whenever i try to log into my mail ecp. It is exchange 2016
NegotiateSecurityContext failed with for host 'mail.betabis.com' with status 'LogonDenied'
This is solved by installing “Windows Identity Foundation 3.5” on Windows Server 2012.
This can be found in Windows Features installation or easy install with Powershell: “Install-WindowsFeature”.
Please refer below post:
http://gjohansson.com/blog/2012/07/31/server-error-in-ecp-application-exchange-2013/