Remoting application does not work behind proxy

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
We have created a C# Windows Forms based text chat software which uses remoting to connect to the server.
It pings the server every 3 minutes. The server has been hosted in IIS and we are usin
HTTP-SOAP for data transfer and for making remote calls. We have used the "SOAPSUDS" utility to
create the client proxy
There is also one other part which fetches data using ASP.NET Web Services
Our application detects IE settings to fetch the proxy server address and port
The client connects properly when the server is hosted on the live web site
It works successfully on an external network behind a proxy server
We are using Microsoft Proxy Server without any Proxy Client in the external network for testing this
But one of our clients is facing a problem in using this software
They are using "Network Appliance Netcaches" in their local intranet setup as proxy server. The
do not have proxy clients installed in their environment. Their proxy settings are specified in IE
The part which fetches data using webservices works fine there. But the text chat part (which uses remoting)
does not work at all. We are not able to get where the problem is. Also it does not throw any exception while
attempting to connect
If we trace the code, the code which attempts to connect to the remoting server returns
without any exception
Is it the problem that they are using the software behind this particular proxy setup
Or is there any particular setting to be done for remoting to work behind different
proxy servers

Thanks & Regards
Manish Buttan
 
Hello Manish,

Thanks for your post. As I understanding, your application (the remoting
part) does not work properly on an environment with "Network Appliance
Netcaches" as the proxy, while it works with Microsoft Proxy Server. Please
correct me if there is any misunderstanding.

As you know, Network Appliance Netcaches is a third-party product, I
strongly recommend you contact NetApp (http://www.netapp.com/) and see if
there is any known issue on their side. Though I am not familiar with
Netcaches, I have a quick thought, do they set the authentication in the
Netcaches? If so, I suggest them to set no authentication so that every
user can pass through and then see if it works. I believe this will help us
narrow down the problem.

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi
We have a Windows Forms Application which uses Remoting
But when the client application is behind a proxy it seems to stop working
It does not connect to my remote server over the Internet
When I use the GetDefaultProxy method it returns a null reference
It returns an object of type WebProxy only when the proxy settings are mentioned i
IE->Tools->Internet Options->Connections->LAN Setting
How do I read the default proxy settings if these settings are not mentioned in IE

In the help of GetDefaultProxy() method it is mentioned that it returns "Non Dynamic IE settings
I would like to know what are "Non Dynamic" and "Dynamic" IE settings and whats the differenc
between them

Regards
Manish Buttan
 
Hello Manish,

Thanks for your reponse. I'd like to share the following information with
you:
mentioned in IE?
If there is no proxy settings in IE, I suggest that you can manually set
the WebProxy class. Please refer to the following MSDN article which
provides the sample code snippet:

WebProxy Class
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemnetwebproxyclasstopic.asp
"Non Dynamic IE settings" I would like to know what are "Non Dynamic" and
"Dynamic" IE settings and whats the difference between them.

In the LAN Settings of IE options, there are two sections "Automatic
configuration" and "Proxy server". The "Non Dynamic IE settings" refers to
the "Proxy server" section where you enter the static proxy informaiton.
"use automatic conguration script" will point the IE to the dynamic proxy
settings that are generated from script.

Does this answer your questions?

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top