Hi folks, im working on an three-tier application which uses .NET Remoting to communicate with the server. On the server side i use Log4Net 1.2beta8 for logging. The server application is hosted on a IIS. Inside the server application i have some classes which are defined as Singleton (not WellKnownMode="Singleton", real Singleton object). All services called from the client are defined as WellKnownMode="SingleCall". I use the RollingFileAppender for logging.
If i place the logfile in a subdirectory below my virtual root, the Singletons are instantiated on every client call. Do i place the logfile into the virtual root, everything works well. I use a separate configuration file for Log4Net. Log4Net is initialized by a wrapper class. I have noticed, that the AppDomain changes on every client call, if i place the logfile in a subdirectory. I have written a small test program in which i could reconstruct the problem. If you like, i can send it to you. Regards Klaus Luedenscheidt -- +++ Jetzt WLAN-Router f�r alle DSL-Einsteiger und Wechsler +++ GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl
