<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Configuration and Deployment</title><link>http://forums.asp.net/26.aspx</link><description>Configuring and deploying ASP.NET applications - web.config, \bin, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Deploying ASP.NET 2.0</title><link>http://forums.asp.net/thread/1163583.aspx</link><pubDate>Tue, 10 Jan 2006 00:07:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1163583</guid><dc:creator>donkiely</dc:creator><author>donkiely</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1163583.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=1163583</wfw:commentRss><description>Did you get this resolved? If not, check out Rick Stahl's blog post, &lt;a href="http://west-wind.com/weblog/posts/3871.aspx"&gt;Slow Http client calls from ASP.NET 2.0? Make sure you check your Proxy Settings!&lt;/a&gt;&lt;br /&gt;</description></item><item><title>Re: Deploying ASP.NET 2.0</title><link>http://forums.asp.net/thread/1146562.aspx</link><pubDate>Mon, 19 Dec 2005 20:17:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1146562</guid><dc:creator>anantatman</dc:creator><author>anantatman</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1146562.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=1146562</wfw:commentRss><description>When you add a remote webservice as a reference in 1.1, it creates a proxy class from the WSDL. &lt;br /&gt;
It might not be updated. &lt;br /&gt;
&lt;br /&gt;
Rahul &lt;br /&gt;
&lt;br /&gt;</description></item><item><title>Deploying ASP.NET 2.0</title><link>http://forums.asp.net/thread/1124064.aspx</link><pubDate>Sat, 26 Nov 2005 00:51:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1124064</guid><dc:creator>keviny</dc:creator><author>keviny</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1124064.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=1124064</wfw:commentRss><description>Hi,&lt;br&gt;
&lt;br&gt;
Hope someone can help us with this problem.&amp;nbsp; This is our first endeavour into .NET 2.0 :-)&lt;br&gt;
&lt;br&gt;
BACKGROUD INFO:&lt;br&gt;
----------------------&lt;br&gt;
We've built a website using .NET 2.0 and deployed onto our webserver.
This webpage simply calls some web services (built with .NET 1.1) &lt;br&gt;
running on the same web server. The webservice executes SQL transactions to a SQL Server which sits behind our company firewall.&lt;br&gt;
&lt;br&gt;
PROBLEM:&lt;br&gt;
----------------------&lt;br&gt;
Everytime a form is submitted (a web service call happens here), it's
trying to connect to a proxy server which no longer exist!! &lt;br&gt;
This was verified by our network team. (Please see below for error message and stack trace). &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
OTHER NOTES:&lt;br&gt;
------------------&lt;br&gt;
Numerous pages have been built using .NET 1.1 running on the same webserver and we've never encountered this problem.&lt;br&gt;
&lt;br&gt;
TESTING DONE:&lt;br&gt;
-------------------&lt;br&gt;
To test that it's not something wrong with the webservice, we've built
a simple web page using .NET 1.1 which calls the same webservice, &lt;br&gt;
depoyed it onto the webserver, a request was made and it was successful. &lt;br&gt;
&lt;br&gt;
We've also ran this website in question from a internal webserver, and did not encounter this problem.&lt;br&gt;
&lt;br&gt;
QUESTIONS:&lt;br&gt;
-------------------&lt;br&gt;
1)Is there any differences in the way a ASP.NET page built on .NET 2.0 and .NET 1.1 makes it's call to a webservice??&lt;br&gt;
&lt;br&gt;
2)Where is the ASP page picking up this proxy settings from? ASPNET account??&lt;br&gt;
&lt;br&gt;
3)Is there a way to overcome this proxy problem from our ASP.NET code?&lt;br&gt;
&lt;br&gt;
Many Thanks,&lt;br&gt;
Kevin&lt;br&gt;
&lt;br&gt;
*********************************************************&lt;br&gt;
ERROR MESSAGE:&lt;br&gt;
&lt;br&gt;
"A connection attempt failed because the connected party did not
properly respond after a period of time, or established connection
failed because connected host has failed to respond "&lt;br&gt;
&lt;br&gt;
STACK TRACE:&lt;br&gt;
&lt;br&gt;
"[SocketException (0x274c): A connection attempt failed because the
connected party did not properly respond after a period of time, &lt;br&gt;
or established connection failed because connected host has failed to respond]&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +1002130&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +33&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Net.ServicePoint.ConnectSocketInternal(Boolean
connectFailure, Socket s4, Socket s6, Socket&amp;amp; socket,
IPAddress&amp;amp; address, &lt;br&gt;
ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception&amp;amp; exception) +431&lt;br&gt;
&lt;br&gt;
[WebException: Unable to connect to the remote server]&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Net.HttpWebRequest.GetRequestStream() +1504509&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +103&lt;br&gt;
&amp;nbsp;&amp;nbsp; CustomerService.CustomerService.ValidateLogin(String dbID,
String login, String passwd, String appln, DataSet&amp;amp; dsRole,
DataSet&amp;amp; dsOperator) +95&lt;br&gt;
&amp;nbsp;&amp;nbsp; _Default.Login1_Authenticate(Object sender, AuthenticateEventArgs e) +147&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +106&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Web.UI.WebControls.Login.AttemptLogin() +105&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +99&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33&lt;br&gt;
&amp;nbsp;&amp;nbsp; System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+5102&lt;br&gt;
"&lt;br&gt;
&lt;br&gt;
&lt;br&gt;</description></item></channel></rss>