Support Forums

Object not found er…
 
Notifications
Clear all

Object not found error

6 Posts
2 Users
0 Likes
744 Views
Posts: 0
Topic starter
(@Anonymous)
Joined: 1 second ago

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 ‘f&b.java@domainname.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?

 

Topic Tags
5 Replies
Posts: 1559
Admin
(@jdixon)
Noble Member
Joined: 9 years ago

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

Reply
Posts: 0
Topic starter
(@Anonymous)
Joined: 1 second ago

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 f&amp;b.java@domainname.com from Exchange
2021-06-21 11:00:05,310 [ERROR] CloudPanel.Modules.CompanyModules.UsersEditModule – Error getting mailbox f&amp;b.java@domainname.com: System.Management.Automation.RemoteException: The operation couldn’t be performed because object ‘f&amp;b.java@domainname.com’ 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 &amp; in place of the ampersand.  I guess this is preventing it from finding the record in the domain controller.

 

 

 

Reply
1 Reply
Admin
(@jdixon)
Joined: 9 years ago

Noble Member
Posts: 1559

@marklft 2013 is just a class name since a lot of the powershell cmdlets didn’t change. It should be substituting the & in the URL. We will try to recreate this issue.

Reply
Posts: 0
Topic starter
(@Anonymous)
Joined: 1 second ago

Did you manage to recreate this?  

Reply
1 Reply
Admin
(@jdixon)
Joined: 9 years ago

Noble Member
Posts: 1559

@marklft my coworker was working on this and I will have to check with him in the morning. I don’t recall if he had success in recreating it but if it is the & then we should be able to do it easily. I am curious once we get the new version working for you if it is still an issue

Reply
Share: