Activation error occured while trying to get instance of type LogWriter

后端 未结 7 2171
你的背包
你的背包 2020-12-17 14:47

I am trying to using the Logging Application block of Enterprise Library 5.0 to log simple message to the Windows event log on Win XP SP3 system using:

Logge         


        
7条回答
  •  孤城傲影
    2020-12-17 14:52

    I realized that I was trying to use Config file from within a DLL which does not work. I should be using FileConfigurationSource instead.

    If I use the same App.Config from an application, it worked fine.

提交回复
热议问题