﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » Enterprise Server - V1 » How do I?  » How does ES handle proxy servers?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 07:48:46 GMT</lastBuildDate><ttl>20</ttl><item><title>How does ES handle proxy servers?</title><link>http://forum.strataframe.net/FindPost12551.aspx</link><description>What happens, if the user of an application that is using ES, has a proxy server between them and the ES server?  How is this handled?&lt;br&gt;
&lt;br&gt;
I have a user who can't connect and thought (give his situation) this would be the first thing to look into.</description><pubDate>Thu, 13 Dec 2007 00:31:22 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: How does ES handle proxy servers?</title><link>http://forum.strataframe.net/FindPost13014.aspx</link><description>bump...</description><pubDate>Thu, 13 Dec 2007 00:31:22 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: How does ES handle proxy servers?</title><link>http://forum.strataframe.net/FindPost12987.aspx</link><description>Ben,&lt;br&gt;
&lt;br&gt;
I'm still having problems with this...so a few more questions. I'm still a noobie concerning this proxy stuff :blush:&lt;br&gt;
&lt;br&gt;
- Is there any issues if the proxy is setup to use windows authentication? &lt;br&gt;
- If the internet options are configured to use automatic proxy, do I need to do anything differently?&lt;br&gt;
- Do you have any recommendations for testing this?  I.e. any suggested proxy servers that could be setup to test this functionality?&lt;br&gt;
&lt;br&gt;
Thanks!</description><pubDate>Tue, 11 Dec 2007 14:16:02 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: How does ES handle proxy servers?</title><link>http://forum.strataframe.net/FindPost12658.aspx</link><description>According to the WebRequest.DefaultWebProxy documentation, it looks like the DefaultWebProxy is used if the Proxy is not explicitly set on the WebRequest object (which is similar to what we do with the Proxy property of the EnterpriseDataSourceItem, if it's not null, we set it on the WebRequest objects used by the data source).&amp;nbsp; So, check the value of the DefaultWebProxy property.&amp;nbsp; If it's null and the GetDefaultWebProxy() method is deprecated, then try the WebRequest.GetSystemWebProxy() which should do the same thing (and looks like the replacement for the WebProxy.GetDefaultProxy() method).&amp;nbsp; If that also doesn't work, then it looks like you'll have store off the proxy settings and create a new instance of the WebProxy object with those settings.</description><pubDate>Tue, 13 Nov 2007 11:31:17 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: How does ES handle proxy servers?</title><link>http://forum.strataframe.net/FindPost12625.aspx</link><description>I added the line to use GetDefaultProxy() and I get a warning that indicates this method is obsolete. After some searching, it seems that maybe .NET 2.0 gets the default proxy as the default. Here's an article about it:&lt;br&gt;
&lt;br&gt;
[url]http://msdn.microsoft.com/msdnmag/issues/05/08/AutomaticProxyDetection/default.aspx[/url]&lt;br&gt;
&lt;br&gt;
I'm guessing that this means that ES would already be using the default proxy? Or do I need to still set the proxy?</description><pubDate>Mon, 12 Nov 2007 14:14:26 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: How does ES handle proxy servers?</title><link>http://forum.strataframe.net/FindPost12624.aspx</link><description>Thanks Ben!</description><pubDate>Mon, 12 Nov 2007 13:50:53 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: How does ES handle proxy servers?</title><link>http://forum.strataframe.net/FindPost12623.aspx</link><description>Yes, the default proxy will work for most connections.&amp;nbsp; The only time it won't work is when the user's Internet Options are set to automatically configure the proxy, which, as far as I know, is not very often.&amp;nbsp; So, just going with the default proxy should be good enough for you.&amp;nbsp; &lt;/P&gt;&lt;P&gt;If you end up with a user that cannot use the default proxy, then implementing a custom proxy is actually quite simple... you just have to have the address, port number, username, and password.&amp;nbsp; You can create a new System.Net.WebProxy with those values (putting the username and password into a new System.Net.NetworkCredential object) and you'll be off to the races.&amp;nbsp; But I would certaily stick with the default one until you run into a user that needs a non-default proxy, then implement it... because it would be really hard to test it without a test bed.</description><pubDate>Mon, 12 Nov 2007 13:20:42 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: How does ES handle proxy servers?</title><link>http://forum.strataframe.net/FindPost12622.aspx</link><description>I'm getting a bunch of pressure to fix this issue. Does using the default proxy for all connections cause any problems?  Sorry if this is a dumb question, but I know very little about how proxies/tcp connnections work.</description><pubDate>Mon, 12 Nov 2007 11:19:33 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: How does ES handle proxy servers?</title><link>http://forum.strataframe.net/FindPost12607.aspx</link><description>bump...</description><pubDate>Fri, 09 Nov 2007 14:01:38 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: How does ES handle proxy servers?</title><link>http://forum.strataframe.net/FindPost12586.aspx</link><description>Well, if the problem is proxy related, this will help :D&lt;br&gt;
&lt;br&gt;
Is there any adverse affect of just always setting the proxy to the default proxy, especially for users who aren't using a proxy?</description><pubDate>Thu, 08 Nov 2007 14:43:03 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: How does ES handle proxy servers?</title><link>http://forum.strataframe.net/FindPost12570.aspx</link><description>We use the HttpWebRequest object which has a Proxy property.&amp;nbsp; You can set the Proxy property on the EnterpriseDataSourceItem when you create it and that reference will be used to set the Proxy on the web request.&amp;nbsp; So, you might try setting:&lt;/P&gt;&lt;P&gt;EnterpriseDataSourceItem esds = New EnterpriseDataSourceItem(...)&lt;BR&gt;esds.Proxy = System.Net.WebProxy.GetDefaultProxy()&lt;/P&gt;&lt;P&gt;That will retrieve the non-dynamic proxy from the Internet Options if the computer has IE 5.5 or later.&amp;nbsp; If that doesn't get the proxy, then you'll need to create a new WebProxy object with all of the settings and pass it to the EnterpriseDataSourceItem.&lt;/P&gt;&lt;P&gt;Hope that helps.</description><pubDate>Thu, 08 Nov 2007 14:00:30 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>