Unable to compile 7.0

This forum is for programmers who have questions about the source code.
Post Reply
fschiopu
Posts: 38
Joined: Mon Jul 23, 2007 7:02 pm

Unable to compile 7.0

Post by fschiopu » Fri Aug 06, 2010 1:17 pm

Hi,

I tried couple of times but i get the following error

Error 1 'AxAcroPDFLib.AxAcroPDF' does not contain a definition for 'OnError' and no extension method 'OnError' accepting a first argument of type 'AxAcroPDFLib.AxAcroPDF' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\Florin\Desktop\OpenDental 7.0\OpenDental\Main Modules\ContrDocs.cs 777 20 OpenDental

Any advice is appreciated.

User avatar
jordansparks
Site Admin
Posts: 5743
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Unable to compile 7.0

Post by jordansparks » Fri Aug 06, 2010 2:25 pm

Try compiling the Xcodebase project first. Then the whole solution. If that fails, look for the dll that the error message refers to. Look in the required dlls folder and copy to your debug folder if needed. Check the references in that project to make sure none are broken.
Jordan Sparks, DMD
http://www.opendental.com

fschiopu
Posts: 38
Joined: Mon Jul 23, 2007 7:02 pm

Re: Unable to compile 7.0

Post by fschiopu » Sun Aug 08, 2010 7:27 pm

Hi,

Checked everything, no errors of any kind. All the .dll are in place, and the refferences too. Tried to compile on 3 diferrent computers and i get excatly the same error.

mowgli
Posts: 134
Joined: Fri Sep 14, 2007 1:42 pm

Re: Unable to compile 7.0

Post by mowgli » Mon Aug 09, 2010 8:51 am

I always complile from source and haven't had any problem with it. The path for my AxAcroPDFLib looks like this: [SourceFolder]\OpenDental\obj\x86\Release\AxInterop.AcroPDFLib.dll and Adobe Reader is functioning.
OpenDental dependencies set: OpenDentBusiness, RdlEngine, RdlViewer, ReportDesigner, SparksToothChart, xCodeBase, xDatabaseIntegrityCheck, xODR

fschiopu
Posts: 38
Joined: Mon Jul 23, 2007 7:02 pm

Re: Unable to compile 7.0

Post by fschiopu » Tue Aug 10, 2010 10:00 am

I ended up reinstalling VS2008. It worked the first time afterward.

Post Reply