OD16.2.26 error: Field not found: 'OpenDentBusiness.Remoting

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
mopensoft
Posts: 146
Joined: Tue Dec 04, 2012 3:33 pm
Location: Melbourne, Australia
Contact:

OD16.2.26 error: Field not found: 'OpenDentBusiness.Remoting

Post by mopensoft » Wed Jul 06, 2016 1:58 am

I just got this error
Field not found: 'OpenDentBusiness.RemotingClient.RemotingRole'.
when running the code below:

Code: Select all

if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
                {
                    return Meth.GetObject<List<Patient>>(System.Reflection.MethodBase.GetCurrentMethod(), dateFrom, dateTo);
                }
                string command = "SELECT * from patient "
                    + "WHERE PatStatus=0";

                return OpenDentBusiness.Crud.PatientCrud.SelectMany(command);
It was working with earlier version than 16.2.26. Since I'm not using RemoteRole, if I remove the if clause, it works fine but I'm wondering what went wrong here and how we support to fix it rather than remove the remote checking code?

Thanks
M

tgriswold
Posts: 122
Joined: Fri Jun 07, 2013 8:52 am

Re: OD16.2.26 error: Field not found: 'OpenDentBusiness.Remo

Post by tgriswold » Thu Jul 07, 2016 3:55 pm

Did your clean and re-adding the reference fix for your other post fix this issue too or are you still getting it?
Travis Griswold
Open Dental Software
http://www.opendental.com

User avatar
mopensoft
Posts: 146
Joined: Tue Dec 04, 2012 3:33 pm
Location: Melbourne, Australia
Contact:

Re: OD16.2.26 error: Field not found: 'OpenDentBusiness.Remo

Post by mopensoft » Mon Jul 11, 2016 6:33 am

Yes, it also fixed this error too.

Post Reply