Click here to Skip to main content
15,912,400 members
Home / Discussions / C#
   

C#

 
QuestionHow to update dataset Pin
papa198023-Nov-05 0:43
papa198023-Nov-05 0:43 
AnswerRe: How to update dataset Pin
sameerhanda23-Nov-05 4:11
sameerhanda23-Nov-05 4:11 
GeneralRe: How to update dataset Pin
papa198023-Nov-05 6:21
papa198023-Nov-05 6:21 
Questionasp host in home Pin
papa198023-Nov-05 0:37
papa198023-Nov-05 0:37 
AnswerRe: asp host in home Pin
Dave Kreskowiak23-Nov-05 4:14
mveDave Kreskowiak23-Nov-05 4:14 
GeneralRe: asp host in home Pin
papa198023-Nov-05 6:17
papa198023-Nov-05 6:17 
GeneralRe: asp host in home Pin
Dave Kreskowiak23-Nov-05 11:21
mveDave Kreskowiak23-Nov-05 11:21 
Question.NET 1.1 Strage remoting problem Pin
Bob Stanneveld23-Nov-05 0:09
Bob Stanneveld23-Nov-05 0:09 
Hello,

I've created a class that can be used with the remoting framework. I've tested several methods and properties and all works well, except for one method. I don't know why, but I can see in the log file that the call for the property is made successfull. The other functioncall is made (I see it in the log file), but is never received by the server. The receive message entry doesn't appear in the log file.

Here is the class definition:
// The client side
internal interface IChannelEnd //: System.Runtime.Serialization.ISerializable
{
    /*
        Description:
	    Called by the start of the channel when data is send.
    */
        void ReceiveData(object oData /* The data that is send. */);
 
    /*
        Description:
            A unique identifier of this end of the channel.
    */
    string ID
    {
        get;	
    }
 
    event OnReceiveDataDelegate EvReceiveData;
}


Both log files:
Server side: The property
Message start> Server Sync:
__Uri = /ChannelEnd
__MethodName = get_ID
__MethodSignature =
__TypeName = SerializationLayer.IChannelEnd, Serialization,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
__Args = System.Object[]
__CallContext = System.Runtime.Remoting.Messaging.LogicalCallContext
Message finish> Server Sync:
__Uri = /ChannelEnd
__MethodName = get_ID
__MethodSignature = System.Type[]
__TypeName = SerializationLayer.IChannelEnd, Serialization, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
__Return = 145.85.150.44:10005
__OutArgs = System.Object[]
__CallContext = System.Runtime.Remoting.Messaging.LogicalCallContext

// Server side: The method call
Message start> Server Sync:
__Uri = /ChannelEnd
__MethodName = ReceiveData
__MethodSignature =
__TypeName = SerializationLayer.IChannelEnd, Serialization,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
__Args = System.Object[]
__CallContext = System.Runtime.Remoting.Messaging.LogicalCallContext
Message finish> Server Sync:
__Uri = /ChannelEnd
__MethodName = ReceiveData
__MethodSignature = System.Type[]
__TypeName = SerializationLayer.IChannelEnd, Serialization,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
__Return = System.Void
__OutArgs = System.Object[]
__CallContext = System.Runtime.Remoting.Messaging.LogicalCallContext

The client side: Property
Message start> Server Sync:
__Uri = /ChannelEnd
__MethodName = get_ID
__MethodSignature =
__TypeName = SerializationLayer.IChannelEnd, Serialization,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
__Args = System.Object[]
__CallContext = System.Runtime.Remoting.Messaging.LogicalCallContext
Message finish> Server Sync:
__Uri = /ChannelEnd
__MethodName = get_ID
__MethodSignature = System.Type[]
__TypeName = SerializationLayer.IChannelEnd, Serialization,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
__Return = 145.85.150.44:10005
__OutArgs = System.Object[]

There is no entry for the method ReceiveData...?

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
AnswerRe: .NET 1.1 Strange remoting problem [Solved!] Pin
Bob Stanneveld23-Nov-05 1:30
Bob Stanneveld23-Nov-05 1:30 
GeneralRe: .NET 1.1 Strange remoting problem [Solved!] Pin
leppie23-Nov-05 1:37
leppie23-Nov-05 1:37 
GeneralRe: .NET 1.1 Strange remoting problem [Solved!] Pin
Bob Stanneveld23-Nov-05 6:27
Bob Stanneveld23-Nov-05 6:27 
QuestionClass Definition Pin
adafaaa22-Nov-05 23:47
adafaaa22-Nov-05 23:47 
AnswerRe: Class Definition Pin
J4amieC23-Nov-05 0:52
J4amieC23-Nov-05 0:52 
AnswerRe: Class Definition Pin
Curtis Schlak.23-Nov-05 9:35
Curtis Schlak.23-Nov-05 9:35 
QuestionHow to access IE's menu bar Pin
tatchung22-Nov-05 23:02
tatchung22-Nov-05 23:02 
QuestionHow to rundomize in ASP.NET C# Pin
RookieProgrammer22-Nov-05 22:17
RookieProgrammer22-Nov-05 22:17 
AnswerRe: How to rundomize in ASP.NET C# Pin
Giles23-Nov-05 9:04
Giles23-Nov-05 9:04 
GeneralHow do i do that? Pin
RookieProgrammer23-Nov-05 21:54
RookieProgrammer23-Nov-05 21:54 
GeneralRe: How do i do that? Pin
tatchung24-Nov-05 14:54
tatchung24-Nov-05 14:54 
Questionselect the date Pin
momoo22-Nov-05 21:20
momoo22-Nov-05 21:20 
AnswerRe: select the date Pin
Stanciu Vlad22-Nov-05 21:49
Stanciu Vlad22-Nov-05 21:49 
QuestionProblem with Paint Pin
naglbitur22-Nov-05 21:12
naglbitur22-Nov-05 21:12 
AnswerRe: Problem with Paint Pin
Stanciu Vlad22-Nov-05 21:30
Stanciu Vlad22-Nov-05 21:30 
QuestionConfig file using MS EnterpriseLib Pin
SheenSylesh22-Nov-05 18:50
SheenSylesh22-Nov-05 18:50 
QuestionWhat is STA mode Pin
kourvoisier22-Nov-05 17:53
kourvoisier22-Nov-05 17:53 

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.