Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
GeneralHTML control Pin
Anonymous2-May-05 3:39
Anonymous2-May-05 3:39 
GeneralRe: HTML control Pin
Heath Stewart2-May-05 5:16
protectorHeath Stewart2-May-05 5:16 
QuestionHow to Connect Managed and UnManaged code for Socket Programming Pin
Shashidharreddy2-May-05 3:08
Shashidharreddy2-May-05 3:08 
AnswerRe: How to Connect Managed and UnManaged code for Socket Programming Pin
S. Senthil Kumar2-May-05 3:51
S. Senthil Kumar2-May-05 3:51 
AnswerRe: How to Connect Managed and UnManaged code for Socket Programming Pin
Dave Kreskowiak2-May-05 4:03
mveDave Kreskowiak2-May-05 4:03 
General.Net Remoting problem Pin
sokettepower2-May-05 2:23
sokettepower2-May-05 2:23 
GeneralRe: .Net Remoting problem Pin
Heath Stewart2-May-05 5:36
protectorHeath Stewart2-May-05 5:36 
GeneralRe: .Net Remoting problem Pin
sokettepower2-May-05 21:37
sokettepower2-May-05 21:37 
Thks a lot for your answer;

I've try your solution. I still have a problem ...

connect :

<br />
RemotingConfiguration.Configure("file.config");<br />
m_DataMgrConnexion = (IDataManager) RemotingHelper.GetObj(typeof(IDataManager));<br />


disconnect :

<br />
ChannelServices.UnregisterChannel(ChannelServices.GetChannel("ClientChannel"));<br />


==> If I connect and disonnect Ok, but if I try to reconnect after connecting and disconnecting, I have the following error :

RemotingException : Remoting configuration failed with the exception System.Runtime.Remoting.RemotingException: Attempt to redirect activation of type 'IDataMgrRemote.IDataManager, IDataMgrRemote' which is already redirected.
at System.Runtime.Remoting.RemotingConfigInfo.AddWellKnownClientType(WellKnownClientTypeEntry entry)....


Then, I changed my disconnect method

<br />
ChannelServices.UnregisterChannel(ChannelServices.GetChannel("ClientChannel"));<br />
RemotingServices.Disconnect((IDataManager)m_DataMgrConnexion);<br />


but I've another error when I try to disconnect : Cannot call disconnect on a proxy.


Thks for u help
GeneralProperty grid tutorial Pin
Anonymous2-May-05 2:15
Anonymous2-May-05 2:15 
GeneralRe: Property grid tutorial Pin
Heath Stewart2-May-05 5:18
protectorHeath Stewart2-May-05 5:18 
GeneralJoinMulticastGroup Pin
udir2-May-05 2:06
udir2-May-05 2:06 
GeneralRe: JoinMulticastGroup Pin
leppie2-May-05 3:13
leppie2-May-05 3:13 
GeneralRe: JoinMulticastGroup Pin
udir2-May-05 3:40
udir2-May-05 3:40 
GeneralWindows Service Pin
kunalshah_19832-May-05 2:01
kunalshah_19832-May-05 2:01 
GeneralRe: Windows Service Pin
Heath Stewart2-May-05 5:30
protectorHeath Stewart2-May-05 5:30 
GeneralRe: Windows Service Pin
kunalshah_19832-May-05 18:23
kunalshah_19832-May-05 18:23 
GeneralRe: Windows Service Pin
Heath Stewart3-May-05 5:16
protectorHeath Stewart3-May-05 5:16 
GeneralCreate Folder on server Pin
Prerak Shah2-May-05 1:45
Prerak Shah2-May-05 1:45 
GeneralRe: Create Folder on server Pin
Heath Stewart2-May-05 5:21
protectorHeath Stewart2-May-05 5:21 
GeneralRe: Create Folder on server Pin
Judah Gabriel Himango2-May-05 5:22
sponsorJudah Gabriel Himango2-May-05 5:22 
GeneralSwitching User Controls with NavBar Pin
Anonymous2-May-05 1:44
Anonymous2-May-05 1:44 
GeneralRe: Switching User Controls with NavBar Pin
MoustafaS2-May-05 1:48
MoustafaS2-May-05 1:48 
GeneralRe: Switching User Controls with NavBar Pin
Anonymous2-May-05 2:20
Anonymous2-May-05 2:20 
GeneralHelp -- Tool Bar Control Pin
Umair Tariq2-May-05 0:49
Umair Tariq2-May-05 0:49 
GeneralRe: Help -- Tool Bar Control Pin
Dave Kreskowiak2-May-05 3:59
mveDave Kreskowiak2-May-05 3:59 

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.