service bus getting error -The remote server returned an error: (407) Proxy Authentication Required.

I have received this error many times over the last six months while I have been trying to run Azure examples. Most Azure examples assume that you are not running behind a corporate firewall or a proxy that requires authentication. This error is frustrating for an Azure newbie because you inevitably have to spend a lot of time working out some way to circumvent the problem.
The solution I have generally found that works is to edit the app.config file and add the following lines somewhere;

 <system.net>
<defaultProxy useDefaultCredentials=”true”>
<proxy bypassonlocal=”True” usesystemdefault=”True”/>
</defaultProxy>
</system.net>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s