HighTechTalks DotNet Forums  

Problem with raising a envent over internet

Dotnet Framework (Remoting) microsoft.public.dotnet.framework.remoting


Discuss Problem with raising a envent over internet in the Dotnet Framework (Remoting) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
JLuis Estrada
 
Posts: n/a

Default Problem with raising a envent over internet - 05-16-2007 , 05:31 PM






I got my app running on the a server and in a client.

When I ran both on the same machine they work perfect, but when I separated
them (server app on a server with public IP) and my client stays in my local
machine. The event dont raise.

Here are the config file for both server and client:

Server
<configuration>
<system.runtime.remoting>
<application name="TecnotrackerServer">
<service>
<wellknown mode="Singleton"
type="ITB.Tecnotracker.Server.Broadcaster.Broadcas ter,
ITB.Tecnotracker.Server.Broadcaster"
objectUri="Broadcaster.soap"/>
</service>
<channels>
<channel ref="tcp" port="5555" clientConnectionLimit="20">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
<clientProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</clientProviders>
</channel>
</channels>
<client url="tcp://localhost:5555">
<wellknown type="ITB.Tecnotracker.Common.Communication.IBroad caster,
ITB.Tecnotracker.Common.Communication"
url="tcp://localhost:5555/Broadcaster.soap" />
</client>
<lifetime leaseTime="20D" sponsorshipTimeout="1H" renewOnCallTime="1D"
leaseManagerPollTime="1H" />
</application>
</system.runtime.remoting>
</configuration>

and this is my clients
<configuration>
<system.runtime.remoting>
<application>
<lifetime leaseTime="20D" sponsorshipTimeout="1H" renewOnCallTime="1D"
leaseManagerPollTime="1H" />
<channels>
<channel ref="tcp" port="0" clientConnectionLimit="20">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
<clientProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</clientProviders>
</channel>
</channels>
<client url="tcp://200.67.79.249:5555">
<wellknown type="ITB.Tecnotracker.Common.Communication.IBroad caster,
ITB.Tecnotracker.Common.Communication"
url="tcp://200.67.79.249:5555/Broadcaster.soap" />
</client>
</application>
</system.runtime.remoting>
</configuration>


My server havo to autosubscrive to himself to ve able to raise the event,
the client just become suscriber for the event.
What could ve happening?? Hope somebody could help me



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.