6.9.10 System.IO.FileNotFoundException on Win Xp

For complex topics that regular users would not be interested in. For power users and database administrators.
Post Reply
dentalguru
Posts: 14
Joined: Sat Jan 23, 2010 5:13 am

6.9.10 System.IO.FileNotFoundException on Win Xp

Post by dentalguru » Sat Jan 23, 2010 10:34 am

Hi Dr Jordan,
- Using OD source 6.9.10 from tortoise svn download
- Compiled using MS Visual Studio 2008
- On Machine OS Windows XP Home
I get the following error as click the progress notes to edit procedure window
“System.IO.FileNotFoundException was unhandled
Message="The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
Source="CodeBase"
StackTrace:
at CodeBase.TopazWrapper.GetTopaz()....”
Similar to what is mentioned in threads- Re: Build Error OD 5.7 Windows Vista Business http://70.90.133.65/forum/posting.php?m ... e71#pr4692
Please consider the following-
1. I have the entire project on a pen drive and the locally compiled opendental.exe works flawless on another Windows XP Professional Machine while the error occurs Only on the windows XP Home machine only( Dell Inspiron)
2. Surprisingly the downloaded Opendental .exe (C:\Program Files\Open Dental) 6.9.3 works flawlessly on both the machines
3. Bigger surprise, I have copied pasted the locally compiled opendental.exe to (C:\Program Files\Open Dental) folder and even that does not work.
4. I have double checked for all the needed dlls , Missing dlls would have elicited errors on both the machines.
Any help would be highly appreciated , Thanking you in anticipation
DR MK Pillai

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

Re: 6.9.10 System.IO.FileNotFoundException on Win Xp

Post by jordansparks » Sat Jan 23, 2010 12:07 pm

Look at the references in the CodeBase project. Look for one that's missing/broken with a red exclamation mark. Build that project all by itself first.
Jordan Sparks, DMD
http://www.opendental.com

dentalguru
Posts: 14
Joined: Sat Jan 23, 2010 5:13 am

Re: 6.9.10 System.IO.FileNotFoundException on Win Xp

Post by dentalguru » Mon Jan 25, 2010 2:56 am

Hi Dr Jordan,
Thanks for your prompt response.
Looked at Code Base Project individually, No missing references . As per your instructions built the project individually. Generated new dlls from the same-CodeBase.dll,SigPlusNET.dll,Tao.FreeGlut.dll,Tao.OpenGl.dll,Tao.Platform.Windows.dll,CodeBase.pdb
.
Built new Opendental.exe with reference now pointing to these new dlls.-The error persists on the XP Home machine while Ran the new Opendental for a whole day on the Xp Professional Machine at the clinic.
My guess is it has something to do with-
a. how the program is interacting with the OS or the.net framework,( i had reinstalled the .net 3.5 , also then installed .net 4.1beta - status quo)
b. Or a permission issue with the temp folder ….
If it just had to do with the codebase project alone why would it run on one machine- XP Prof and not XP Home, or conversely how come the Opendental.exe compiled by you that I have downloaded and installed works flawlessly on the Xp home !!!
Thanks so much.
Dr MK Pillai

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

Re: 6.9.10 System.IO.FileNotFoundException on Win Xp

Post by jordansparks » Mon Jan 25, 2010 6:11 am

Don't know what to tell you. It's one of the joys of development. I have spent months of my life fiddling with things like you describe. I still think it's looking for a dll in one location, and you have stuck it in a different location. Copy the SigPlusNET.dll into the CodeBase debug and release folders. Or something similar to that.
Jordan Sparks, DMD
http://www.opendental.com

dentalguru
Posts: 14
Joined: Sat Jan 23, 2010 5:13 am

Re: 6.9.10 System.IO.FileNotFoundException on Win Xp

Post by dentalguru » Mon Jan 25, 2010 11:53 pm

Hurray, SOLVED,
Hi Dr Jordan,
Once again many thanks for your promptness and frank response.
- I went to the site-http://www.topazsystems.com/Software/do ... lusnet.htm
-Downloaded and installed- 'SigPlusNET for 32-bit operating systems'
and whola the error no longer appears.
weird but solves my problem
thanks again
DR MK Pillai

Post Reply