Getting Exception while adding App.Config

Posted by Nismeh under .NET Framework on 10/2/2013 | Points: 10 | Views : 2745 | Status : [Member] | Replies : 2
The type initializer for 'System.Transactions.Diagnostics.DiagnosticTrace' threw an exception.

I am getting above exception while I am adding App.Config file in my Window Service. Can any one suggest how can I resolve this?

IT KNOWLEDGE IS APPLIED KNOWLEDGE
So Just Do It



Responses

Posted by: Bandi on: 10/2/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
http://www.daniweb.com/software-development/vbnet/threads/85047/how-to-overcome-this-exception

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Nismeh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 10/3/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Refer
http://stackoverflow.com/questions/12537303/system-transactions-diagnostics-diagnostictrace-throwing-typeinitializationexcep

http://forums.asp.net/p/1787566/4911464.aspx?Re+batch+run+error

http://social.msdn.microsoft.com/Forums/en-US/6aca67b4-291f-43bf-b6f7-e210d3b7ffd9/need-help-on-exception-the-type-initializer-for-systemtransactionsdiagnosticsdiagnostictrace

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Nismeh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response