v7.8+
At the Choose Database screen, I get an exception:
The type initializer for 'System.Transactions.Diagnostics.DiagnosticsTrace' threw an exception
version 7.8 and above exception
version 7.8 and above exception
Last edited by teethdood on Thu May 05, 2011 8:26 am, edited 1 time in total.
Philip H. Doan, DDS
http://www.kaweahdental.com/
http://www.kaweahdental.com/
- jordansparks
- Site Admin
- Posts: 5770
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: 7.8.5 exception
I thought I had solved the problem and forgot all about it (switched OS to use windows 7 instead), but it still persists. The exception only happens while running compiled OD in windows server 2008. The same version/build runs fine in other computers (windows 7).
windows server 2008 R2, MySQL5.0/MySQL5.5, all builds beginning with version 7.8 on up.
Any pointers? Thanks Jordan/team.
windows server 2008 R2, MySQL5.0/MySQL5.5, all builds beginning with version 7.8 on up.
Any pointers? Thanks Jordan/team.
Philip H. Doan, DDS
http://www.kaweahdental.com/
http://www.kaweahdental.com/
- jordansparks
- Site Admin
- Posts: 5770
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: version 7.8 and above exception
Just turn off trace from your project properties page.
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com
Re: version 7.8 and above exception
For the life of me I can't find how to turn off trace. The only thing resembling trace is the checkbox "Define TRACE constant" that is found in the properties of each individual project/Build tab, which doesn't make a difference I'm afraid. Am I overlooking something here? VS2010. Thanks
Philip H. Doan, DDS
http://www.kaweahdental.com/
http://www.kaweahdental.com/
- jordansparks
- Site Admin
- Posts: 5770
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: version 7.8 and above exception
Yes, that was the trace I was talking about. Did you remove it from all projects?
We've never seen that issue. This is one of those times when you just have to figure it out on your own. Google it. Fiddle with it. That's what we do. You might look in the Debug menu, Exceptions. Under CLR Exceptions, there is a section for System.Transactions. The first column is unchecked for me, and the second column is checked.
Figure out where the exception is being thrown and alter the code. There are few, if any, places where we use trace, so it should be easy to purge the code of it.
Look in the references for each project, and make sure System.Transactions is not missing with a yellow exclamation point.
My worst such bug took a month of solid research and fiddling to finally track down the cause. Not to discourage you or anything.
We've never seen that issue. This is one of those times when you just have to figure it out on your own. Google it. Fiddle with it. That's what we do. You might look in the Debug menu, Exceptions. Under CLR Exceptions, there is a section for System.Transactions. The first column is unchecked for me, and the second column is checked.
Figure out where the exception is being thrown and alter the code. There are few, if any, places where we use trace, so it should be easy to purge the code of it.
Look in the references for each project, and make sure System.Transactions is not missing with a yellow exclamation point.
My worst such bug took a month of solid research and fiddling to finally track down the cause. Not to discourage you or anything.
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com
-
- Posts: 74
- Joined: Fri Apr 02, 2010 2:26 pm
Re: version 7.8 and above exception
I got this error on Windows 2008 R2, fixed it by installing .Net Framework 4.0, you may google for a standalone exe download of and install it whenever required.