Logging Application Block using a small problem [xgluxv]

    In the last time yesterday to say that mobile websites using the Add function, a user needs to put the original site of the log is written in a text file, but when the Web site is started, this text file will be locked, simply download down, view the log so much trouble, so they asked to log into the database. Fortunately, I log function using the MS Enterprise Library 2.0 - Logging Application Block, I would like to change to change the web.config configuration on it, but because I want to use the database should want to add what is written in the database something, immediately garden blog search around to find SHY520  of an Enterprise Library 2.0 - Logging Application Block (complementary)  articles, written really very clear, Yihuhuhuapiao, neat and quick, do a good job a. A run, the diary pop exception code if no specific record said substantially listenerDataType = "Microsoft.Practices.EnterpriseLibrary.Logging.Database.Configuration.FormattedDatabaseTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging.Database, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = null "
this problem, looked again SHY520 The following article reviews some people and I met the same problem. It should be less quoted Microsoft.Practices.EnterpriseLibrary.Logging.Database.dll this document, references to it in the log dll project of my own package, compile, run, debug websites, or wrong, strange, immediately Bin directory in the web in a look, Microsoft.Practices.EnterpriseLibrary.Logging.Database.dll not automatically copied in, strange question, hand-copy the files over, running, normal!
     Look at their own record.

Reproduced in: https: //www.cnblogs.com/dotLive/archive/2006/11/17/563632.html

Guess you like

Origin blog.csdn.net/weixin_34192816/article/details/93765095