Bug? in 7.0.34.0

For complex topics that regular users would not be interested in. For power users and database administrators.
Post Reply
sandi
Posts: 106
Joined: Sun Jun 20, 2010 3:44 pm

Bug? in 7.0.34.0

Post by sandi » Mon Jun 21, 2010 1:45 pm

In the self compiled version i seem to have an error when clicking on recall types , otherwise there are no errors, as far as i know ive put all the dlls in the correct place. I can click the close window and click on add

It says Unhandled Exception- Missing Codenum
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ApplicationException: Missing codenum
at OpenDentBusiness.ProcedureCodes.GetStringProcCode(Int64 codeNum) in C:\Documents and Settings\Vishal\Desktop\od\opendental7.0\OpenDentBusiness\Data Interface\ProcedureCodes.cs:line 266
at OpenDental.FormRecallTypes.GetStringForType(Int64 recallTypeNum) in C:\Documents and Settings\Vishal\Desktop\od\opendental7.0\OpenDental\Forms\FormRecallTypes.cs:line 224
at OpenDental.FormRecallTypes.FillGrid() in C:\Documents and Settings\Vishal\Desktop\od\opendental7.0\OpenDental\Forms\FormRecallTypes.cs:line 183
at OpenDental.FormRecallTypes.FormRecallTypes_Load(Object sender, EventArgs e) in C:\Documents and Settings\Vishal\Desktop\od\opendental7.0\OpenDental\Forms\FormRecallTypes.cs:line 171
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
OpenDental
Assembly Version: 7.0.34.0
Win32 Version: 7.0.34.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/OpenDental.exe
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
CodeBase
Assembly Version: 6.4.0.0
Win32 Version: 6.4.0.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/CodeBase.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
OpenDentBusiness
Assembly Version: 7.0.34.0
Win32 Version: 7.0.34.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/OpenDentBusiness.DLL
----------------------------------------
SparksToothChart
Assembly Version: 4.7.1.0
Win32 Version: 4.7.1.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/SparksToothChart.DLL
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/Program%20Files/Open%20Dental/Microsoft.DirectX.Direct3D.DLL
----------------------------------------
xImageDeviceManager
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/xImageDeviceManager.DLL
----------------------------------------
SigPlusNET
Assembly Version: 1.0.2245.36238
Win32 Version:
CodeBase: file:///C:/Program%20Files/Open%20Dental/SigPlusNET.DLL
----------------------------------------
AxInterop.AcroPDFLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/AxInterop.AcroPDFLib.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
MySql.Data
Assembly Version: 1.0.9.0
Win32 Version: 1.0.9.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/MySql.Data.DLL
----------------------------------------
CDT
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/CDT.DLL
----------------------------------------
Tao.OpenGl
Assembly Version: 2.1.0.4
Win32 Version: 2.1.0.4
CodeBase: file:///C:/Program%20Files/Open%20Dental/Tao.OpenGl.DLL
----------------------------------------
Tao.Platform.Windows
Assembly Version: 1.0.0.4
Win32 Version: 1.0.0.4
CodeBase: file:///C:/Program%20Files/Open%20Dental/Tao.Platform.Windows.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


any ideas? many thanks

sandi
Posts: 106
Joined: Sun Jun 20, 2010 3:44 pm

Re: Bug? in 7.0.34.0

Post by sandi » Mon Jun 21, 2010 1:47 pm

ps ive deleted the temporary procedure codes and entered only one permanent code could this cause it?thanks

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

Re: Bug? in 7.0.34.0

Post by jordansparks » Mon Jun 21, 2010 3:54 pm

Yes, that sounds like the explanation. How did you "delete" the temp codes? In the raw database, or using our tool? I think you need to make sure the recall is set up with valid codes.
Jordan Sparks, DMD
http://www.opendental.com

sandi
Posts: 106
Joined: Sun Jun 20, 2010 3:44 pm

Re: Bug? in 7.0.34.0

Post by sandi » Tue Jun 22, 2010 12:14 am

I used your tools like in the tutorial. Im not sure i can set up the recall without reloading the program as the recall types that trigger it(with the temporary codes )are hidden behind the error, however in the freshly compiled version with no alterations to the codes this bug doesnt exist so il go back a step first, thanks.

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

Re: Bug? in 7.0.34.0

Post by jordansparks » Tue Jun 22, 2010 11:05 am

There are only a few recall types. It should be very simple to go into each one and remove invalid codes.
Jordan Sparks, DMD
http://www.opendental.com

sandi
Posts: 106
Joined: Sun Jun 20, 2010 3:44 pm

Re: Bug? in 7.0.34.0

Post by sandi » Tue Jun 22, 2010 11:59 am

thanks, il give it a try , even if i have to add back the temporary codes and then modify the recall types and then delete the codes.

sandi
Posts: 106
Joined: Sun Jun 20, 2010 3:44 pm

Re: Bug? in 7.0.34.0

Post by sandi » Sat Jun 26, 2010 12:48 am

Another very small bug, when the appointment entered into an appointment book is stretched downwards to increase time its fine, when stretched upwards parameter not valid comes up. cheers

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

Re: Bug? in 7.0.34.0

Post by jordansparks » Sat Jun 26, 2010 12:09 pm

There's something unusual about your database. That does not happen for anyone else.
Jordan Sparks, DMD
http://www.opendental.com

sandi
Posts: 106
Joined: Sun Jun 20, 2010 3:44 pm

Re: Bug? in 7.0.34.0

Post by sandi » Sun Jun 27, 2010 2:40 am

I think ive made an error in compiling as it doesnt happen on the trial of 6.9 but happens in the compiled version of 6.9 also. The error only occurs when the end appointment time is stretched upwards past the start time .Sorry :oops:
Last edited by sandi on Sun Jun 27, 2010 6:09 am, edited 1 time in total.

sandi
Posts: 106
Joined: Sun Jun 20, 2010 3:44 pm

Re: Bug? in 7.0.34.0

Post by sandi » Sun Jun 27, 2010 5:48 am

Hiya very odd here, ive tried compiling 7.0.34 and 6.9 source on 2 seperate computers (one xp home and other windows 7 pro) with c# express 2010, visual studio 2010 (with the file conversion) and the native visual studio 2008. Have selected the release,x86 and done the loader unlock and had sdk 2010 june directX installed with all compilations and all versions other than the trial display the same behavior. With 6.9 compiled I kept the identical structure as the demo with the same number of files with the compiled files replacing the demo files in c:/program files/open dental.
Am i missing something? It is very strange
This is the error displayed-
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Image.get_Flags()
at System.Windows.Forms.ControlPaint.IsImageTransparent(Image backgroundImage)
at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle, Color backColor, Point scrollOffset)
at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle)
at System.Windows.Forms.Control.OnPaintBackground(PaintEventArgs pevent)
at System.Windows.Forms.ScrollableControl.OnPaintBackground(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmEraseBkgnd(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
OpenDental
Assembly Version: 7.0.35.0
Win32 Version: 7.0.35.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/OpenDental.exe
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
CodeBase
Assembly Version: 6.4.0.0
Win32 Version: 6.4.0.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/CodeBase.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
OpenDentBusiness
Assembly Version: 7.0.35.0
Win32 Version: 7.0.35.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/OpenDentBusiness.DLL
----------------------------------------
SparksToothChart
Assembly Version: 4.7.1.0
Win32 Version: 4.7.1.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/SparksToothChart.DLL
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
----------------------------------------
xImageDeviceManager
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/xImageDeviceManager.DLL
----------------------------------------
SigPlusNET
Assembly Version: 1.0.2245.36238
Win32 Version:
CodeBase: file:///C:/Program%20Files/Open%20Dental/SigPlusNET.DLL
----------------------------------------
AxInterop.AcroPDFLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/AxInterop.AcroPDFLib.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
MySql.Data
Assembly Version: 1.0.9.0
Win32 Version: 1.0.9.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/MySql.Data.DLL
----------------------------------------
CDT
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Open%20Dental/CDT.DLL
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
Microsoft.DirectX.Direct3DX
Assembly Version: 1.0.2911.0
Win32 Version: 9.12.589.0000
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll
----------------------------------------
Microsoft.VisualC
Assembly Version: 8.0.0.0
Win32 Version: 8.00.50727.4927
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Cheers

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

Re: Bug? in 7.0.34.0

Post by jordansparks » Sun Jun 27, 2010 6:17 am

Looks like you are using dot net 2.0. You need to upgrade. That would match your description. It will run fine until it hits a feature that 2.0 doesn't support. I'm not quite sure why the trial version would behave any differently though.
Jordan Sparks, DMD
http://www.opendental.com

sandi
Posts: 106
Joined: Sun Jun 20, 2010 3:44 pm

Re: Bug? in 7.0.34.0

Post by sandi » Sun Jun 27, 2010 10:44 am

I have .Net 2 .Net3 and .Net3.5 installed aswell as .Net3.5 sp1. I have made sure that visual studio 2008 is compiling with Dot Net 3.5.

here is a picture when one resizes from the bottom and scrolls above the appointment time. it first errors, then i hit continue, then this
Image

does this error matter and could it corrupt the database
Last edited by sandi on Sun Jun 27, 2010 10:58 am, edited 1 time in total.

sandi
Posts: 106
Joined: Sun Jun 20, 2010 3:44 pm

Re: Bug? in 7.0.34.0

Post by sandi » Sun Jun 27, 2010 10:57 am

Image

when one resizes above NP-vij,vishal and hold it there for maybe 15-20seconds, sometimes only a couple of seconds, it errors.

Image


I have now compiled with 3 seperate computers with different hardware, 3 different versions of windows and tried visual studio 2008 and 2010 as well as c sharp
I have also tried compiling 6.9, 7.0 and 7.1
I am worried that if i use the software the database will get corrupted. Thanks for all your help

User avatar
drtech
Posts: 1649
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

Re: Bug? in 7.0.34.0

Post by drtech » Mon Jun 28, 2010 11:17 am

I seriously doubt it will cause any database problems...just continue...but better ask Jordan to know for sure. I have never seen that happen before and I compile my own all the time...
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com

Post Reply