Compile error: FormPatientPortalSetup.cs

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:

Compile error: FormPatientPortalSetup.cs

Post by mopensoft » Tue May 26, 2015 11:24 pm

I'm trying to compile 14.3.40 and have issue with many type matching errors. It looks like there's a same types under both OpenDental.Mobile and OpenDental.MobileWeb such as Prefm, Patientm, etc. A number of functions (see SynchGeneric) try to pass arguments of types under Mobile where same types under MobileWeb are expected.

I'm not sure what I'm missing but have to commend out all those code to compile the source code.

Is there any otherway around?

Thanks

User avatar
jsalmon
Posts: 1555
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Compile error: FormPatientPortalSetup.cs

Post by jsalmon » Wed May 27, 2015 7:05 am

It doesn't ring a bell for me. Could you include the text from the Error List within VS or send a screenshot of it?
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com


User avatar
jsalmon
Posts: 1555
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Compile error: FormPatientPortalSetup.cs

Post by jsalmon » Thu May 28, 2015 9:48 am

Interesting. I haven't seen that error before. It's almost as if the web reference is outdated and expecting different parameters than it should be. You could set MobileWeb as your startup project, run it, and then update the OpenDental project's 'MobileWeb' web reference (right click on it > Update Web Reference). This should ensure that the mb.Synch... web methods are up to date.
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

Post Reply