Object not found error
I am trying to edit an email account I imported, but I receive the following error when I open the email tab.
The operation couldn’t be performed because object ‘email@example.com’ couldn’t be found on ‘adc.domainname.com’. Domain name changed for security
This is an imported account mailbox that has been used for years, so I do not think there is an issue with the mailbox or the login ID. The only thing I can think is the ampersand ‘&’ is in someway preventing CP from locating the matching record in the AD controller.
As I said this account has been in use for more than seven years, so I know Exchange and the Active Directory do not have an issue with the ampersand.
Is there a workaround to allow us to use this account?
Do you see anything in the log files? Does the message contain the “f&b” or did you add that?
Log files are located: C:\program files (x86)\know more it\cloudpanel\logs
The f&b is the actual address, just the domain name is changed.
2021-06-21 10:59:59,626 [ERROR] CloudPanel.Modules.CompanyModules.UsersEditModule – Error retreiving photo: System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at CloudPanel.Modules.CompanyModules.UsersEditModule.<>c__DisplayClass1_0.<.ctor>b__34(Object _)
2021-06-21 11:00:03,064 [DEBUG] CloudPanel.Modules.CompanyModules.UsersEditModule – Getting mailbox firstname.lastname@example.org from Exchange
2021-06-21 11:00:05,310 [ERROR] CloudPanel.Modules.CompanyModules.UsersEditModule – Error getting mailbox email@example.com: System.Management.Automation.RemoteException: The operation couldn’t be performed because object ‘firstname.lastname@example.org’ couldn’t be found on ‘adc.domainname.com’.
at CloudPanel.Exchange.Exch2013.Get_Mailbox(String identity)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at CloudPanel.Modules.CompanyModules.UsersEditModule.<>c__DisplayClass1_0.<.ctor>b__5(Object _)
I notice in the error it mentions Exch2013, but ours is an Exchange 2019 server. Don’t know if that is important or that is just your class name?
I also notice your software seems to be substituting & in place of the ampersand. I guess this is preventing it from finding the record in the domain controller.
Did you manage to recreate this?