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 / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

Remoting timeout not working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kosmo - 19 Mar 2008 11:36 GMT
Hi,

When the remoting server is not available (it is unreachanble/ closed/
non-existent),  making a call on the remoted object takes 45 seconds, and
this timeout value cannot be changed.

MSDN says this problem is fixed by setting the channel timeout property, but
this doesn't work.  

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=892614&SiteID=1

There are workarounds, like launching the remoting request on a new thread,
but this is only a workaround. I would like to know if there is a 'real'
solution to this from Microsoft, like a working timout setting?

Thanks,
Kosmo
Peter Ritchie [C# MVP] - 19 Mar 2008 15:24 GMT
The timeout you're asking about is the timeout of .NET remoting
communications between the server and the client.  If the server is not
responding that's a timeout of DNS/TCP, which is before .NET remoting really
gets involved.

The link you provide details that someone is abstracting a ping to the
server to keep track of liveliness of that server separately, which is
basically what you'll have to do.

Signature

Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#

> Hi,
>
[quoted text clipped - 13 lines]
> Thanks,
> Kosmo

Rate this thread:







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.