I am facing a problem in remotting in ASP.net. When i try to access a
system, which is not in the network it halts at line 3 in provided code,
where as it should raise an error at line 1
line 1: System.Runtime.Remoting.Activation.UrlAttribute URLAtt = new
System.Runtime.Remoting.Activation.UrlAttribute("tcp://" + szServerIP + ":"+
szport +"/MyApplication");
line 2: object[] act = {URLAtt};
line 3: ABCClass oABCClass = (ABCClass)
Activator.CreateInstance(typeof(ABCClass),null,act);
regards,
Sulaiman B Tanveer
Tarun Mangla - 29 Nov 2005 11:26 GMT
Hi,
YOu can access the remote server and create the instance, problem is the
ABCClass is not available through Proxy and i.e. your program halts at line
3.
>I am facing a problem in remotting in ASP.net. When i try to access a
> system, which is not in the network it halts at line 3 in provided code,
[quoted text clipped - 12 lines]
>
> Sulaiman B Tanveer