That makes it even more likely a permissions issue. Are you running the application under impersonation?
_____ From: John M. Muirhead [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 12:46 PM To: Log4NET User; [EMAIL PROTECTED] Subject: RE: Problem on Windows 2003 Server I modified the permissions for the network service even giving it full permissions and it still does not create the log files. The solution works fine on my local machine runnig XP IIS 5.0, but it does not work on the production server Win2k3 IIS 6.0 and this is using the log4net version 1.2.10.0 -----Original Message----- From: Dean Fiala [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 8:44 PM To: [email protected] Subject: RE: Problem on Windows 2003 Server *********************** No virus was detected in the attachment no filename No virus was detected in the attachment no filename ***********-*********** Usually with the files appenders it is a permissions problem. Make sure you have the permissions on the directory set for the NETWORK SERVICE user to Modify. This will allow it create/delete and write to the log file. _____ Return-Path: <[EMAIL PROTECTED]> Tue Jul 10 13:22:17 2007 Received: from hermes.apache.org [140.211.11.2] by mail.celadonlabs.com with SMTP; Tue, 10 Jul 2007 13:22:17 -0700 Received: (qmail 9945 invoked by uid 500); 10 Jul 2007 20:21:57 -0000 Received: (qmail 9932 invoked by uid 99); 10 Jul 2007 20:21:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2007 13:21:57 -0700 Received: from [200.1.109.174] (HELO exchange.trinsys.com) (200.1.109.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2007 13:21:54 -0700 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk list-help: <mailto:[EMAIL PROTECTED]> list-unsubscribe: <mailto:[EMAIL PROTECTED]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7C32F.8B43D032" Subject: RE: Problem on Windows 2003 Server X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Tue, 10 Jul 2007 16:18:57 -0400 Message-ID: <[EMAIL PROTECTED]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem on Windows 2003 Server Thread-Index: AcfC/82WAYw9e5UeQPqyqSJ8tpUadwAKvgZwAAEfHbA= From: "John M. Muirhead" <[EMAIL PROTECTED]> To: "Log4NET User" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-SmarterMail-Spam: SPF_Pass X-Rcpt-To: <[EMAIL PROTECTED]> *********************** No virus was detected in the attachment no filename No virus was detected in the attachment no filename ***********-*********** It is not creating the log file. When I check the, the enable flag it is false, even though I have the setting at ALL. -----Original Message----- From: Dean Fiala [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 3:45 PM To: 'Log4NET User' Subject: RE: Problem on Windows 2003 Server Can you be more specific? What is not working? _____ From: John M. Muirhead [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 11:35 AM To: [email protected] Subject: Problem on Windows 2003 Server Hi, I am having problems getting log4net to work on IIS on windows 2003 server, it works fine on IIS on my XP, but not on my windows 2003 server. Regards, John Muirhead Software Architect TSL Jamaica Ltd. Office (876) 9688988 Cellular (876) 3721549
