Page 1 of 1

diagnosticTrace Exception error at "chose database" screen

Posted: Mon Jan 24, 2011 10:08 pm
by alhalwachi
Hi everyone

I sudenly started to get the following error on the "chose database" screen

The type initializer 'system.transactions.diagnostics.diagnosticTrace' threw an exception

Everything was working fine, any ideas why?

Please help

Re: diagnosticTrace Exception error at "chose database" screen

Posted: Tue Jan 25, 2011 8:26 am
by jordansparks
I have never seen that before. I'm going to totally guess here that it might have something to do with you having the TRACE constant turned on in project properties, debug tab. Or something like that.

Re: diagnosticTrace Exception error at "chose database" screen

Posted: Sun Jan 30, 2011 10:28 am
by alhalwachi
Thanks for the reply. I'm using Visual Studio 2010, tried locating this option but didn't find it, any ideas?

Re: diagnosticTrace Exception error at "chose database" screen

Posted: Mon Jan 31, 2011 5:26 pm
by jordansparks
Right click on the project, properties.

Re: diagnosticTrace Exception error at "chose database" screen

Posted: Sun Aug 21, 2011 1:39 pm
by alhalwachi
For this, try installing the .Net framework version 4.0 and re-start OD

Re: diagnosticTrace Exception error at "chose database" screen

Posted: Sun Aug 21, 2011 5:21 pm
by jordansparks
But .Net installs as part of the installation of VS 2010. I don't think that's the answer.