Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

[1916] Introducing .NET Remoting

Last post 12-06-2005 1:00 PM by scotlandhoy. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 01-01-1999 12:00 AM

    [1916] Introducing .NET Remoting

    This thread is for discussions of Introducing .NET Remoting.

    • Post Points: 0
  • 01-17-2002 7:48 PM In reply to

    Typos

    I noticed some typo's when playing around with this. (Note I did not use the SQL example since I wanted a very simple example)

    change
       ResumeLoader loader = (ResumeLoader)Activator.GetObject(
           typeof(ResumeServer), "tcp://localhost:9932/ResumeLoader");

       if(rs==null)

    to
       ResumeLoader loader = (ResumeLoader)Activator.GetObject(
           typeof(ResumeLoader), "tcp://localhost:9932/ResumeLoader");

       if(loader==null)


    Note the typeof() change and the change of the test item.

    Hope that is right (I would hate to have typos in my post fixing typos)
    • Post Points: 0
  • 02-27-2002 1:47 PM In reply to

    • James Crowley
    • Top 10 Contributor
    • Joined on 12-07-2000
    • United Kingdom
    • Guru
    • Points 14,840
    • SystemAdministrator
    Thanks for pointing this out. I'll update the tutorial
    • Post Points: 0
  • 01-30-2004 12:11 PM In reply to

    • NutSoft
    • Not Ranked
    • Joined on 01-30-2004
    • New Member
    • Points 5

    Excellent

    I've been looking for a way to implement a cross application boundary component in C# .NET for most of this week. This looks like it will suit my needs perfectly. Thanks.
    • Post Points: 0
  • 05-25-2004 8:20 AM In reply to

    • priyajay
    • Not Ranked
    • Joined on 05-25-2004
    • New Member
    • Points 5

    Great Tutorial!!

    I was looking for a Remoting Sample for beginners for weeks and this was the first that made absolute sense to me. If you are a person with an average IQ like myself, and want to understand the basics of remoting implimentation, this is the tutorial for you!!

    Thanks David for making learning Remoting easy and fun!!



    • Post Points: 0
  • 08-16-2005 6:45 AM In reply to

    • JLChew
    • Not Ranked
    • Joined on 08-16-2005
    • New Member
    • Points 10

    Problem running ResumeClient

    I encountered the following error message when running the ResumeClient.exe:

    " An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll "

    at the following line of code:

    Resume resume = loader.GetResumeByUserID(1); ;

    but I was able to observe the "New Reference Added!" string on the console of the ResumeSuperServer.  

    Could I safely assume that I already have "loader" as an object of "ResumeLoader", but I failed to obtain "resume" as an object of "Resume" ?
    • Post Points: 0
  • 12-05-2005 10:17 PM In reply to


    Hey, did you ever find out what your problem was?

    I got the same error on a completely different project.

    Same M.O. ...

    ... unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll
    during the first call to the object that was returned from the "Activator.GetObject()" call.
    • Post Points: 0
  • 12-06-2005 1:00 PM In reply to


    forget that last post ...

    I found it in my code ... non-application test code I threw in on the quick ... cause the StackOverflow.
    • Post Points: 0
Page 1 of 1 (8 items)