Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 75956 invoked from network); 5 Nov 2005 10:03:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Nov 2005 10:03:22 -0000 Received: (qmail 93363 invoked by uid 500); 5 Nov 2005 10:03:21 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 93072 invoked by uid 500); 5 Nov 2005 10:03:20 -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 93061 invoked by uid 99); 5 Nov 2005 10:03:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2005 02:03:20 -0800 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=HTML_MESSAGE,INFO_TLD,MIME_BOUND_NEXTPART,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of saurabh@danicorp.com designates 63.134.207.28 as permitted sender) Received: from [63.134.207.28] (HELO gw6.webcontrolcenter.com) (63.134.207.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2005 02:03:14 -0800 Received: from mail25.webcontrolcenter.com [216.119.106.22] by gw6.webcontrolcenter.com with SMTP; Sat, 5 Nov 2005 03:00:48 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----_SmarterMail_NextPart_7432858011284358 Date: Sat, 5 Nov 2005 03:00:14 -0700 Subject: RE: TypeInitializationException was unhandled From: Saurabh Dani Reply-To: saurabh@danicorp.com To: CC: Message-ID: <91a226b495b646dd81e0cbfddc192c0a@danicorp.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_SmarterMail_NextPart_7432858011284358 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Is anyone else able to use log4net with ASP.net 2.0? I am getting same exce= ption with this sample program.=0D=0A=0D=0ASaurabh=0D=0A=0D=0A-------------= ---------------------------=0D=0A Return-Path: Mon Oct 10 21:39:31 2005=0D=0ARece= ived: from hermes.apache.org [209.237.227.199] by mail25.webcontrolcenter.c= om with SMTP;=0D=0AMon, 10 Oct 2005 21:39:31 -0700=0D=0AReceived: (qmail 23= 025 invoked by uid 500); 11 Oct 2005 04:39:29 -0000=0D=0AReceived: (qmail 2= 3014 invoked by uid 99); 11 Oct 2005 04:39:29 -0000=0D=0AReceived: from asf= .osuosl.org (HELO asf.osuosl.org) (140.211.166.49)=0D=0Aby apache.org (qpsm= tpd/0.29) with ESMTP; Mon, 10 Oct 2005 21:39:29 -0700=0D=0AReceived: from [= 66.163.178.50] (HELO web33803.mail.mud.yahoo.com) (66.163.178.50)=0D=0Aby a= pache.org (qpsmtpd/0.29) with SMTP; Mon, 10 Oct 2005 21:39:30 -0700=0D=0ARe= ceived: (qmail 17888 invoked by uid 60001); 11 Oct 2005 04:39:06 -0000=0D= =0AReceived: from [59.161.71.20] by web33803.mail.mud.yahoo.com via HTTP; M= on, 10 Oct 2005 21:39:06 PDT=0D=0AMailing-List: contact log4net-user-help@l= ogging.apache.org; run by ezmlm=0D=0APrecedence: bulk=0D=0Alist-help: =0D=0Alist-unsubscribe: =0D=0AList-Post: =0D=0AReply-To: "Log4NET User" =0D=0AList-Id: =0D=0ADelivered= -To: mailing list log4net-user@logging.apache.org=0D=0AX-ASF-Spam-Status: N= o, hits=3D1.3 required=3D10.0=0D=0Atests=3DDNS_FROM_RFC_ABUSE,INFO_TLD=0D= =0AX-Spam-Check-By: apache.org=0D=0AReceived-SPF: pass (asf.osuosl.org: loc= al policy)=0D=0ADomainKey-Signature: a=3Drsa-sha1; q=3Ddns; c=3Dnofws;=0D= =0As=3Ds1024; d=3Dyahoo.com;=0D=0Ah=3DMessage-ID:Received:Date:From:Subject= :To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding;=0D=0Ab= =3DwvcgcYfX1IUaaxPO2cAIFVTj6Bk3ZlUhKdjfT0ahHmmFwOC4rYjHdR1JZH0+BBNcVPWTo7i4= 358I+/h+X6FKoiYN/TyS/zy+q0eiSMmwOsCOuq9miQJ2r387fjCMZ6OmQP+HT89zoEibx8Si1xf= kLHTrmmVcIO0q9hA4lmqRYO8=3D ;=0D=0AMessage-ID: <20051011043906.17886.qmail@= web33803.mail.mud.yahoo.com>=0D=0ADate: Mon, 10 Oct 2005 21:39:06 -0700 (PD= T)=0D=0AFrom: depsi programmer =0D=0ASubject: R= E: TypeInitializationException was unhandled=0D=0ATo: Log4NET User =0D=0AIn-Reply-To: =0D=0AMIME-Version: 1.0=0D=0AContent-Type: t= ext/plain; charset=3Diso-8859-1=0D=0AContent-Transfer-Encoding: 8bit=0D=0AX= -Virus-Checked: Checked by ClamAV on apache.org=0D=0AX-SmarterMail-Spam: SP= F_Pass=0D=0AX-Rcpt-To: =0D=0A=0D=0AThanks =0D=0A=0D= =0AI am building a Windows Application using Microsoft=0D=0AVisual Basic 20= 05 Beta 2.=0D=0A=0D=0AIn my app.config file I have put=0D=0A=0D=0Atype=3D"l= og4net.Appender.RollingFileAppender">=0D=0A=0D=0AThe sample application cod= e in which I am trying to=0D=0Awrite log for a button click with time of cl= icking is:=0D=0A=0D=0APublic Class Form1=0D=0A'Declaration part =0D=0APriva= te Shared ReadOnly logger As log4net.ILog =3D=0D=0Alog4net.LogManager.GetLo= gger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType)=0D=0A= =0D=0APrivate Sub Form1_Load(ByVal sender As Object,=0D=0AByVal e As System= .EventArgs) Handles Me.Load=0D=0Alog4net.Config.XmlConfigurator.Configure()= =0D=0A'Initialize log4net ---> here it generates exception=0D=0AEnd Sub=0D= =0A=0D=0APrivate Sub Button1_Click(ByVal sender As=0D=0ASystem.Object, ByVa= l e As System.EventArgs) Handles=0D=0AButton1.Click=0D=0A'trying to write i= n log=0D=0Alog4net.NDC.Push("Form1.vb")=0D=0Alogger.Info("Button1 Clicked a= t :" & Now)=0D=0Alog4net.NDC.Pop()=0D=0AEnd Sub=0D=0AEnd Class=0D=0A=0D=0A-= -- Nicko Cadell wrote:=0D=0A=0D=0A> What type of application are you buildi= ng? From the=0D=0A> look of the call=0D=0A> stack it looks like some kind o= f VS add-in. If so=0D=0A> which version of VS?=0D=0A> I can't reproduce thi= s with a simple forms app so it=0D=0A> may be some=0D=0A> interaction with = the hosting process.=0D=0A> =0D=0A> Is it possible for you to post the sour= ce to a bare=0D=0A> bones version of=0D=0A> your app? Just something that i= t launched in the=0D=0A> same way, has a form=0D=0A> which is displayed, an= d calls=0D=0A> XmlConfigurator.Configure from the OnLoad=0D=0A> method. If = I can reproduce the problem it is much=0D=0A> easier to fix.=0D=0A> =0D=0A>= Cheers,=0D=0A> Nicko=0D=0A> =0D=0A> > -----Original Message-----=0D=0A> > = From: depsi programmer=0D=0A> [mailto:depsi_programmer@yahoo.com] =0D=0A> >= Sent: 04 October 2005 05:40=0D=0A> > To: Log4NET User=0D=0A> > Subject: Ty= peInitializationException was unhandled=0D=0A> > =0D=0A> > Hi=0D=0A> > =0D= =0A> > I am getting following error in log4.net=0D=0A> > =0D=0A> > The exac= t error message and stack trace:=0D=0A> > =0D=0A> > System.TypeInitializati= onException was unhandled=0D=0A> > =0D=0A> > Message=3D"The type initialize= r for=0D=0A> > 'log4net.Core.LoggerManager' threw an exception."=0D=0A> > = =0D=0A> > Source=3D"log4net"=0D=0A> > =0D=0A> > TypeName=3D"log4net.Core.Lo= ggerManager"=0D=0A> > =0D=0A> > StackTrace:=0D=0A> > =0D=0A> > at=0D=0A> > = log4net.Core.LoggerManager.GetRepository(Assembly=0D=0A> > repositoryAssemb= ly)=0D=0A> > =0D=0A> > at log4net.LogManager.GetRepository(Assembly=0D=0A> = > repositoryAssembly)=0D=0A> > =0D=0A> > at=0D=0A> log4net.Config.XmlConfig= urator.Configure()=0D=0A> > =0D=0A> > at=0D=0A> System.Windows.Forms.Form.O= nLoad(EventArgs e)=0D=0A> > =0D=0A> > at=0D=0A> System.Windows.Forms.Form.O= nCreateControl()=0D=0A> > =0D=0A> > at=0D=0A> > System.Windows.Forms.Contro= l.CreateControl(Boolean=0D=0A> > fIgnoreVisible)=0D=0A> > =0D=0A> > at=0D= =0A> System.Windows.Forms.Control.CreateControl()=0D=0A> > =0D=0A> > at=0D= =0A> > System.Windows.Forms.Control.WmShowWindow(Message&=0D=0A> m)=0D=0A> = > =0D=0A> > at=0D=0A> System.Windows.Forms.Control.WndProc(Message&=0D=0A> = > m)=0D=0A> > =0D=0A> > at=0D=0A> >=0D=0A>=0D=0ASystem.Windows.Forms.Scroll= ableControl.WndProc(Message&=0D=0A> > m)=0D=0A> > =0D=0A> > at=0D=0A> >=0D= =0A>=0D=0ASystem.Windows.Forms.ContainerControl.WndProc(Message&=0D=0A> > m= )=0D=0A> > =0D=0A> > at=0D=0A> > System.Windows.Forms.Form.WmShowWindow(Mes= sage& m)=0D=0A> > =0D=0A> > at=0D=0A> System.Windows.Forms.Form.WndProc(Mes= sage& m)=0D=0A> > =0D=0A> > at=0D=0A> >=0D=0A>=0D=0ASystem.Windows.Forms.Co= ntrol.ControlNativeWindow.OnMessage(Message&=0D=0A> > m)=0D=0A> > =0D=0A> >= at=0D=0A> >=0D=0A>=0D=0ASystem.Windows.Forms.Control.ControlNativeWindow.W= ndProc(Message&=0D=0A> > m)=0D=0A> > =0D=0A> > at=0D=0A> >=0D=0A>=0D=0ASyst= em.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr=0D=0A> > hWnd, Int3= 2 msg, IntPtr wparam, IntPtr lparam)=0D=0A> > =0D=0A> > at=0D=0A> >=0D=0A>= =0D=0ASystem.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef=0D=0A>= > hWnd, Int32 msg, Int32 wParam, Int32 lParam)=0D=0A> > =0D=0A> > at=0D=0A= > > System.Windows.Forms.Form.SetVisibleCore(Boolean=0D=0A> > value)=0D=0A>= > =0D=0A> > at=0D=0A> > System.Windows.Forms.Control.set_Visible(Boolean= =0D=0A> > value)=0D=0A> > =0D=0A> > at=0D=0A> >=0D=0A>=0D=0ASystem.Windows.= Forms.Application.ThreadContext.RunMessageLoopI=0D=0A> > nner(Int32=0D=0A> = > reason, ApplicationContext context)=0D=0A> > =0D=0A> > at=0D=0A> >=0D=0A>= =0D=0ASystem.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32= =0D=0A> > reason, ApplicationContext context)=0D=0A> > =0D=0A> > at System.= Windows.Forms.Application.Run(Form=0D=0A> > mainForm)=0D=0A> > =0D=0A> > at= =0D=0A> System.AppDomain.nExecuteAssembly(Assembly=0D=0A> > assembly, Strin= g[] args)=0D=0A> > =0D=0A> > at System.AppDomain.ExecuteAssembly(String=0D= =0A> > assemblyFile, Evidence assemblySecurity, String[]=0D=0A> > args)=0D= =0A> > =0D=0A> > at=0D=0A> >=0D=0A>=0D=0AMicrosoft.VisualStudio.HostingProc= ess.HostProc.RunUsersAssembly()=0D=0A> > =0D=0A> > at=0D=0A> >=0D=0A>=0D=0A= System.Threading.ThreadHelper.ThreadStart_Context(Object=0D=0A> > state)=0D= =0A> > =0D=0A> > at=0D=0A> >=0D=0A>=0D=0ASystem.Threading.ExecutionContext.= Run(ExecutionContext=0D=0A> > executionContext, ContextCallback callback, O= bject=0D=0A> > state)=0D=0A> > =0D=0A> > at=0D=0A> System.Threading.ThreadH= elper.ThreadStart() =0D=0A> > =0D=0A> > When I checked the inner exception = it was =0D=0A> > =0D=0A> > The inner exception is=0D=0A> > The type initial= izer for=0D=0A> 'log4net.Core.LoggerManager'=0D=0A> > threw an exception.= =0D=0A> > Stack Trace is=0D=0A> > at=0D=0A> log4net.Core.LoggerManager.GetR= epository(Assembly=0D=0A> > repositoryAssembly)=0D=0A> > at log4net.LogMana= ger.GetRepository(Assembly=0D=0A> > repositoryAssembly)=0D=0A> > at log4net= .Config.XmlConfigurator.Configure()=0D=0A> > at xyz.FrmMain.Form1_Load(Obje= ct sender,=0D=0A> EventArgs=0D=0A> > e) in xyz.vb:line 147=0D=0A> > at Syst= em.Windows.Forms.Form.OnLoad(EventArgs e)=0D=0A> > at System.Windows.Forms.= Form.OnCreateControl()=0D=0A> > at=0D=0A> > System.Windows.Forms.Control.Cr= eateControl(Boolean=0D=0A> > fIgnoreVisible)=0D=0A> > at System.Windows.For= ms.Control.CreateControl()=0D=0A> > at=0D=0A> > System.Windows.Forms.Contro= l.WmShowWindow(Message&=0D=0A> m)=0D=0A> > at System.Windows.Forms.Control.= WndProc(Message&=0D=0A> m)=0D=0A> > at=0D=0A> >=0D=0A>=0D=0ASystem.Windows.= Forms.ScrollableControl.WndProc(Message&=0D=0A> > m)=0D=0A> > at=0D=0A> >= =0D=0A>=0D=0ASystem.Windows.Forms.ContainerControl.WndProc(Message&=0D=0A> = > m)=0D=0A> > at=0D=0A> System.Windows.Forms.Form.WmShowWindow(Message&=0D= =0A> > m)=0D=0A> > at System.Windows.Forms.Form.WndProc(Message& m)=0D=0A> = > at=0D=0A> >=0D=0A>=0D=0ASystem.Windows.Forms.Control.ControlNativeWindow.= OnMessage(Message&=0D=0A> =0D=0A=3D=3D=3D message truncated =3D=3D=3D=0D=0A= =0D=0A__________________________________ =0D=0AYahoo! Music Unlimited =0D= =0AAccess over 1 million songs. Try it free.=0D=0Ahttp://music.yahoo.com/un= limited/=0D=0A=0D=0A ------_SmarterMail_NextPart_7432858011284358 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Is anyone else able to use log4net with ASP= .net 2.0? I am getting same exception with this sample program.

= Saurabh


Return-Path: <log4= net-user-return-2476-saurabh=3Ddanicorp.com@logging.apache.org> Mon Oct = 10 21:39:31 2005
Received: from hermes.apache.org [209.237.227.199] by= mail25.webcontrolcenter.com with SMTP;
Mon, 10 Oct 2005 21:39:31 -070= 0
Received: (qmail 23025 invoked by uid 500); 11 Oct 2005 04:39:29 -00= 00
Received: (qmail 23014 invoked by uid 99); 11 Oct 2005 04:39:29 -00= 00
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49= )
by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 21:39:29 -= 0700
Received: from [66.163.178.50] (HELO web33803.mail.mud.yahoo.com)= (66.163.178.50)
by apache.org (qpsmtpd/0.29) with SMTP; Mon, 10 Oct 2= 005 21:39:30 -0700
Received: (qmail 17888 invoked by uid 60001); 11 Oc= t 2005 04:39:06 -0000
Received: from [59.161.71.20] by web33803.mail.m= ud.yahoo.com via HTTP; Mon, 10 Oct 2005 21:39:06 PDT
Mailing-List: con= tact log4net-user-help@logging.apache.org; run by ezmlm
Precedence: bu= lk
list-help: <mailto:log4net-user-help@logging.apache.org>
list-unsubscribe: <mailto:log4net-user-unsubscribe@logging.apache.org&g= t;
List-Post: <mailto:log4net-user@logging.apache.org>
Repl= y-To: "Log4NET User" <log4net-user@logging.apache.org>
List-Id: = <log4net-user.logging.apache.org>
Delivered-To: mailing list log= 4net-user@logging.apache.org
X-ASF-Spam-Status: No, hits=3D1.3 require= d=3D10.0
tests=3DDNS_FROM_RFC_ABUSE,INFO_TLD
X-Spam-Check-By: apa= che.org
Received-SPF: pass (asf.osuosl.org: local policy)
DomainK= ey-Signature: a=3Drsa-sha1; q=3Ddns; c=3Dnofws;
s=3Ds1024; d=3Dyahoo.c= om;
h=3DMessage-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Vers= ion:Content-Type:Content-Transfer-Encoding;
b=3DwvcgcYfX1IUaaxPO2cAIFV= Tj6Bk3ZlUhKdjfT0ahHmmFwOC4rYjHdR1JZH0+BBNcVPWTo7i4358I+/h+X6FKoiYN/TyS/zy+q= 0eiSMmwOsCOuq9miQJ2r387fjCMZ6OmQP+HT89zoEibx8Si1xfkLHTrmmVcIO0q9hA4lmqRYO8= =3D ;
Message-ID: <20051011043906.17886.qmail@web33803.mail.mud.yah= oo.com>
Date: Mon, 10 Oct 2005 21:39:06 -0700 (PDT)
From: deps= i programmer <depsi_programmer@yahoo.com>
Subject: RE: TypeIniti= alizationException was unhandled
To: Log4NET User <log4net-user@log= ging.apache.org>
In-Reply-To: <DDEB64C8619AC64DBC074208B046611C7= 69532@kronos.neoworks.co.uk>
MIME-Version: 1.0
Content-Type: t= ext/plain; charset=3Diso-8859-1
Content-Transfer-Encoding: 8bit
X= -Virus-Checked: Checked by ClamAV on apache.org
X-SmarterMail-Spam: SP= F_Pass
X-Rcpt-To: <saurabh@danicorp.com>


Thank= s

I am building a Windows Application using Microsoft
Visu= al Basic 2005 Beta 2.

In my app.config file I have put

type=3D"log4net.Append= er.RollingFileAppender">




type=3D"log4net.Appender.Rol= lingFileAppender+MinimalLock"/>

value=3D"%date|[%thread]|%-5level|= %logger|%property{NDC}|%message%newline"/>










The sample application code in which I am trying to
write log for a button click with time of clicking is:

Public C= lass Form1
'Declaration part
Private Shared ReadOnly logger As l= og4net.ILog =3D
log4net.LogManager.GetLogger(System.Reflection.MethodB= ase.GetCurrentMethod().DeclaringType)

Private Sub Form1_Load(ByV= al sender As Object,
ByVal e As System.EventArgs) Handles Me.Load
log4net.Config.XmlConfigurator.Configure()
'Initialize log4net --->= ; here it generates exception
End Sub

Private Sub Button1_C= lick(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handl= es
Button1.Click
'trying to write in log
log4net.NDC.Push("F= orm1.vb")
logger.Info("Button1 Clicked at :" & Now)
log4net.N= DC.Pop()
End Sub
End Class


--- Nicko Cadell wrote:

> What type of application are you bui= lding? From the
> look of the call
> stack it looks like so= me kind of VS add-in. If so
> which version of VS?
> I can'= t reproduce this with a simple forms app so it
> may be some
&= gt; interaction with the hosting process.
>
> Is it possib= le for you to post the source to a bare
> bones version of
>= ; your app? Just something that it launched in the
> same way, has = a form
> which is displayed, and calls
> XmlConfigurator.Co= nfigure from the OnLoad
> method. If I can reproduce the problem it= is much
> easier to fix.
>
> Cheers,
> Ni= cko
>
> > -----Original Message-----
> > Fro= m: depsi programmer
> [mailto:depsi_programmer@yahoo.com]
>= ; > Sent: 04 October 2005 05:40
> > To: Log4NET User
>= ; > Subject: TypeInitializationException was unhandled
> > > > Hi
> >
> > I am getting following erro= r in log4.net
> >
> > The exact error message and st= ack trace:
> >
> > System.TypeInitializationExceptio= n was unhandled
> >
> > Message=3D"The type initiali= zer for
> > 'log4net.Core.LoggerManager' threw an exception."> >
> > Source=3D"log4net"
> >
> &= gt; TypeName=3D"log4net.Core.LoggerManager"
> >
> > = StackTrace:
> >
> > at
> > log4net.Core.L= oggerManager.GetRepository(Assembly
> > repositoryAssembly)
> >
> > at log4net.LogManager.GetRepository(Assembly
> > repositoryAssembly)
> >
> > at
>= log4net.Config.XmlConfigurator.Configure()
> >
> > = at
> System.Windows.Forms.Form.OnLoad(EventArgs e)
> > <= br />> > at
> System.Windows.Forms.Form.OnCreateControl()
> >
> > at
> > System.Windows.Forms.Control.= CreateControl(Boolean
> > fIgnoreVisible)
> >
&= gt; > at
> System.Windows.Forms.Control.CreateControl()
>= ; >
> > at
> > System.Windows.Forms.Control.WmSho= wWindow(Message&
> m)
> >
> > at
&g= t; System.Windows.Forms.Control.WndProc(Message&
> > m)
> >
> > at
> >
>
System.Windows.= Forms.ScrollableControl.WndProc(Message&
> > m)
> &g= t;
> > at
> >
>
System.Windows.Forms.Co= ntainerControl.WndProc(Message&
> > m)
> >
= > > at
> > System.Windows.Forms.Form.WmShowWindow(Message&= amp; m)
> >
> > at
> System.Windows.Forms.Fo= rm.WndProc(Message& m)
> >
> > at
> >=
>
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(= Message&
> > m)
> >
> > at
> = >
>
System.Windows.Forms.Control.ControlNativeWindow.WndPro= c(Message&
> > m)
> >
> > at
>= ; >
>
System.Windows.Forms.NativeWindow.DebuggableCallback(= IntPtr
> > hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
&= gt; >
> > at
> >
>
System.Windows.Fo= rms.UnsafeNativeMethods.SendMessage(HandleRef
> > hWnd, Int32 ms= g, Int32 wParam, Int32 lParam)
> >
> > at
> = > System.Windows.Forms.Form.SetVisibleCore(Boolean
> > value)=
> >
> > at
> > System.Windows.Forms.Cont= rol.set_Visible(Boolean
> > value)
> >
> >= ; at
> >
>
System.Windows.Forms.Application.ThreadC= ontext.RunMessageLoopI
> > nner(Int32
> > reason, App= licationContext context)
> >
> > at
> >>
System.Windows.Forms.Application.ThreadContext.RunMessageLoop= (Int32
> > reason, ApplicationContext context)
> > > > at System.Windows.Forms.Application.Run(Form
> > m= ainForm)
> >
> > at
> System.AppDomain.nExec= uteAssembly(Assembly
> > assembly, String[] args)
> >=
> > at System.AppDomain.ExecuteAssembly(String
> > = assemblyFile, Evidence assemblySecurity, String[]
> > args)
> >
> > at
> >
>
Microsoft.Visua= lStudio.HostingProcess.HostProc.RunUsersAssembly()
> >
>= ; > at
> >
>
System.Threading.ThreadHelper.Threa= dStart_Context(Object
> > state)
> >
> > = at
> >
>
System.Threading.ExecutionContext.Run(Exec= utionContext
> > executionContext, ContextCallback callback, Obj= ect
> > state)
> >
> > at
> Syste= m.Threading.ThreadHelper.ThreadStart()
> >
> > When= I checked the inner exception it was
> >
> > The i= nner exception is
> > The type initializer for
> 'log4ne= t.Core.LoggerManager'
> > threw an exception.
> > Sta= ck Trace is
> > at
> log4net.Core.LoggerManager.GetRepos= itory(Assembly
> > repositoryAssembly)
> > at log4net= .LogManager.GetRepository(Assembly
> > repositoryAssembly)
= > > at log4net.Config.XmlConfigurator.Configure()
> > at x= yz.FrmMain.Form1_Load(Object sender,
> EventArgs
> > e) = in xyz.vb:line 147
> > at System.Windows.Forms.Form.OnLoad(Event= Args e)
> > at System.Windows.Forms.Form.OnCreateControl()
= > > at
> > System.Windows.Forms.Control.CreateControl(Bool= ean
> > fIgnoreVisible)
> > at System.Windows.Forms.C= ontrol.CreateControl()
> > at
> > System.Windows.Form= s.Control.WmShowWindow(Message&
> m)
> > at System.W= indows.Forms.Control.WndProc(Message&
> m)
> > at> >
>
System.Windows.Forms.ScrollableControl.WndProc(= Message&
> > m)
> > at
> >
>System.Windows.Forms.ContainerControl.WndProc(Message&
> &g= t; m)
> > at
> System.Windows.Forms.Form.WmShowWindow(Me= ssage&
> > m)
> > at System.Windows.Forms.Form.Wn= dProc(Message& m)
> > at
> >
>
Syste= m.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&
>= ;
=3D=3D=3D message truncated =3D=3D=3D




= __________________________________
Yahoo! Music Unlimited
Acces= s over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/=

------_SmarterMail_NextPart_7432858011284358--