Unable to connect to the remote server

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?dG9t?=

    Unable to connect to the remote server

    Hi,

    I have a .net 2.0 windows client that connects to webservices.
    In most cases it works fine. However I have one client that gets 'Unable to
    connect to the remote server'.

    If on that client the exe.config file is deleted, than it works.
    The exe.config contains :

    <?xml version="1.0" encoding="utf-8" ?>
    <configuratio n>
    <system.net>
    <defaultProxy >
    <proxy autoDetect="Tru e" bypassonlocal=" True"/>
    </defaultProxy>
    </system.net>
    </configuration>

    The thing is that client is behind a proxy server. I thought the above
    config was just to autodetect those settings..?

    The error message he gets when config file is still there :

    Unable to connect to the remote server

    at System.Net.Http WebRequest.GetR equestStream()
    at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
    methodName, Object[] parameters)
    at Ventiline.Venti lineService.WSV entiline.GetUse r(String vatNr, String
    password)
    at Ventiline.Datab ase.DataFactory .UserVentiline. GetUser(String vatNr,
    String password)
    at Ventiline.Objec ts.User.login(S tring vatNr, String password)
    at Ventiline.Objec ts.User..ctor(S tring vatNr, String password)
    at Ventiline.Frame work.Helpers.Se curityManager.L ogin(String userName,
    String pwd, String language)
    at Ventiline.Conte nt.Security.frm Login.doLogin()
    at Ventiline.Conte nt.Security.frm Login.btnLogin_ Click(Object sender,
    EventArgs e)
    at System.Windows. Forms.Control.O nClick(EventArg s e)
    at System.Windows. Forms.Button.On Click(EventArgs e)
    at System.Windows. Forms.Button.On MouseUp(MouseEv entArgs mevent)
    at System.Windows. Forms.Control.W mMouseUp(Messag e& m, MouseButtons
    button, Int32 clicks)
    at System.Windows. Forms.Control.W ndProc(Message& m)
    at System.Windows. Forms.ButtonBas e.WndProc(Messa ge& m)
    at System.Windows. Forms.Button.Wn dProc(Message& m)
    at System.Windows. Forms.Control.C ontrolNativeWin dow.OnMessage(M essage& m)
    at System.Windows. Forms.Control.C ontrolNativeWin dow.WndProc(Mes sage& m)
    at System.Windows. Forms.NativeWin dow.Callback(In tPtr hWnd, Int32 msg,
    IntPtr wparam, IntPtr lparam)


    Any ideas?

    Thanx,
    Tom

Working...