Last post Dec 25, 2012 02:03 AM by Steven Cheng - MSFT
Dec 13, 2012 11:25 AM|denkyira|LINK
I have a asp.net web site which has been configured to use Enterprise Library 5.0 for logging. Everything works fine but when I convert the web site to asp.net web application with five different projects and added the Enterprise Library 5.0 to the start
page web config file the logging doesn't work at all. Any thing I am doing wrong help please.
Dec 25, 2012 02:03 AM|Steven Cheng - MSFT|LINK
As for the "not work", is it simply not producing the log output or raising some error when the application start running? Since you convert the web site application to ASP.NET web project application, it is possible that the application block related configuration
(in web.config file) has changed somewhere. You can try comparing the web.config file (of the original web site) with the one in the new web application project to see if there is any obvious difference.
In addition, since you use logging app block to write log data to disk file, you can use process monitor tool to watch the file system to see if there is any file access related error when the new converted ASP.NET web application is running.
#Process Monitor v3.03