Welcome Guest, Login
Image
RSS RSS

Navigation


Quick Search
»



Page History: When I try to log in, I get an error message saying The underlying connection was closed

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: Wed, 28 Sep 2011 13:49


 Source:  - Unable to connect to the remote server

Server stack trace:
  at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
  at System.Net.HttpWebRequest.GetRequestStream()
  at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
  at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
  at Toub.Remoting.SecureClientChannelSink.ObtainSharedKey(IMessage msg)
  at Toub.Remoting.SecureClientChannelSink.EnsureIDAndProvider(IMessage msg, ITransportHeaders requestHeaders)
  at Toub.Remoting.SecureClientChannelSink.ProcessEncryptedMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
  at Toub.Remoting.SecureClientChannelSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
  at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
  at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
  at jVersionCheck.jVersionControl.jVersionCheck.get_VersionObject()
  at Client.frmLogin.VersionIsOK()
  at Client.frmLogin.cmdLogin_Click(Object sender, EventArgs e)
Could not connect to the CAREWare server @ localhost


  1. Usually this is caused because the business tier service is not running.
    1. Open the CW Admin utility in the business tier directory (Default location: C:\Program Files\CAREWare\RW CAREWare Business Tier)
    2. Go to the “Services” tab
    3. Check that all services are running (RWCAREWareBusinessTier and MSSQL$CAREWare)
    4. If a service is not running then highlight the service and press “Start Service”.
  2. If all services are running, then please check the port number in use is open; both on the server and client tier machine. The easiest way to check the port in use for CAREWare is open is with Telnet. This CAREWare wiki answer provides the necessary steps to use Telnet for this purpose. The default port number for CAREWare is 8124. This number can be changed and you should check the server list in order determine the current port number in use.
  3. There may have been a change in how the server where the business and data tier resolves DNS. Currently you are using the server hostname in the client tier server list. Please double check this hostname is correct. If it is not, then you will need to notify your users of the new hostname. You will also want to check that the server is able to resolve the DNS name. If it is not, then you will need to use the server IP address in the server list in order to allow the users to connect to CAREWare.

In order to access, verify, and change the hostname/IP address and port number in use on the client tier PCs please refer to the CAREWare Wiki answer for adding a server to the server list.

Back to Frequently Asked Questions

jProg is a registered trademark of Jeff Murray's Programming Shop, Inc. All other products mentioned are registered trademarks or trademarks of their respective companies. Questions or problems regarding this web site should be directed to JeffMurray@jprog.com.

© 1998- Jeff Murray's Programming Shop, Inc. (jProg) , all rights reserved.