Support Forums

Error 500 when open…
 
Notifications
Clear all

[Solved] Error 500 when opening user detais

5 Posts
2 Users
1 Likes
944 Views
Posts: 59
Topic starter
(@ad-it-dept)
Trusted Member
Joined: 5 years ago

Good day,

there is an issue with editing user settings in CloudPanle, as soon as I get into user account configuration – error pops up:

The server encountered an unexpected condition which prevented it from fulfilling the request. Details can be found below:
The server is not operational.
 
log shows following information:
 
2021-09-27 13:05:39,653 [DEBUG] CloudPanel.Modules.UsersModule – Search value was
2021-09-27 13:05:42,876 [DEBUG] CloudPanel.Modules.UsersModule – Search value was
2021-09-27 13:05:45,731 [DEBUG] CloudPanel.Modules.CompanyModules.UsersEditModule – Retrieving mailbox plans from the database
2021-09-27 13:05:45,731 [DEBUG] CloudPanel.Modules.CompanyModules.UsersEditModule – Retrieving ActiveSync plans from the database
2021-09-27 13:05:45,731 [DEBUG] CloudPanel.Modules.CompanyModules.UsersEditModule – Retrieving accepted domains from the database
2021-09-27 13:05:45,731 [DEBUG] CloudPanel.Modules.CompanyModules.UsersEditModule – Retrieving company from the database
2021-09-27 13:05:45,731 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving the PrincipalContext…
2021-09-27 13:05:45,747 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Attempting to retrieve user user@domain
2021-09-27 13:05:45,763 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Found user.. now retrieving property values…
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property DistinguishedName
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property badPwdCount
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property userAccountControl
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property sAMAccountType
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property sAMAccountName
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property streetAddress
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property l
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property st
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property postalCode
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property co
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property c
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property company
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property physicalDeliveryOfficeName
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property department
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property description
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property givenName
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property middleName
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property sn
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property displayName
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property name
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property userPrincipalName
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property facsimileTelephoneNumber
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property telephoneNumber
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property homePhone
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property ipPhone
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property title
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property mobile
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property pager
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property postOfficeBox
2021-09-27 13:05:45,785 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property scriptPath
2021-09-27 13:05:45,800 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property profilePath
2021-09-27 13:05:45,800 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property wWWHomePage
2021-09-27 13:05:45,800 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property mail
2021-09-27 13:05:45,800 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property msExchMailboxGuid
2021-09-27 13:05:45,800 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property msExchArchiveGUID
2021-09-27 13:05:45,800 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving property whenCreated
2021-09-27 13:05:45,800 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Making sure the user is enabled
2021-09-27 13:05:45,800 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – User Enabled: True
2021-09-27 13:05:45,800 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving groups
2021-09-27 13:05:45,816 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Found group Domain Users with distinguishedname CN=Domain Users,CN=Users,DC=domain,DC=local
2021-09-27 13:06:06,845 [ERROR] CloudPanel.ActiveDirectory.ADUsers – Error retrieving user user@domain. Exception: System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.

at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
at System.DirectoryServices.AccountManagement.ADDNLinkedAttrSet.GetNextSearchResult()
at System.DirectoryServices.AccountManagement.ADDNLinkedAttrSet.MoveNextMemberSearcher()
at System.DirectoryServices.AccountManagement.ADDNLinkedAttrSet.MoveNext()
at System.DirectoryServices.AccountManagement.FindResultEnumerator`1.MoveNext()
at CloudPanel.ActiveDirectory.ADUsers.GetUser(String username)
2021-09-27 13:06:06,845 [ERROR] CloudPanel.Modules.CompanyModules.UsersEditModule – Error getting user user@domain: System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.

at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
at System.DirectoryServices.AccountManagement.ADDNLinkedAttrSet.GetNextSearchResult()
at System.DirectoryServices.AccountManagement.ADDNLinkedAttrSet.MoveNextMemberSearcher()
at System.DirectoryServices.AccountManagement.ADDNLinkedAttrSet.MoveNext()
at System.DirectoryServices.AccountManagement.FindResultEnumerator`1.MoveNext()
at CloudPanel.ActiveDirectory.ADUsers.GetUser(String username)
at CloudPanel.Modules.CompanyModules.UsersEditModule.<>c__DisplayClass1_0.<.ctor>b__0(Object _)

4 Replies
Posts: 1563
Admin
(@jdixon)
Noble Member
Joined: 9 years ago

The error it is returning is actually an error message your domain controller gave:

System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational

I would check your domain controller logs and/or try pointing CP to another domain controller for testing purposes. It sounds like either the configuration is wrong in CloudPanel (which I doubt because you have been running for a while) or some reason your DC is rejecting the requests. Possibly try restarting that domain controller.

Reply
3 Replies
(@ad-it-dept)
Joined: 5 years ago

Trusted Member
Posts: 59

@jdixon Thank you,

this helped, but then there is another issue with Permissions tab in CP. It does not show mailbox permissions and throw error:

Error

Cannot read security descriptor from database
 
Log file showing following information:
 
2021-09-29 09:35:52,739 [DEBUG] CloudPanel.Modules.CompanyModules.UsersEditModule – Getting mailbox out of office for user@domain.com from Exchange
2021-09-29 09:35:56,334 [DEBUG] CloudPanel.Modules.CompanyModules.UsersEditModule – Getting mailbox permissions user@domain.com from Exchange
2021-09-29 09:36:00,165 [ERROR] CloudPanel.Modules.CompanyModules.UsersEditModule – Error getting mailbox permissions user@domain.com: System.Management.Automation.RemoteException: Cannot read security descriptor from database ‘DataBase’.
at CloudPanel.Exchange.Exch2010.Get_FullAccessPermissions(String identity)
at CloudPanel.Modules.CompanyModules.UsersEditModule.<>c__DisplayClass1_0.<.ctor>b__8(Object _)
Reply
Admin
(@jdixon)
Joined: 9 years ago

Noble Member
Posts: 1563

@ad-it-dept you would need to check the event logs on the exchange servers. Do you happen to have different versions of Exchange or in the middle of a migration? If so, point CloudPanel at the latest version Exchange server in the settings

Reply
(@ad-it-dept)
Joined: 5 years ago

Trusted Member
Posts: 59

@jdixon Thank you, we’ve found failing Domain Controller, that was misbehaving.

Pointing CP to another DC in admin console solved all problems.

Reply
Share: