Hi,
I've been developing an application for transfer files between server and client. The remotable object is hosted in IIS on server. The client uses a Windows application for transferring files.
The client requires callbacks from server during transfers. This is required for displaying progress bar showing the amount of bytes being transferred. I've used the following configuration files for Server and Client and it works fine on my own compute. But when I add the Server portion on a different computer accessible through Internet, it gives me an error "Could not connect to the remote machine because the target machine actively refused it".
Client side
<
system.runtime.remoting><application>
<channels>
<channel ref="http" port="0">
<clientProviders>
<formatter ref="binary" typeFilterLevel="Full" />
</clientProviders>
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
Server side
<
system.runtime.remoting><application>
<channels>
<channel ref="http">
<clientProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</clientProviders>
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
</channel>
</channels>
<service>
<wellknown mode="SingleCall" type="GoBAK.Business.FileManager, GoBAK.Business.RemotingServer" objectUri="GoBAK.Business.RemotingServer.FileManager.rem"/>
</
service></application>
</system.runtime.remoting>
I think the problem is with configuration files. I've heard that client should register a seperate channel for receiving callbacks. Can you verify if configuration files are developed properly

Client requires callbacks
weathers2284