Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 33684 invoked from network); 23 Aug 2005 04:35:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2005 04:35:28 -0000 Received: (qmail 99010 invoked by uid 500); 23 Aug 2005 04:35:21 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 98961 invoked by uid 500); 23 Aug 2005 04:35:21 -0000 Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET User" List-Id: Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 98881 invoked by uid 99); 23 Aug 2005 04:35:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005 21:35:21 -0700 X-ASF-Spam-Status: No, hits=3.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,FORGED_RCVD_HELO,NORMAL_HTTP_TO_IP,PRIORITY_NO_NAME X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [168.144.1.54] (HELO xrelay03.mail2web.com) (168.144.1.54) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005 21:35:38 -0700 Received: from [168.144.251.132] (helo=M2W028.mail2web.com) by xrelay03.mail2web.com with smtp (Exim 4.50) id 1E7QVJ-0003YL-I5 for log4net-user@logging.apache.org; Tue, 23 Aug 2005 00:35:18 -0400 Message-ID: <380-22005822343517678@M2W028.mail2web.com> X-Priority: 3 Reply-To: jexxi@hotpop.com X-Originating-IP: 202.158.23.179 X-URL: http://mail2web.com/ From: "jexxi@hotpop.com" To: log4net-user@logging.apache.org Date: Tue, 23 Aug 2005 00:35:17 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Please help... Log4net error when accessing 'web.config' on remote share... X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/22/05, Ron Grabowski wrote: Are you able to open the file using code like this: string remoteFile =3D @"\\192=2E168=2E11=2E111\ASPNET=5FAPP\web=2Econf= ig"; XmlTextReader xmlTextReader =3D new XmlTextReader(remoteFile); Well, I'll have to test that first=2E This search turned up some interesting results: http://www=2Egoogle=2Ecom/search=3Fq=3Dcredentials+unc+xmltextreader The first post recommends adding this line to : I think you can also do this too: = Environment=2EUserName may be helpful in determining whether or not access rights are to blame Yup, I've already try using impersonate, but still got the same error=2E =2E If there's a web server running on the parent machine, you may be able= to add a page that serves out config files: http://192=2E168=2E11=2E150/ASPNETAPP/config=2Easpx=3Ffile=3Dlog4net You could request that file and configure log4net via a stream=2E Interesting approach, I'm going to try it also=2E Thanks for your help=2E Johan -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web=2Ecom/ =2E