Ruald
unread,Jun 18, 2008, 3:24:22 AM6/18/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gallio-dev
I was running the Icarus GUI Test Runner with a Test assembly. That
assembly has some app.config behind and a 'Config' directory with
configs likes Log4net, NHibernate, etc. This works perfect and there
was no problems.
When I close the program and start it again, Gallio will reload the
last assembly. I know it's a option to disable reloading at startup.
When I execute the test, I get some initialisation errors with finding
the config contexts. When I remove the assembly form the GUI en add
it again, it work perfect again.
The error I receive is:
Initialize
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. --->
System.TypeInitializationException: The type initializer for
'Spring.Dao.Support.DaoSupport' threw an exception. --->
Common.Logging.ConfigurationException: Unable to create instance of
type Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter. Possible
explanation is lack of zero arg and single arg NameValueCollection
constructors ---> System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. --->
Common.Logging.ConfigurationException: log4net configuration file 'C:
\Program Files\Gallio\bin/Config/Log4Net.config' does not exists at
Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter..ctor(NameValueCollection
properties) --- End of inner exception stack trace --- at