System.Configuration.ConfigurationErrorsException: Invalid TraceListenerData type in configuration ‘listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Database.Configuration.FormattedDatabaseTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging.Database, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"‘
将dll注册到GAC即可,方法:
gacutil.exe -i E:\Microsoft.Practices.EnterpriseLibrary.Logging.Database.dll
时间: 2024-10-18 01:06:08