-
#3
Большое спасибо за ваш предыдущий пост!)
Подтверждаю решение. Аналогичная проблема была на Exchange 2010. У пользователя в Безопастности УЗ была куча неизвестных учёток. После включения наследования их не стало и ActiveSync заработал у пользователя.
- Remove From My Forums
-
Question
-
Hi,
We have exchange 2016 CU8 installed and everything is working fine. Only activesync have problem connecting mobile device. ERCA test got error of HTTP 500 response was returned from Unknown..
Event viewer show error of following:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 6/14/2018 1:42:53 PM
Event time (UTC): 6/14/2018 5:42:53 AM
Event ID: 905f0f5907234fa8a881a6a5bc08482c
Event sequence: 1
Event occurrence: 1
Event detail code: 0Application information:
Application domain: /LM/W3SVC/2/ROOT/Microsoft-Server-ActiveSync-3192-131734285732465371
Trust level: Full
Application Virtual Path: /Microsoft-Server-ActiveSync
Application Path: C:Program FilesMicrosoftExchange ServerV15ClientAccesssync
Machine name: NICB-EXCH16Process information:
Process ID: 3712
Process name: w3wp.exe
Account name: IIS APPPOOLDefaultAppPoolException information:
Exception type: ConfigurationErrorsException
Exception message: Could not load file or assembly ‘Microsoft.Exchange.Security, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified. (C:Program FilesMicrosoftExchange
ServerV15ClientAccesssyncweb.config line 252)
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
at System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()
at System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded)
at System.Web.Compilation.BuildManager.ExecutePreAppStart()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)Could not load file or assembly ‘Microsoft.Exchange.Security, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)Request information:
Request URL: https://localhost:444/Microsoft-Server-ActiveSync/exhealth.check
Request path: /Microsoft-Server-ActiveSync/exhealth.check
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOLDefaultAppPoolThread information:
Thread ID: 31
Thread account name: IIS APPPOOLDefaultAppPool
Is impersonating: False
Stack trace: at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
at System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()
at System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded)
at System.Web.Compilation.BuildManager.ExecutePreAppStart()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)Please advise.
Проблема —
Попытка выполнения команды FolderSync во время сеанса Exchange ActiveSync.
Не удалось выполнить тест команды FolderSync.
Служба Exchange ActiveSync возвратила ответ «HTTP 500″ (внутренняя ошибка сервера).
Exchange ActiveSync Returned an HTTP 500 Error
Решение —
- Open Active Directory Users and Computers.
- On the menu at the top of the console, click View > Advanced Features.
- Locate and right-click the mailbox account in the console, and then click Properties.
- Click the Security tab.
- Click Advanced.
- Make sure that the check box for «Include inheritable permissions from this object’s parent» is selected.
(Всего просмотров: 1 319, просмотров сегодня: 1)
- Remove From My Forums
-
Question
-
Hi,
We have exchange 2016 CU8 installed and everything is working fine. Only activesync have problem connecting mobile device. ERCA test got error of HTTP 500 response was returned from Unknown..
Event viewer show error of following:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 6/14/2018 1:42:53 PM
Event time (UTC): 6/14/2018 5:42:53 AM
Event ID: 905f0f5907234fa8a881a6a5bc08482c
Event sequence: 1
Event occurrence: 1
Event detail code: 0Application information:
Application domain: /LM/W3SVC/2/ROOT/Microsoft-Server-ActiveSync-3192-131734285732465371
Trust level: Full
Application Virtual Path: /Microsoft-Server-ActiveSync
Application Path: C:Program FilesMicrosoftExchange ServerV15ClientAccesssync
Machine name: NICB-EXCH16Process information:
Process ID: 3712
Process name: w3wp.exe
Account name: IIS APPPOOLDefaultAppPoolException information:
Exception type: ConfigurationErrorsException
Exception message: Could not load file or assembly ‘Microsoft.Exchange.Security, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified. (C:Program FilesMicrosoftExchange
ServerV15ClientAccesssyncweb.config line 252)
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
at System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()
at System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded)
at System.Web.Compilation.BuildManager.ExecutePreAppStart()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)Could not load file or assembly ‘Microsoft.Exchange.Security, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)Request information:
Request URL: https://localhost:444/Microsoft-Server-ActiveSync/exhealth.check
Request path: /Microsoft-Server-ActiveSync/exhealth.check
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOLDefaultAppPoolThread information:
Thread ID: 31
Thread account name: IIS APPPOOLDefaultAppPool
Is impersonating: False
Stack trace: at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
at System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()
at System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded)
at System.Web.Compilation.BuildManager.ExecutePreAppStart()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)Please advise.
Today, a customer told me that one of users cannot success to sync emails at his phone, I tried to use Microsoft Remote Connectivity Analyzer to test Exchange ActiveSync Connectivity, it has no issues with Exchange ActiveSync Autodiscover but not Exchange ActiveSync, it failed to attempt the FolderSync command on the Exchange ActiveSync session and error message is “Exchange ActiveSync returned an HTTP 500 response (Internal Server Error).”.
I figured out the issues after troubleshooting, the user is a member of domain admins, Exchange server group does not have the appropriate permission to his mailbox object in Active Directory. It’s easy to fix issues as follow:
- Login to the domain controller server.
-
On the Server Manager page, select Tools and click Active Directory Users and Computers.
-
On the Active Directory Users and Computers page, select View and click Advance Feature.
-
Right-click the mailbox account and select Properties.
-
On the user Properties page, select Security.
-
On the Security page, click Advanced.
-
On Advanced Security Settings for the user page, click Enable inheritance and then click OK
-
On the Permissions Warning page, click Yes.
-
On the user Properties page, click Ok.
- Go back to Microsoft Connectivity Analyzer toll and everything should be fine now, also his phone start to sync his email.
But I would recommend that you do not use a member of domain admins for e-mail purposes. You should have two Active Directory user accounts. These Active Directory accounts include one user account that is added to a domain admin and one user account that is used for e-mail purposes.
Hope you enjoy this post.
Cary Sun
Twitter: @SifuSun