Page 1 of 1
version 7.8 and above exception
Posted: Fri Mar 11, 2011 3:26 pm
by teethdood
v7.8+
At the Choose Database screen, I get an exception:
The type initializer for 'System.Transactions.Diagnostics.DiagnosticsTrace' threw an exception
Re: 7.8.5 exception
Posted: Fri Mar 11, 2011 5:11 pm
by jordansparks
Did you compile?
Re: 7.8.5 exception
Posted: Wed May 04, 2011 8:52 pm
by teethdood
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.
Re: version 7.8 and above exception
Posted: Wed May 11, 2011 4:13 am
by jordansparks
Just turn off trace from your project properties page.
Re: version 7.8 and above exception
Posted: Thu May 19, 2011 6:37 pm
by teethdood
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
Re: version 7.8 and above exception
Posted: Sat May 21, 2011 4:56 am
by jordansparks
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.
Re: version 7.8 and above exception
Posted: Sun Aug 21, 2011 1:36 pm
by alhalwachi
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.