log can't be created by enterprise library logging dll in release enviroment

Topics: Logging Application Block
Jun 15, 2012 at 3:35 PM

 I have a silverlight application ( SL 4) and using Enterprise Library 5.0 for Logging and Exception Handling to the log , I use flat file logging;

It's (Logging) working well on my machine and I have admin right on my machine;

But when I deployed to web sever (IIS7),  the application runs well, but it doesn't create log file anymore, neither goes to window's application

event log;

Any idea that can help me to fix it?  I just need the log file to be created.




Jun 30, 2012 at 6:26 AM

As I mentioned here, check permissions.  If you are using Remote Logging Service with Silverlight you should verify that the service is being called (e.g. IIS logs, firewall/network monitoring software).  Depending on the domain names you may need a client access policy.  Also see Debugging Services for Silverlight Applications.

Randy Levy
Enterprise Library support engineer