Click here to Skip to main content
15,910,121 members
Home / Discussions / C#
   

C#

 
GeneralRe: Listbox in C# with XML Pin
Heath Stewart25-Mar-04 4:49
protectorHeath Stewart25-Mar-04 4:49 
GeneralProcess.GetProcesses(string computerName) Pin
nilhz25-Mar-04 2:16
nilhz25-Mar-04 2:16 
GeneralRe: Process.GetProcesses(string computerName) Pin
Heath Stewart25-Mar-04 4:43
protectorHeath Stewart25-Mar-04 4:43 
GeneralError message that doesn't go away Pin
profoundwhispers24-Mar-04 23:38
profoundwhispers24-Mar-04 23:38 
GeneralRe: Error message that doesn't go away Pin
Dave Kreskowiak25-Mar-04 1:15
mveDave Kreskowiak25-Mar-04 1:15 
GeneralRe: Error message that doesn't go away Pin
Heath Stewart25-Mar-04 4:38
protectorHeath Stewart25-Mar-04 4:38 
GeneralUrgent :remoting callbacks Pin
rana7424-Mar-04 22:06
rana7424-Mar-04 22:06 
GeneralRe: Urgent :remoting callbacks Pin
Heath Stewart25-Mar-04 4:21
protectorHeath Stewart25-Mar-04 4:21 
The exception states that the assembly to which the callback points cannot be found, which means that the server doesn't know how to deserialize that type since it doesn't exist in a resolvable path on the server (i.e., in the same directory as the remoting server, in the GAC, or in a number of other places that the .config file can also specify). You need to provide that client assembly to the server. Typically, though, just use a shared assembly with an interface that would have the callback method, which should do the trick since the server shouldn't care about the implementation so long as you pass the interface's implementation of the callback method declared using the interface itself.

Also, if the remoting object is registered as single call, the may not work depending on how you call it. The remoting object would be instantiated only for that single method call, so unless you invoke the callback within that call it won't work because the object would be disposed after completing the method call.

 

Microsoft MVP, Visual C#
My Articles
GeneralAsynchronous Network Transfer Pin
sibish n b24-Mar-04 22:04
sibish n b24-Mar-04 22:04 
GeneralGenerate a Diagram from a Database, algorithms, approaches, tips... Pin
Braulio Dez24-Mar-04 21:12
Braulio Dez24-Mar-04 21:12 
Generalc# forms Pin
DougW4824-Mar-04 18:56
DougW4824-Mar-04 18:56 
GeneralRe: c# forms Pin
Heath Stewart24-Mar-04 20:16
protectorHeath Stewart24-Mar-04 20:16 
GeneralRe: c# forms Pin
DougW4825-Mar-04 0:02
DougW4825-Mar-04 0:02 
GeneralRe: c# forms Pin
Heath Stewart25-Mar-04 3:56
protectorHeath Stewart25-Mar-04 3:56 
GeneralRich Text Box (Visual c#.net) Pin
naresh_pandey1324-Mar-04 18:53
naresh_pandey1324-Mar-04 18:53 
GeneralRe: Rich Text Box (Visual c#.net) Pin
OmegaSupreme25-Mar-04 5:24
OmegaSupreme25-Mar-04 5:24 
GeneralRe: Rich Text Box (Visual c#.net) Pin
naresh_pandey1326-Mar-04 1:59
naresh_pandey1326-Mar-04 1:59 
GeneralRich Text Box Pin
naresh_pandey1324-Mar-04 18:51
naresh_pandey1324-Mar-04 18:51 
GeneralSmart Build Pin
blackthunder00124-Mar-04 18:09
blackthunder00124-Mar-04 18:09 
GeneralRe: Smart Build Pin
Heath Stewart24-Mar-04 20:11
protectorHeath Stewart24-Mar-04 20:11 
GeneralRe: Smart Build Pin
blackthunder00124-Mar-04 23:42
blackthunder00124-Mar-04 23:42 
GeneralRe: Smart Build Pin
Heath Stewart25-Mar-04 4:02
protectorHeath Stewart25-Mar-04 4:02 
GeneralDataGrid Control Question Pin
DougW4824-Mar-04 16:54
DougW4824-Mar-04 16:54 
GeneralRe: DataGrid Control Question Pin
ian mariano24-Mar-04 17:28
ian mariano24-Mar-04 17:28 
GeneralRe: DataGrid Control Question Pin
Heath Stewart24-Mar-04 17:31
protectorHeath Stewart24-Mar-04 17:31 

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.