LOG4NET Could not create Appender -
i migrated application new server (windows 2008 server r2, sql server 2008 r2, poweshell) , works except error when trying log database.
log4net:error xmlhierarchyconfigurator: not create appender [adonetappender] of type [log4net.appender.adonetappender]. reported error follows. system.argumentnullexception: createconverterinstance cannot create instance, convertertype null parameter name: convertertype @ log4net.util.typeconverters.converterregistry.createconverterinstance(type convertertype) @ log4net.util.typeconverters.converterregistry.getconverterfromattribute(type destinationtype) @ log4net.util.typeconverters.converterregistry.getconvertfrom(type destinationtype) @ log4net.util.optionconverter.canconverttypeto(type sourcetype, type targettype) @ log4net.repository.hierarchy.xmlhierarchyconfigurator.createobjectfromxml(xmlelement element, type defaulttargettype, type typeconstraint) @ log4net.repository.hierarchy.xmlhierarchyconfigurator.setparameter(xmlelement element, object target) @ log4net.repository.hierarchy.xmlhierarchyconfigurator.createobjectfromxml(xmlelement element, type defaulttargettype, type typeconstraint) @ log4net.repository.hierarchy.xmlhierarchyconfigurator.setparameter(xmlelement element, object target) @ log4net.repository.hierarchy.xmlhierarchyconfigurator.parseappender(xmlelement appenderelement) log4net:error xmlhierarchyconfigurator: appender named [adonetappender] not found.
i have tried reducing buffer size 1 , have checked connection string, not seem that,
any or suggestions appreciated. have tried googling answer have not found anything.
the problem seems dll adonetappender missing in output directory of solution. make sure dll there can use in configuration.
Comments
Post a Comment