Page 1 of 1

Unable to compile 7.0

Posted: Fri Aug 06, 2010 1:17 pm
by fschiopu
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.

Re: Unable to compile 7.0

Posted: Fri Aug 06, 2010 2:25 pm
by jordansparks
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.

Re: Unable to compile 7.0

Posted: Sun Aug 08, 2010 7:27 pm
by fschiopu
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.

Re: Unable to compile 7.0

Posted: Mon Aug 09, 2010 8:51 am
by mowgli
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

Re: Unable to compile 7.0

Posted: Tue Aug 10, 2010 10:00 am
by fschiopu
I ended up reinstalling VS2008. It worked the first time afterward.