Jul 10, 2012 at 6:42 AM
Edited Jul 10, 2012 at 6:44 AM
I have a class library whcih is a Wrapper class for Enterprise Library Logging Application Block. There I kept an App.Config configuration file. Where all the Enterprise Library related configurations are present.
Now I refered this Class Library in a ASP.NET Web Application. Problem I am getting is: The ASP.NET Web Application is unable to read the App.Config file to fetch Configuration Information. And I am getting below Exception:
1) The wrapper contains logging and execption block both.
2) I am using Ent Lib 5.0
3) I want to make a class library and distribute it to Webservice team and Web Server Team (UI). So I do not want to provide web.config configuration along with the dll.
4) Again I dont want to write configuration programatically...
Is there any other work around? I see when I refer this DLL in the web application then in the bin I can see the App.config file but the web application is unable to read this file... It is reading the web.config file instead