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

.NET (Core and Framework)

 
AnswerRe: For native clients to receive notifications from remoting callback interfaces... Pin
S. Senthil Kumar8-Nov-05 4:38
S. Senthil Kumar8-Nov-05 4:38 
chervu wrote:
Exception Message: "Requested service not found"
Exception Source: System.Runtime.Remoting.RemotingException

To get around this problem, I had to do the below changes to Adapter & Client modules:


That happened because in .NET Remoting, each remote object has a definite lifetime associated with it. This is to avoid leaving them hanging around forever.

Now because you overrode InitializeLifetimeServices and returned null, the remoting framework doesn't disconnect the object from the framework, in other words, the object will be accessible for the lifetime of the server. For more advanced lifetime control, have a look at the ISponsor[^] interface.

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: For native clients to receive notifications from remoting callback interfaces... Pin
chervu8-Nov-05 6:18
chervu8-Nov-05 6:18 
GeneralRe: For native clients to receive notifications from remoting callback interfaces... Pin
S. Senthil Kumar8-Nov-05 21:45
S. Senthil Kumar8-Nov-05 21:45 
QuestionRefreshing all instances of a class on a queued message Pin
jlraffin8-Nov-05 0:43
jlraffin8-Nov-05 0:43 
AnswerRe: Refreshing all instances of a class on a queued message Pin
jlraffin8-Nov-05 4:53
jlraffin8-Nov-05 4:53 
QuestionDoesn't a Process have a user? Pin
Dave Midgley8-Nov-05 0:42
Dave Midgley8-Nov-05 0:42 
AnswerRe: Doesn't a Process have a user? Pin
S. Senthil Kumar8-Nov-05 5:12
S. Senthil Kumar8-Nov-05 5:12 
GeneralRe: Doesn't a Process have a user? Pin
Dave Midgley8-Nov-05 5:30
Dave Midgley8-Nov-05 5:30 
QuestionProblem using RSAPKCS1SignatureFormatter in Framework 1.1 Pin
dhanashekar7-Nov-05 19:44
dhanashekar7-Nov-05 19:44 
QuestionWPF(Avalon) Pin
1nsp1r3d7-Nov-05 6:42
1nsp1r3d7-Nov-05 6:42 
QuestionAccessing control from another file Pin
Eran6-Nov-05 22:49
Eran6-Nov-05 22:49 
QuestionVS.NET 2005 & VS.NET 2003 - can they co-exist safely? Pin
code_wiz5-Nov-05 9:59
code_wiz5-Nov-05 9:59 
AnswerRe: VS.NET 2005 & VS.NET 2003 - can they co-exist safely? Pin
Kevin McFarlane6-Nov-05 4:32
Kevin McFarlane6-Nov-05 4:32 
QuestionImplementing developers API, a question about access control... Pin
Member 965-Nov-05 5:57
Member 965-Nov-05 5:57 
QuestionTrain free @Microsoft Pin
vikas amin4-Nov-05 22:57
vikas amin4-Nov-05 22:57 
Questionhow to get the parent data Pin
sheerprogrammer4-Nov-05 20:25
sheerprogrammer4-Nov-05 20:25 
AnswerRe: how to get the parent data Pin
S. Senthil Kumar4-Nov-05 21:49
S. Senthil Kumar4-Nov-05 21:49 
GeneralRe: how to get the parent data Pin
sheerprogrammer5-Nov-05 4:29
sheerprogrammer5-Nov-05 4:29 
AnswerRe: how to get the parent data Pin
Member 965-Nov-05 6:04
Member 965-Nov-05 6:04 
GeneralRe: how to get the parent data Pin
sheerprogrammer5-Nov-05 17:47
sheerprogrammer5-Nov-05 17:47 
Question.Net 1.1 question Pin
Stanciu Vlad4-Nov-05 11:12
Stanciu Vlad4-Nov-05 11:12 
AnswerRe: .Net 1.1 question Pin
S. Senthil Kumar4-Nov-05 21:52
S. Senthil Kumar4-Nov-05 21:52 
GeneralRe: .Net 1.1 question Pin
Stanciu Vlad5-Nov-05 6:14
Stanciu Vlad5-Nov-05 6:14 
GeneralRe: .Net 1.1 question Pin
Kevin McFarlane6-Nov-05 4:35
Kevin McFarlane6-Nov-05 4:35 
QuestionSerializing BindingList Pin
Larry R. Weinheimer4-Nov-05 8:23
Larry R. Weinheimer4-Nov-05 8:23 

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.