Followings are some possible reasons for this error:
Possible reason may be log4net is not setup or the log4net configuration file can not be read. Refer to the following page on setting up log4net.
Setup - log4net setup
This is a restriction of S2Unit.NET. Refer to the following page for details.
Restrictions
When dicon file is specified as an embedded resource ("namespace/Dicon file"), build action property in dicon file must be set to "Embedded resource" Refer to the following page for further details.
S2Container.NET - Creation of S2Container and Dicon configuration file