Config file
- From: "Jonathan Boivin" <djon@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Sep 2006 13:48:40 -0400
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.runtime.remoting>
<application>
<channels>
<channel ref="http" port="0">
<clientProviders>
<formatter ref="binary" />
</clientProviders>
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>
<client>
<wellknown
type="SharedCode.Chatter, SharedCode"
url="http://192.168.1.100:6007/Chatter.soap"
/>
</client>
</application>
</system.runtime.remoting>
<appSettings>
<add key="user" value="DB" />
<add key="echo" value="true" />
</appSettings>
</configuration>
--
Au plaisir,
Jonathan Boivin
---
Courriel : jonathanboivin@xxxxxxxxx
CyberInternautes : http://www.cints.net
Téléphone : 514-779-1129
"Jonathan Boivin" <djon@xxxxxxxxxxxxxxxxxxxx> a écrit dans le message de
news: OkZUBzM3GHA.3364@xxxxxxxxxxxxxxxxxxxxxxx
Hi people !
I used a remoting chat already built using events and a singleton object
on the server.
The events work fine, but not the method calling each time to send a
message.
When I call the send method and when it bugs (i have trace on the client &
server side), I can see my client trace but not the server trace. Let me
explain you a little bit more what is really strange.
I have two types of client (my principal and the notifier). I am currently
talking about the notifier. This notifier is a little and really simple
app which is used to send a single message to my principal clients via
other sources (like the DB). The notifier sends at first a hello message
and then, the message to forward.
The problem is happening when the message to forward is being sent. Which
means here that the hello message was sent correctly, but not the other
one. Weird hey ?
I joined a debug trace file. Here is a little explanation about it :
- When you see 'by 1' it represents a message received or sent by my
principal client.
- When you see 'by #' which # is not 1, it represents a message sent by
the notifier program.
- The trace 'Sending message by' is located on the client side, which
after this you should see a line + SomeOne said: something + a line (the
important keyword here is 'said:') (this trace is located on the server
side).
- The trace 'Receiving message by' is located on the client side.
- There is multiple trys in this debug file, there all good except one. A
try starts by 'Entered WaitForEndDB by' and ends by 'Quitting WaitForEndDB
by'.
- Search for 'Waiting 849 by 1' to get to the BUGGING part. (the number
849 is resent, but this was done manually to debug my principal client).
Here you can see the trace of sending hello on client and server side, but
we only see the sending of the number on the client side and not server.
- Search for 'Waiting 841 by 1' to get to a FUNCTIONAL part.
Thanks for looking at my problem and don't hesitate to ask other questions
if you don't understand something,
Jonathan Boivin
---
Courriel : jonathanboivin@xxxxxxxxx
CyberInternautes : http://www.cints.net
.
- References:
- Remoting working 95% of the times (Expert question)
- From: Jonathan Boivin
- Remoting working 95% of the times (Expert question)
- Prev by Date: Re: Requested Service Not Found
- Next by Date: Chatter class
- Previous by thread: Remoting working 95% of the times (Expert question)
- Next by thread: Chatter class
- Index(es):
Relevant Pages
|