Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all articles
Browse latest Browse all 8719

The type initializer for 'Microsoft.Exchange.Diagnostics.DiagnosticTraceLogging' threw an exception.

$
0
0

I am stuck in this issue for long, would really appreciate if anyone can help !!!

So I have a MVC web application which talks to Web API which calls powershell script. 

I am using Visual studio 2013 

Windows 7 64 bit OS

Exchange server 2010 SP3

Problem - 

When ever my application invokes powershell script, it does add entry in AD ( as needed) but just after that when it comes back to application it throws exception -

Exception: System.TypeInitializationException

Message: The type initializer for 'Microsoft.Exchange.Diagnostics.DiagnosticTraceLogging' threw an exception.

The same setup in in another server and works but its not working in my local IIS. I need it to work in order to debug my application, have tried many suggestions gieven by the forums but couldnt find the answer. 

Would really appreciate any suggestions !! Thanks in advance.


Viewing all articles
Browse latest Browse all 8719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>