0

In testing our app on a windows 8 x64 server, we ran into an issue that when adding an XmlWriterTraceListner to the app config file, the service is throwing a class not found exception.

Service cannot be started. System.Configuration.ConfigurationErrorsException: Couldn't find type for class System.Diagnostics.XmlWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.

It's my understanding that Windows 8 should already have .net 4.0 installed? Why is it missing this class? Any official workaround for this problem?

Ladislav Mrnka
  • 360,892
  • 59
  • 660
  • 670
savagepanda
  • 857
  • 12
  • 25
  • It seems that you need to enable tracing abilities explicitly. Here are the steps to follow : http://stackoverflow.com/a/4271597/795876 – fsenart Sep 27 '12 at 09:27
  • possible duplicate of [How to turn on WCF Tracing?](http://stackoverflow.com/questions/4271517/how-to-turn-on-wcf-tracing) – Sergey K. Sep 28 '12 at 09:36
  • resolved the issue by removing the explicit assembly version info. – savagepanda Oct 10 '12 at 21:30

1 Answers1

0

resolved the issue by removing the explicit assembly version info

savagepanda
  • 857
  • 12
  • 25