Click here to Skip to main content
15,925,602 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionCreating a new Custom Data Processing Extension for Sharepoint (integrating SSO component) Pin
Simon Woods8-Feb-09 11:13
Simon Woods8-Feb-09 11:13 
QuestionRPC Thread Pin
skmckkie7-Feb-09 2:41
skmckkie7-Feb-09 2:41 
AnswerRe: RPC Thread Pin
N a v a n e e t h8-Feb-09 15:26
N a v a n e e t h8-Feb-09 15:26 
AnswerRe: RPC Thread Pin
«_Superman_»8-Feb-09 17:38
professional«_Superman_»8-Feb-09 17:38 
QuestionCrystal Report Indian Language Problem Pin
harsh_c6-Feb-09 22:27
professionalharsh_c6-Feb-09 22:27 
AnswerRe: Crystal Report Indian Language Problem Pin
lalit.k.bhatia15-Mar-10 3:03
lalit.k.bhatia15-Mar-10 3:03 
QuestionAuto-insert comments with interface stubs? Pin
Gregory Gadow6-Feb-09 4:17
Gregory Gadow6-Feb-09 4:17 
AnswerRe: Auto-insert comments with interface stubs? Pin
Curtis Schlak.25-Feb-09 8:36
Curtis Schlak.25-Feb-09 8:36 
GeneralFunnies with Directory.Exists using remote UNC Pin
Brady Kelly6-Feb-09 3:10
Brady Kelly6-Feb-09 3:10 
GeneralRe: Funnies with Directory.Exists using remote UNC Pin
led mike6-Feb-09 9:56
led mike6-Feb-09 9:56 
GeneralRe: Funnies with Directory.Exists using remote UNC Pin
Luc Pattyn6-Feb-09 10:14
sitebuilderLuc Pattyn6-Feb-09 10:14 
Question.Net Remoting Problem Pin
snouto6-Feb-09 2:32
snouto6-Feb-09 2:32 
Hello everybody in this forum , i would like to ask one question
i am developing a .Net remoting task , in which there is a server to publish a remote object that is registered on a definite port and a client which calls that remote object based on the remote uri of the remote object from the server .

now , in my task , when i run the server and the client , everything goes very well but i would like to run multiple client instances on the same machine .

when i do that it tells me "http channel is already registered" because in the client program i register an http channel but i would like to run multiple clients here is the code in the server.

<br />
//the server side code <br />
HttpChannel channel = new HttpChannel(6064);<br />
<br />
ChannelServices.RegisterChannel(channel);<br />
<br />
 RemotingConfiguration.RegisterWellKnownServiceType(typeof(RemotingManager), "RemotingManager.soap", WellKnownObjectMode.Singleton);<br />



and in the client side

<br />
// on the client side <br />
<br />
HttpChannel mychannel = new HttpChannel();<br />
ChannelServices.RegisterChannel(mychannel);<br />
//then i invoke the remote object based on the uri <br />
IRemotingManager mgr = (IRemotingManager)Activator.GetObjcet(typeof(IRemotingManager),"http://localhost:6064/RemotingManager.soap");<br />
......................<br />
.......................<br />


so when i run the client program it works so well and it fetches the remote object and everything goes well , but when i run multiple instances of the client program it tells me "the http channel is already registered" is there any way around that ?????

please help , i need to run multiple instances of the same client program on the same machine without having this port conflict ....


Thanks in advance.

Human knowledge belongs to the world.

QuestionRe: .Net Remoting Problem Pin
led mike6-Feb-09 4:51
led mike6-Feb-09 4:51 
AnswerRe: .Net Remoting Problem Pin
snouto6-Feb-09 10:37
snouto6-Feb-09 10:37 
GeneralRe: .Net Remoting Problem Pin
led mike6-Feb-09 10:56
led mike6-Feb-09 10:56 
GeneralRe: .Net Remoting Problem Pin
snouto6-Feb-09 11:07
snouto6-Feb-09 11:07 
GeneralRe: .Net Remoting Problem Pin
led mike6-Feb-09 11:19
led mike6-Feb-09 11:19 
GeneralRe: .Net Remoting Problem Pin
Pete O'Hanlon6-Feb-09 11:21
mvePete O'Hanlon6-Feb-09 11:21 
GeneralRe: .Net Remoting Problem Pin
snouto6-Feb-09 11:31
snouto6-Feb-09 11:31 
GeneralRe: .Net Remoting Problem Pin
led mike6-Feb-09 11:41
led mike6-Feb-09 11:41 
QuestionXML parser which uses XML schema Pin
yvek6-Feb-09 1:21
yvek6-Feb-09 1:21 
AnswerRe: XML parser which uses XML schema Pin
Curtis Schlak.25-Feb-09 8:42
Curtis Schlak.25-Feb-09 8:42 
QuestionWhat is Sync block index ? Pin
Yanshof5-Feb-09 8:12
Yanshof5-Feb-09 8:12 
AnswerRe: What is Sync block index ? Pin
harold aptroot5-Feb-09 11:01
harold aptroot5-Feb-09 11:01 
AnswerRe: What is Sync block index ? Pin
Alan N5-Feb-09 11:55
Alan N5-Feb-09 11:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.