[Mono-devel-list] asp_state Still Working?

Matthew Metnetsky met at uberstats.com
Fri Jul 30 15:43:55 EDT 2004


Perhaps I'm missing something, but I cannot get asp_state.exe to work. 
It loads fine, but I can never get mod_mono/xsp.exe (asp.net) to
connect.  The port is open, the server (apache/mod_mono & asp_state) is
running, but I keep getting the following error.

========
System.Runtime.Remoting.RemotingException: Connection refused

Server stack trace: 
in [0x00047] (at /cvs/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpConnectionPool.cs:264) System.Runtime.Remoting.Channels.Tcp.HostConnectionPool:CreateConnection ()
in [0x00086] (at /cvs/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpConnectionPool.cs:241) System.Runtime.Remoting.Channels.Tcp.HostConnectionPool:GetConnection ()
in [0x00056] (at /cvs/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpConnectionPool.cs:104) System.Runtime.Remoting.Channels.Tcp.TcpConnectionPool:GetConnection (string,int)
in [0x00031] (at /cvs/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpClientTransportSink.cs:169) System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink:ProcessMessage (System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Channels.ITransportHeaders&,System.IO.Stream&)
in [0x00079] (at /cvs/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs:159) System.Runtime.Remoting.Channels.BinaryClientFormatterSink:SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage)


Exception rethrown at [0]: 

in [0x00113] (at /cvs/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs:200) System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&)
========

Here's the session snippet from my Web.config

    <sessionState
      mode="StateServer"
      stateConnectionString="tcpip=127.0.0.1:42424"/>

Ideas on what I could be missing?  Or is asp_state.exe just broken at
the moment?  Also, I tried setting up mod_mono/asp.net to connect to a
Windows asp_state.exe server and it doesn't work either.  Similar error,
but takes about 30 seconds to resolve.  When I loaded up ethereal and
checked the packets, its definitely connecting, but failing afterwords
for unknown reasons.

Anyone?

~ Matthew




More information about the Mono-devel-list mailing list