WebConfig Configuration for Default proxy

Dear Experts,
 Need advice on the below ‘web config’ entry in our web application. The proxy server ‘192.168.11.47’ has been decommissioned and we were told to use Default proxy.   Below is the present web configuration.

 I changed the value of useDefaultWebProxy to ‘true’ and removed the value proxyAddress=http://192.168.11.47:6588.  But the application is throwing out ‘An exception occurred’ error. Where I am doing wrong? Thank you very much for your advice.

--------------------------------------------------
<basicHttpBinding>
<binding name="RSC" sendTimeout="00:05:00" messageEncoding="Text" useDefaultWebProxy="false" proxyAddress="http://192.168.11.47:6588" textEncoding="utf-8" maxReceivedMessageSize="65536">
<security mode="Transport" />
</binding>
</basicHttpBinding>
-------------------------------------------------
jramprakashAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Randy DownsOWNERCommented:
Maybe this will help. Perhaps "bypassProxyOnLocal="false"" is necessary.

starting with .NET Framework 4, bindings and behaviors are not required to have a name.

     <basicHttpBinding>
        <binding 
               hostNameComparisonMode="StrongWildcard" 
               receiveTimeout="00:10:00"
               sendTimeout="00:10:00"
               openTimeout="00:10:00"
               closeTimeout="00:10:00"
               maxReceivedMessageSize="65536" 
               maxBufferSize="65536" 
               maxBufferPoolSize="524288" 
               transferMode="Buffered" 
               messageEncoding="Text" 
               textEncoding="utf-8"
               bypassProxyOnLocal="false"
               useDefaultWebProxy="true" >
              <security mode="None" />
         </binding>
     </basicHttpBinding>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WCF

From novice to tech pro — start learning today.