A day with .Net

My day to day experince in .net

Microsoft Azure – The remote server returned an error: (407) Proxy Authentication Required

Posted by vivekcek on February 23, 2015

I was trying to upload a file to azure blob from an MVC application, which is running in my local emulator.
Then i got a proxy authentication issue.

To solve this, go to your web.config and add this (In windows application add this in app.config)

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

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