In your last message you seem to have included only the exception stack trace and missed the exception type and message.
In .net 1.1 MS made some changes and you may need to update your config files for more info see: http://www.thinktecture.com/Resources/RemotingFAQ/Changes2003.html Nicko > -----Original Message----- > From: Ping Xie [mailto:[EMAIL PROTECTED] > Sent: 07 July 2004 13:44 > To: [email protected] > Subject: Question about remotingappender > > > Hi, > > We need to log to a single file from several web services > using log4net. So we need to use remotingappender. I started > with your example (in examples\net\1.0\Remoting). I only got > the "Application [RemotingServer] Start" and "Application > [RemotingServer] End" in the log-file.txt. The logging > messages from the client were not output to the log file. > When I enable the internal debugging, I got the following > debugging messages. Could you tell me what is wrong? > > Server stack trace: > at > System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyI > nfo.GetAssembly() > at > System.Runtime.Serialization.Formatters.Binary.ObjectReader.Ge > tType(BinaryAssemblyInfo assemblyInfo, String name) > at > System.Runtime.Serialization.Formatters.Binary.BinaryConverter > .TypeFromInfo(BinaryTypeEnum binaryTypeEnum, Object > typeInformation, ObjectReader objectReader, > BinaryAssemblyInfo assemblyInfo, InternalPrimitiveTypeE& > primitiveTypeEnum, String& typeString, Type& type, Boolean& > isVariant) > at > System.Runtime.Serialization.Formatters.Binary.__BinaryParser. > ReadArray(BinaryHeaderEnum binaryHeaderEnum) > at > System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() > at > System.Runtime.Serialization.Formatters.Binary.ObjectReader.De > serialize(HeaderHandler handler, __BinaryParser serParser, > Boolean fCheck, IMethodCallMessage methodCallMessage) > at > System.Runtime.Serialization.Formatters.Binary.BinaryFormatter > .Deserialize(Stream serializationStream, HeaderHandler > handler, Boolean fCheck, IMethodCallMessage methodCallMessage) > at > System.Runtime.Serialization.Formatters.Binary.BinaryFormatter > .UnsafeDeserialize(Stream serializationStream, HeaderHandler handler) > at > System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinary > RequestMessage(String objectUri, Stream inputStream, Boolean > bStrictBinding, TypeFilterLevel securityLevel) > at > System.Runtime.Remoting.Channels.BinaryServerFormatterSink.Pro > cessMessage(IServerChannelSinkStack sinkStack, IMessage > requestMsg, ITransportHeaders requestHeaders, Stream > requestStream, IMessage& responseMsg, ITransportHeaders& > responseHeaders, Stream& responseStream) > > Exception rethrown at [0]: > at > System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage( > IMessage reqMsg, IMessage retMsg) > at > System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Messag > eData& msgData, Int32 type) > at > log4net.Appender.IRemoteLoggingSink.LogEvents(LoggingEvent[] events) > at > log4net.Appender.RemotingAppender.SendBuffer(LoggingEvent[] events) > at > log4net.Appender.BufferingAppenderSkeleton.SendBuffer(CyclicBu > ffer buffer) > at log4net.Appender.BufferingAppenderSkeleton.OnClose() > at log4net.Appender.AppenderSkeleton.Close() > at log4net.helpers.AppenderAttachedImpl.RemoveAllAppenders() > log4net: AppenderSkeleton: Finalizing appender named > [RemotingAppender]. > The program '[3236] RemotingClient.exe' has exited with code 0 (0x0). > > > > Thanks in advance. > > > Ping Xie > > CACI > 4831 Walden Lane > Lanham, MD 20706 > [EMAIL PROTECTED] > (301) 306-8200 - Main > (301) 306-2829 - Direct > >
