Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Remoting / November 2005

Tip: Looking for answers? Try searching our database.

Hangging in Activator.CreateInstance

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tanveer Azam - 28 Nov 2005 16:30 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.