﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>CapableObjects forum » ECO » General discussions  » .Net remoting</title><generator>InstantForum.NET 2012-1</generator><description>CapableObjects forum</description><link>http://www.capableobjects.com/apps/InstantForum414/</link><webMaster>CapableObjects forum</webMaster><lastBuildDate>Fri, 18 May 2012 04:20:19 GMT</lastBuildDate><ttl>20</ttl><item><title>.Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost252.aspx</link><description>Hi everyone,&lt;br&gt;&lt;br&gt;I spent my last two days trying to make a asp.net application work as a .Net remoting server for another vcl.net app.&lt;br&gt;&lt;br&gt;I just can't seem to get it right. Apparently in my pc (localhost) everything works as it should, but that isn't the case in my production server.&lt;br&gt;&lt;br&gt;The approach used was to add the &lt;system.net.remoting&gt; section in the asp.net app web.config file.&lt;br&gt;&lt;br&gt;I followed the Remote Persistence tutorial for VS, but it was hard because it isn't updated.&lt;br&gt;&lt;br&gt;Can anyone help me?&lt;br&gt;&lt;br&gt;Thanks.</description><pubDate>Tue, 23 Sep 2008 06:25:45 GMT</pubDate><dc:creator>pedro_brown</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost474.aspx</link><description>[quote][b]pedro_brown (2008-09-06)[/b][hr]Hi everyone,&lt;BR&gt;&lt;BR&gt;I'm pleased to announce that I managed to get my .Net remoting app working!&lt;BR&gt;&lt;BR&gt;This is the article that helped me: http://www.glacialcomponents.com/ArticleDetails/CAOMN.aspx&lt;BR&gt;&lt;BR&gt;Sorry if I disturbed any of you, and thanks again.[/quote]&lt;/P&gt;&lt;P&gt;Hi Pedro,  I'm glad you got your app working!&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Cheers, and good luck in the future!&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Tue, 23 Sep 2008 06:25:45 GMT</pubDate><dc:creator>smashed2bitz</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost417.aspx</link><description>Hi Pedro. &lt;br&gt;&lt;br&gt;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. &lt;br&gt;&lt;br&gt;Thanks again for letting us know, and good luck now that you are up and running!</description><pubDate>Mon, 08 Sep 2008 15:01:36 GMT</pubDate><dc:creator>Jonas Hogstrom</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost416.aspx</link><description>Hi everyone,&lt;br&gt;&lt;br&gt;I'm pleased to announce that I managed to get my .Net remoting app working!&lt;br&gt;&lt;br&gt;This is the article that helped me: http://www.glacialcomponents.com/ArticleDetails/CAOMN.aspx&lt;br&gt;&lt;br&gt;The article describes my problem and the solution. Gladly for me, the simple way worked.&lt;br&gt;&lt;br&gt;...&lt;br&gt;      &amp;lt;channels&amp;gt;&lt;br&gt;        &amp;lt;channel ref="http" machineName="www.tectrilha.com.br"&amp;gt;&lt;br&gt;          &amp;lt;serverProviders&amp;gt;&lt;br&gt;...&lt;br&gt;&lt;br&gt;In my opinion, this kind of information must be included in the RemotingPersistence.pdf tutorial.&lt;br&gt;&lt;br&gt;I also wanna say that I really appreciate all the help that I received, especially from Jonas and Scott. &lt;br&gt;&lt;br&gt;Sorry if I disturbed any of you, and thanks again.</description><pubDate>Sat, 06 Sep 2008 22:42:04 GMT</pubDate><dc:creator>pedro_brown</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost406.aspx</link><description>Hi Pedro,&lt;br&gt;&lt;br&gt;&lt;br&gt;You know, I am coming back to an old comment I said.  I don't actually think you need the call to [b]RegisterTcpServer()[/b].  This was something that was included in the templates for Win32 or service based applications to be able to register a remoting channel.&lt;br&gt;&lt;br&gt;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.&lt;br&gt;&lt;br&gt;You actually use both mechanisms, and I'm beginning to wonder if this is the problem.&lt;br&gt;&lt;br&gt;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.&lt;br&gt;&lt;br&gt;Kind regards, Scott :)</description><pubDate>Thu, 04 Sep 2008 19:59:32 GMT</pubDate><dc:creator>Scott Price</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost405.aspx</link><description>To be honest Pedro, I'm not sure what else to suggest at the moment.&lt;br&gt;&lt;br&gt;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.&lt;br&gt;&lt;br&gt;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?&lt;br&gt;&lt;br&gt;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.&lt;br&gt;&lt;br&gt;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.&lt;br&gt;&lt;br&gt;Sorry I haven't been much help at present.</description><pubDate>Thu, 04 Sep 2008 15:57:01 GMT</pubDate><dc:creator>Scott Price</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost398.aspx</link><description>Hi Scott,&lt;br&gt;&lt;br&gt;Thank you very much for helping me. I don't see the purpose of examining the Event Log of my host's server, because I made my developing machine into a internet server, and the same exception was raised. &lt;br&gt;&lt;br&gt;I examined my Event Log, and It had nothing.&lt;br&gt;&lt;br&gt;I also created a demo app in visual studio and deployed it. This is the exception, very similar to the old one:&lt;br&gt;&lt;br&gt;System.Net.WebException was unhandled by user code&lt;br&gt;  Message="Impossível conectar-se ao servidor remoto"&lt;br&gt;  Source="mscorlib"&lt;br&gt;  StackTrace:&lt;br&gt;    Server stack trace: &lt;br&gt;       em System.Net.HttpWebRequest.GetRequestStream()&lt;br&gt;       em System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)&lt;br&gt;       em System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders&amp; responseHeaders, Stream&amp; responseStream)&lt;br&gt;       em System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage msg)&lt;br&gt;    Exception rethrown at [0]: &lt;br&gt;       em System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)&lt;br&gt;       em System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)&lt;br&gt;       em Eco.Persistence.IPersistenceMapper.get_SupportsSync()&lt;br&gt;       em Eco.Persistence.Remoting.PersistenceMapperClient.ClientMapperImpl.Eco.Persistence.IPersistenceMapper.get_SupportsSync() na c:\dev\e4vs\source\Public.CLR\Persistence\PersistenceMapperClient.cs:linha 199&lt;br&gt;       em Eco.Internal.TBoldSystemPersistenceHandler.get_SupportsSync() na source\ObjectSpace\BORepresentation\BoldSystemPersistenceHandler.pas:linha 312&lt;br&gt;       em Eco.Internal.TBoldSystemPersistenceHandler.EnsureFirstCurrentToSyncVersion() na source\ObjectSpace\BORepresentation\BoldSystemPersistenceHandler.pas:linha 293&lt;br&gt;       em Eco.Internal.TBoldSystemPersistenceHandler.GetAllWithCondition(AbstractCondition Condition, Int32 MaxAnswers, Int32 Offset) na source\ObjectSpace\BORepresentation\BoldSystemPersistenceHandler.pas:linha 169&lt;br&gt;       em Eco.Services.Impl.ExtentServiceImpl.FetchAdjustedClassList(IClass fillClass) na c:\dev\e4vs\source\Public.CLR\ServicesImpl\ExtentServiceImpl.cs:linha 156&lt;br&gt;       em Eco.Services.Impl.ExtentServiceImpl.EnsuredExtentForClass(IClass c, Boolean all) na c:\dev\e4vs\source\Public.CLR\ServicesImpl\ExtentServiceImpl.cs:linha 134&lt;br&gt;       em Eco.Services.Impl.ExtentServiceImpl.Eco.Services.IExtentService.AllInstances(IClass c) na c:\dev\e4vs\source\Public.CLR\ServicesImpl\ExtentServiceImpl.cs:linha 186&lt;br&gt;       em Eco.Internal.TBOS_AllInstances$BoldOclSymbolImplementations.Evaluate(IOclOperationParameters Params) na source\ObjectSpace\OCL\BoldOclSymbolImplementations.pas:linha 2335&lt;br&gt;       em Eco.Internal.TBoldOclEvaluatorVisitor.VisitTBoldOclOperation(TBoldOclOperation N) na source\ObjectSpace\OCL\BoldOclEvaluator.pas:linha 212&lt;br&gt;       em Eco.Internal.TBoldOclOperation.AcceptVisitor(TBoldOclVisitor V) na source\ObjectSpace\OCL\BoldOclClasses.pas:linha 776&lt;br&gt;       em Eco.Internal.TBoldOcl.InternalEvaluate(String Ocl, IElement RootElement, IClassifier Context, SubscriberPair SubscriberBlock, IExternalVariableList VariableList) na source\ObjectSpace\OCL\BoldOcl.pas:linha 773&lt;br&gt;  InnerException: System.Net.Sockets.SocketException&lt;br&gt;       Message="Uma tentativa de conexão falhou porque o componente conectado não respondeu\rcorretamente após um período de tempo ou a conexão estabelecida falhou\rporque o host conectado não respondeu 10.100.1.32:80"&lt;br&gt;       Source="System"&lt;br&gt;       ErrorCode=10060&lt;br&gt;       NativeErrorCode=10060&lt;br&gt;       StackTrace:&lt;br&gt;            em System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)&lt;br&gt;            em System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)&lt;br&gt;            em System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket&amp; socket, IPAddress&amp; address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception&amp; exception)&lt;br&gt;       InnerException: &lt;br&gt;</description><pubDate>Tue, 02 Sep 2008 21:07:56 GMT</pubDate><dc:creator>pedro_brown</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost397.aspx</link><description>Have you examined the Event Log from the actual server showing the problem?&lt;br&gt;&lt;br&gt;I think we may find a clue or two there, as it may well be running in a more secure environment, and other factors might be coming into play here.&lt;br&gt;&lt;br&gt;I look forward to hearing back from you when you have had time to examine them.</description><pubDate>Tue, 02 Sep 2008 17:27:21 GMT</pubDate><dc:creator>Scott Price</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost396.aspx</link><description>Hi Scott,&lt;br&gt;&lt;br&gt;This IP 189.13.127.153:81 is for my developing machine. I was running the app on IIS7 and Windows Vista, and trying to figure out what was wrong. The port 81 is my port of choice for my WebSite on IIS.&lt;br&gt;&lt;br&gt;Again, locally everything worked fine, but when I tried to make my app hosted at (www.tectrilha.com.br/EcoRemoting1/) communicate to my machine, the same error occurred. I did this to try to spot something happening here. I even looked at 'Event Viewer' on Vista but didn't find anything.</description><pubDate>Tue, 02 Sep 2008 16:04:37 GMT</pubDate><dc:creator>pedro_brown</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost391.aspx</link><description>I have deployed the application to a server I can examine in more detail Pedro, and I am getting a DCOM error listed in the servers SYSTEM branch of the Event Log.&lt;br&gt;&lt;br&gt;Can you please re-try to connect to the server with your Eco Winform Client, and make a note of the date and time you get the error.  If you have access to the System branch of the servers Event Log, please try to see if you can find a matching error at approximately the same date and time.&lt;br&gt;&lt;br&gt;Please check this, or check it with your ISP's technical support, and let me know.</description><pubDate>Mon, 01 Sep 2008 15:40:02 GMT</pubDate><dc:creator>Scott Price</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost390.aspx</link><description>Hi Pedro,&lt;br&gt;&lt;br&gt;&lt;br&gt;I am actually having difficulties communicating with this URL, or the site:&lt;br&gt;&lt;br&gt;http://www.tectrilha.com.br/EcoRemoting1/WebForm1.aspx&lt;br&gt;&lt;br&gt;I cannot actually get this to load in a web browser at all at the moment, it often keeps coming up with this error:&lt;br&gt;&lt;br&gt;[quote]&lt;br&gt;Server Error in '/EcoRemoting1' Application.&lt;br&gt;A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 189.13.127.153:81&lt;br&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&lt;br&gt;&lt;br&gt;Exception Details: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 189.13.127.153:81[/quote]&lt;br&gt;&lt;br&gt;Here notice the IP and in particular, the port.  Is this one communicating with a database on another machine, or is it just supposed to be using the memory sharing object?&lt;br&gt;&lt;br&gt;Do your websites have sufficient rights to perform remoting on that machine?&lt;br&gt;&lt;br&gt;I also noticed that it seems to be redirecting:&lt;br&gt;&lt;br&gt;[quote]Stack Trace:&lt;br&gt;&lt;br&gt;[SocketException (0x274c): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 189.13.127.153:81]&lt;br&gt;   System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +1073657&lt;br&gt;   System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +33&lt;br&gt;   System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket&amp; socket, IPAddress&amp; address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception&amp; exception) +217&lt;br&gt;&lt;br&gt;[WebException: Unable to connect to the remote server]&lt;br&gt;   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +2668969&lt;br&gt;   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type) +717&lt;br&gt;   Eco.Persistence.IRemotePersistenceMapperProvider.GetPersistenceMapper(Int32 typeSystemHash) +0&lt;br&gt;   Eco.Persistence.Remoting.PersistenceMapperClient.GetMapper(Boolean refresh) +230&lt;br&gt;&lt;br&gt;[RemotingException: PersistenceMapperClient failed to connect to the server. &lt;br&gt;Message: Unable to connect to the remote server&lt;br&gt;Server URL: [b]http://pedrobrown.dyndns.org:81/EcoRemoting1WebServiceServer.rem[/b]][/quote]&lt;br&gt;&lt;br&gt;Is this correct?  It is then being redirected to this different Url?&lt;br&gt;&lt;br&gt;I am not sure if that would affect ECO, but it is something else worth noting at this point in time, as it isn't direct to the server with the Url you mentioned earlier.&lt;br&gt;&lt;br&gt;I will look into this a little more.</description><pubDate>Mon, 01 Sep 2008 14:54:40 GMT</pubDate><dc:creator>Scott Price</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost383.aspx</link><description>Hi Scott,&lt;/P&gt;&lt;P&gt;First of all, thank you very much for trying to help me in this situation. &lt;/P&gt;&lt;P&gt;About your comment that you managed to deploy my app and communicate with it inside your own machine: I'm able to do that to. When I test this app inside my network, everything works as it should. The problem is the internet. This application (that you deployed locally) is also at &lt;A href="http://www.tectrilha.com.br/EcoRemoting1/WebForm1.aspx"&gt;http://www.tectrilha.com.br/EcoRemoting1/WebForm1.aspx&lt;/A&gt; and I can't communicate with it.&lt;/P&gt;&lt;P&gt;I read in some places like I said in my last post, that .net remoting works diferentlly when its over the internet. Today I also created a simple app with VS to try remoting, and it also failed. &lt;/P&gt;&lt;P&gt;I also tried to deploy on a friends machine and access trough the internet &lt;A href="http://mp-pedro.ath.cx/Tectrilha/WebForm1.aspx"&gt;http://mp-pedro.ath.cx/Tectrilha/WebForm1.aspx&lt;/A&gt; and the same problem occurred. &lt;/P&gt;&lt;P&gt;I'm really lost on this.&lt;/P&gt;&lt;P&gt;Thanks.</description><pubDate>Fri, 29 Aug 2008 19:54:05 GMT</pubDate><dc:creator>pedro_brown</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost382.aspx</link><description>Nope, ignore my last comments.  I tested by commented out the web.config and it wouldn't work without it.  :)&lt;br&gt;&lt;br&gt;I could get your application to work as the webform1.aspx, and I wrote a quick and simple VS2008 project to connect to and use the exposed:&lt;br&gt;&lt;br&gt;http://localhost/PedroBrown/EcoRemoting1WebServiceServer.rem&lt;br&gt;&lt;br&gt;service, and consumed it in my VS2008 C# WinForm application without a problem.&lt;br&gt;&lt;br&gt;It does make me wonder if there is a security, or permissions issue somewhere, perhaps with access to some resource (database or gac perhaps), or even a firewall not allowing the communications?</description><pubDate>Fri, 29 Aug 2008 18:46:34 GMT</pubDate><dc:creator>Scott Price</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost381.aspx</link><description>Now I don't use Delphi any longer, so I may not be remembering correctly, but I think you need to [b][i]Either[/i][/b] define the service in the web.config [b]OR[/b] do the code that you have included in your persistence mapper provider:&lt;br&gt;&lt;br&gt;[quote]&lt;br&gt;class function TPersistenceMapperProvider.RegisterTcpServer(Port: integer; ServerName: string): TcpChannel;&lt;br&gt;var&lt;br&gt;  provider: BinaryServerFormatterSinkProvider;&lt;br&gt;  props: IDictionary;&lt;br&gt;  chan: TcpChannel;&lt;br&gt;begin&lt;br&gt;  provider := BinaryServerFormatterSinkProvider.Create();&lt;br&gt;  provider.TypeFilterLevel := TypeFilterLevel.Full; // Needed for serializations&lt;br&gt;  props := Hashtable.Create();&lt;br&gt;  props['port'] := port;&lt;br&gt;  chan := TcpChannel.Create(props, nil, provider);&lt;br&gt;  ChannelServices.RegisterChannel(chan, false);&lt;br&gt;  RemotingConfiguration.RegisterWellKnownServiceType(&lt;br&gt;    typeof(TPersistenceMapperProvider),&lt;br&gt;    ServerName,&lt;br&gt;    WellKnownObjectMode.Singleton);&lt;br&gt;  Result := chan;&lt;br&gt;end;&lt;br&gt;[/quote]&lt;br&gt;&lt;br&gt;I do not think you need to do both, infact if I remember correctly, this can cause problems.&lt;br&gt;&lt;br&gt;I think if you keep the code and remove the web.config, or keep the web.config and comment out this code block, and test again you may have a more useful result.&lt;br&gt;&lt;br&gt;Sadly I don't have a Delphi with which I can make test changes to your code.&lt;br&gt;&lt;br&gt;&lt;br&gt;Scott :)</description><pubDate>Fri, 29 Aug 2008 18:16:04 GMT</pubDate><dc:creator>Scott Price</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost380.aspx</link><description>[quote][b]pedro_brown (2008-08-27)[/b]&lt;br&gt;&lt;br&gt;One thing that makes me curious is that the following works:&lt;br&gt;&lt;br&gt;constructor EcoRemoting1EcoSpace.Create;&lt;br&gt;var&lt;br&gt;  PersistenceMapperProvider1: PersistenceMapperProvider;&lt;br&gt;  s: string;&lt;br&gt;begin&lt;br&gt;  inherited Create;&lt;br&gt;  InitializeComponent;&lt;br&gt;  // TODO: Add any constructor code here&lt;br&gt;  [b]PersistenceMapperProvider1 := Activator.GetObject(TypeOf(PersistenceMapperProvider), PersistenceMapperClient1.Url) as PersistenceMapperProvider;&lt;br&gt;  s := PersistenceMapperProvider1.EcoSpaceTypeName;[/b]&lt;br&gt;end;&lt;br&gt;&lt;br&gt;Does this say anything to you?&lt;br&gt;[/quote]&lt;br&gt;&lt;br&gt;those lines will not cause any network traffic, so that is not surprising that you won't get any exceptions from them.</description><pubDate>Fri, 29 Aug 2008 08:50:24 GMT</pubDate><dc:creator>Jonas Hogstrom</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost379.aspx</link><description>Hi everyone,&lt;br&gt;&lt;br&gt;Thanks for all the answers. I didn't manage to get my application working, but I did two more tests.&lt;br&gt;First I hosted my app on a private server: http://mp-pedro.ath.cx/Tectrilha/WebForm1.aspx and tried do get remoting to work. It didn't! this server is a simple IIS using a dns host. This makes me think that maybe there is some configuration to be donne and its not my web host's fault.&lt;br&gt;&lt;br&gt;The other thing is that I found this article: [url=http://www.eggheadcafe.com/articles/20021202.asp]Marshal Objects ByRef Over The Internet With .NET Remoting[/url] that didn't say much to me, but for you guys might.&lt;br&gt;&lt;br&gt;Thank you all for the help.</description><pubDate>Fri, 29 Aug 2008 04:06:13 GMT</pubDate><dc:creator>pedro_brown</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost376.aspx</link><description>Hi Pedro,&lt;br&gt;&lt;br&gt;I am sorry, but I am heading out in 1 hour, so I don't really have time to look into it now.  I will have my laptop with me, and I will try to take a look this evening.&lt;br&gt;&lt;br&gt;However, I have read my way through most of the post.&lt;br&gt;&lt;br&gt;In all the exceptions you post, the IP address is:  10.100.x.x&lt;br&gt;&lt;br&gt;Is this your internal network address of the pc against which you are trying to run your tests, or is this the error message you are receiving from the remote server once deployed?</description><pubDate>Thu, 28 Aug 2008 13:22:24 GMT</pubDate><dc:creator>Scott Price</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost374.aspx</link><description>Hi Jonas,&lt;br&gt;&lt;br&gt;I really don't know. I've been talking to my host provider, but they keep saying that there is nothing to prevent such connections.&lt;br&gt;&lt;br&gt;About the velocity reviews, I've already seen that post.&lt;br&gt;&lt;br&gt;One thing that makes me curious is that the following works:&lt;br&gt;&lt;br&gt;constructor EcoRemoting1EcoSpace.Create;&lt;br&gt;var&lt;br&gt;  PersistenceMapperProvider1: PersistenceMapperProvider;&lt;br&gt;  s: string;&lt;br&gt;begin&lt;br&gt;  inherited Create;&lt;br&gt;  InitializeComponent;&lt;br&gt;  // TODO: Add any constructor code here&lt;br&gt;  [b]PersistenceMapperProvider1 := Activator.GetObject(TypeOf(PersistenceMapperProvider), PersistenceMapperClient1.Url) as PersistenceMapperProvider;&lt;br&gt;  s := PersistenceMapperProvider1.EcoSpaceTypeName;[/b]&lt;br&gt;end;&lt;br&gt;&lt;br&gt;Does this say anything to you?&lt;br&gt;&lt;br&gt;Thanks very much</description><pubDate>Wed, 27 Aug 2008 22:41:44 GMT</pubDate><dc:creator>pedro_brown</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost373.aspx</link><description>I tried to google the error code and came up with the following post that might be relevant.&lt;br&gt;&lt;br&gt;http://www.velocityreviews.com/forums/t114346-deploying-aspnet-20.html&lt;br&gt;&lt;br&gt;Other than that, could there be any firewalls or settings in IIS that prevents you from accessing this remoted object?&lt;br&gt;</description><pubDate>Wed, 27 Aug 2008 22:02:23 GMT</pubDate><dc:creator>Jonas Hogstrom</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost372.aspx</link><description>Just is case you don't wanna download the zip file,&lt;br&gt;&lt;br&gt;[SocketException (0x274c): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.100.1.32:80]&lt;br&gt;   System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +3335242&lt;br&gt;   System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +97&lt;br&gt;   System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket&amp; socket, IPAddress&amp; address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception&amp; exception) +623&lt;br&gt;&lt;br&gt;[WebException: Unable to connect to the remote server]&lt;br&gt;   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +4596611&lt;br&gt;   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type) +1713&lt;br&gt;   Eco.Persistence.IPersistenceMapper.get_SupportsSync() +0&lt;br&gt;   Eco.Persistence.Remoting.ClientMapperImpl.Eco.Persistence.IPersistenceMapper.get_SupportsSync() +94&lt;br&gt;   Eco.Internal.TBoldSystemPersistenceHandler.get_SupportsSync() +50&lt;br&gt;   Eco.Internal.TBoldSystemPersistenceHandler.EnsureFirstCurrentToSyncVersion() +17&lt;br&gt;   Eco.Internal.TBoldSystemPersistenceHandler.GetAllWithCondition(AbstractCondition Condition, Int32 MaxAnswers, Int32 Offset) +102&lt;br&gt;   Eco.Services.Impl.ExtentServiceImpl.FetchAdjustedClassList(IClass fillClass) +270&lt;br&gt;   Eco.Services.Impl.ExtentServiceImpl.EnsuredExtentForClass(IClass c, Boolean all) +1226&lt;br&gt;   Eco.Services.Impl.ExtentServiceImpl.Eco.Services.IExtentService.AllInstances(IClass c) +74&lt;br&gt;   Eco.Internal.TBOS_AllInstances$BoldOclSymbolImplementations.Evaluate(IOclOperationParameters Params) +364&lt;br&gt;   Eco.Internal.TBoldOclEvaluatorVisitor.VisitTBoldOclOperation(TBoldOclOperation N) +1446&lt;br&gt;   Eco.Internal.TBoldOcl.InternalEvaluate(String Ocl, IElement RootElement, IClassifier Context, SubscriberPair SubscriberBlock, IExternalVariableList VariableList) +1467&lt;br&gt;   Eco.Internal.TBoldOclService.BaseEvaluate(IElement root, IClassifier Context, IExternalVariableList vars, String expression) +87&lt;br&gt;   Eco.Internal.TBoldOclService.Evaluate(IElement root, String expression, IExternalVariableList vars) +17&lt;br&gt;   Eco.Web.UI.WebControls.EcoDataSourceView.DoSelect() +724&lt;br&gt;   Eco.Web.UI.WebControls.EcoDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +2122&lt;br&gt;   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +23&lt;br&gt;   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +270&lt;br&gt;   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82&lt;br&gt;   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +97&lt;br&gt;   System.Web.UI.Control.EnsureChildControls() +149&lt;br&gt;   System.Web.UI.Control.PreRenderRecursiveInternal() +71&lt;br&gt;   System.Web.UI.Control.PreRenderRecursiveInternal() +255&lt;br&gt;   System.Web.UI.Control.PreRenderRecursiveInternal() +255&lt;br&gt;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3532&lt;br&gt;&lt;br&gt;Thanks</description><pubDate>Wed, 27 Aug 2008 18:00:07 GMT</pubDate><dc:creator>pedro_brown</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost371.aspx</link><description>Hi everyone,&lt;br&gt;&lt;br&gt;I started this topic some time ago, when I was first trying to develop an application based on Eco IIS Remoting. At that time, I managed to get remoting working for some time. I know that this is gonna sound awkward, I thought that the remoting issue was solved, but it isn't. &lt;br&gt;&lt;br&gt;After getting things to work, I put them aside and kept developing the app. For my surprise when I tried to put it on production again, it failed.&lt;br&gt;&lt;br&gt;I'm really lost in this. I've tried everything. My last attempt was to create a simple demo app from Eco Project Wizard and deploying it. The situation is: A asp.net app witch is the Remote Server being accessed by another app on my web server works fine. The problem occurs when I try to access the server from my machine. I simply don't have a clue of what is happening. &lt;br&gt;&lt;br&gt;If you want, you can access [url=http://www.tectrilha.com.br/EcoRemoting1/WebForm1.aspx]http://www.tectrilha.com.br/EcoRemoting1/WebForm1.aspx[/url], there you can see the same application that is in the zip file deployed.&lt;br&gt;&lt;br&gt;I'm attaching some files, one with the error and stack trace that I recieve. &lt;br&gt;&lt;br&gt;I really need someone's help on this.&lt;br&gt;&lt;br&gt;Thanks in advance.&lt;br&gt;</description><pubDate>Wed, 27 Aug 2008 17:57:25 GMT</pubDate><dc:creator>pedro_brown</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost300.aspx</link><description>Never mind. I managed to get things working. Acctually I don't know what was wrong.&lt;/P&gt;&lt;P&gt;My solution: PersistenceMapper := Activator.GetObject(TypeOf(TPersistenceMapperProvider),'http://www.tectrilha.com.br:80/os/MsProjectRemoteServer.rem') as TPersistenceMapperProvider;</description><pubDate>Thu, 07 Aug 2008 17:12:47 GMT</pubDate><dc:creator>pedro_brown</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost298.aspx</link><description>Can someone help me on this?&lt;br&gt;Thanks</description><pubDate>Thu, 07 Aug 2008 15:33:09 GMT</pubDate><dc:creator>pedro_brown</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost297.aspx</link><description>Hi everyone,&lt;/P&gt;&lt;P&gt;I didn't say anything else about this because I was occupied finishing my application and was to busy to try all your suggestions.&lt;/P&gt;&lt;P&gt;Now I finished it and have to deploy. I did a simple .net remoting app following an microsoft 'how to', as our friend guest00 suggested. To my surprise it worked like a charm. If needed I can attach it here.&lt;/P&gt;&lt;P&gt;Next I decided to log all server side errors and send them to my email. When trying to connect from the client app, no exception is raised on the server.&lt;/P&gt;&lt;P&gt;Then I turned off my firewall but it didn't solve the problem.&lt;/P&gt;&lt;P&gt;I executed the app on a pc with the english version of the .net framework. That is the error message that I recieve:&lt;/P&gt;&lt;P&gt;"A connection attempt failed because the connected party did not correctly properly respond after a period of time, or established connection failed because connected host has failed to respond 10.100.1.32:80."&lt;/P&gt;&lt;P&gt;This is the exactly error message. I would be very very grateful if someone could help me on this, due to deadlines of this project.&lt;/P&gt;&lt;P&gt;Thankyou very much.</description><pubDate>Thu, 07 Aug 2008 03:13:07 GMT</pubDate><dc:creator>pedro_brown</dc:creator></item><item><title>RE: .Net remoting</title><link>http://www.capableobjects.com/apps/InstantForum414/FindPost282.aspx</link><description>That is a good suggestion. Add logging of any exception that occurs on the server. Write to a local file (that you know you have write access to).</description><pubDate>Sat, 02 Aug 2008 01:59:07 GMT</pubDate><dc:creator>Jonas Hogstrom</dc:creator></item></channel></rss>
