CapableObjects forum



.Net remoting

Posted By pedro_brown 2008-07-26 06:45:50
Add to Favorites0
Author Message
Scott Price
 Posted 2008-09-04 15:57:01
Supreme Being

Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)

Group: Forum Members
Last Active: 2012-01-27 19:06:44
Posts: 189, Visits: 777
To be honest Pedro, I'm not sure what else to suggest at the moment.

I don't use Delphi.net for my Eco development, so I'm not likely to be a huge amount of help if investigating that side of it.

Are there firewalls/IPSec settings that are shared by the development machine and deployed server? Is there some common software installed on each that is intercepting/url rewriting occuring elsewhere in the process?

It looks like it's complaining in your case that it is unable to connect to the server, so I would go through the steps in between the communication, and ensure that there is nothing else in the way.

I'll have a little think about what might be in the way, or interfering, but I'm not experienced in that much of normal .net remoting, so I may not be much help at that point on.

Sorry I haven't been much help at present.
Scott Price
 Posted 2008-09-04 19:59:32
Supreme Being

Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)Supreme Being - (1 194 reputation)

Group: Forum Members
Last Active: 2012-01-27 19:06:44
Posts: 189, Visits: 777
Hi Pedro,


You know, I am coming back to an old comment I said. I don't actually think you need the call to RegisterTcpServer(). This was something that was included in the templates for Win32 or service based applications to be able to register a remoting channel.

If I recall correctly, Jonas always used to point out to me that actually if it is hosted in an IIS web application, it could be commented out and then you should use the web.config to register a remoting service.

You actually use both mechanisms, and I'm beginning to wonder if this is the problem.

Sadly I don't have Delphi to compile the code with, so I would recommend you comment out RegisterTcpServer, see what errors you get, and try to check if the web.config is correct. Then try to get it running locally with only the web.config controlling the remoting configuration.

Kind regards, Scott Smile
pedro_brown
 Posted 2008-09-06 22:42:04
Supreme Being

Supreme Being - (726 reputation)Supreme Being - (726 reputation)Supreme Being - (726 reputation)Supreme Being - (726 reputation)Supreme Being - (726 reputation)Supreme Being - (726 reputation)Supreme Being - (726 reputation)Supreme Being - (726 reputation)Supreme Being - (726 reputation)

Group: Forum Members
Last Active: 2009-12-21 20:09:25
Posts: 111, Visits: 839
726
Hi everyone,

I'm pleased to announce that I managed to get my .Net remoting app working!

This is the article that helped me: http://www.glacialcomponents.com/ArticleDetails/CAOMN.aspx

The article describes my problem and the solution. Gladly for me, the simple way worked.

...
<channels>
<channel ref="http" machineName="www.tectrilha.com.br">
<serverProviders>
...

In my opinion, this kind of information must be included in the RemotingPersistence.pdf tutorial.

I also wanna say that I really appreciate all the help that I received, especially from Jonas and Scott.

Sorry if I disturbed any of you, and thanks again.


--
Pedro Brown
pedro@tectrilha.com.br
Tectrilha Software - Borland Learning Partner
Jonas Hogstrom
 Posted 2008-09-08 15:01:36
Supreme Being

Supreme Being - (7 956 reputation)Supreme Being - (7 956 reputation)Supreme Being - (7 956 reputation)Supreme Being - (7 956 reputation)Supreme Being - (7 956 reputation)Supreme Being - (7 956 reputation)Supreme Being - (7 956 reputation)Supreme Being - (7 956 reputation)Supreme Being - (7 956 reputation)

Group: Administrators
Last Active: 2010-11-30 13:17:13
Posts: 1 230, Visits: 1 382
Hi Pedro.

I'm glad that you found the solution, and that you shared the knowledge with us. The article you referred to was very easy to understand. I have updated the templates for Eco5 with commented out code that shows how to make the required change, and also updated the readme for each project type. All texts include a reference to the article in your post.

Thanks again for letting us know, and good luck now that you are up and running!


/Jonas Hogstrom [CapableObjects]
smashed2bitz
 Posted 2008-09-23 06:25:45
Supreme Being

Supreme Being - (146 reputation)Supreme Being - (146 reputation)Supreme Being - (146 reputation)Supreme Being - (146 reputation)Supreme Being - (146 reputation)Supreme Being - (146 reputation)Supreme Being - (146 reputation)Supreme Being - (146 reputation)Supreme Being - (146 reputation)

Group: Forum Members
Last Active: 2011-07-07 00:38:03
Posts: 22, Visits: 74
146
pedro_brown (2008-09-06)
Hi everyone,

I'm pleased to announce that I managed to get my .Net remoting app working!

This is the article that helped me: http://www.glacialcomponents.com/ArticleDetails/CAOMN.aspx

Sorry if I disturbed any of you, and thanks again.

Hi Pedro,  I'm glad you got your app working!

I played with ECO .NET remoting before and only spent a morning, but didn't have much luck.  Your pains, I'm sure, will be a great reference for when I work on my next ECO project where .NET Remoting is a good approach.

I haven't been on this site in almost a month, and right away from when I saw your original post, I got the sense it was either your Host blocking remoting (but you're still on port 80 so that was ruled out), or DNS issues.  Errors you saw were "unable to find" kinds of messages, likely fails out almost immediately.  I saw a similar problem when troubleshooting my Microsoft CRM 4.0 deployment...  The settings int he database would store the name of the host eg. "SERVER01" and not the domain alias "CRMServerFarm.OurDomain.local"... the errors you were getting were similar in nature.

Cheers, and good luck in the future!

Tim

Thanks in advance, Tim McKay

// ECO VI (6.0.0.5610) Microsoft Visual Studio.NET 2010 (10.0.40219.1 SP1Rel)

// Host OS : Mac OS X 10.6.8 running Parallels for Mac Build 6.0.12090
(Revision 660720; May 26, 2011); Guest OS : Windows XP SP3 (32-bit)


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top