Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Logging error

0 views
Skip to first unread message

Comay via DotNetMonster.com

unread,
Jun 25, 2009, 3:08:50 AM6/25/09
to
Hey,
I'm using the logging application block 4.1.
My application is using an external configuration file for logging.
It worked fine, until we uploaded it to the prod environment.
Our logger uses the db trace listener, unless there is a problem with the db,
in that case it writes the error to the windows event log.
Anyway, here is the error i am getting:

Logger error - System.TypeIntilizationException: The type initializer for
"Microsoft.Practices.EnterpriseLibrary.Logging.Logger" threw an exception. ---
> System.IO.FileNotFoundException: The configuration file c:\Inetpub\wwwroot\.
..Logger.config Could not be found.

Now, the logging configuration file is in the same folder as the application
config file and yet it won't find it....

Do you need the stack trace too?

Thanks for your help, i will appreciate a quick answer.
Carcom.

--
Message posted via http://www.dotnetmonster.com

0 new messages