Hope this helps others. Post here if it does in order that the Google
help may be improved.
speadsheet.exe.config contents need to be:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.net>
<defaultProxy useDefaultCredentials="true">
<proxy usesystemdefault="true"/>
</defaultProxy>
</system.net>
</configuration>
In my case NOT exactly as Google suggest:
http://code.google.com/p/google-gdata/wiki/WebProxySetup
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.net>
<defaultProxy>
<proxy usesystemdefault="true"/>
</defaultProxy>
</system.net>
</configuration>
On Jan 31, 10:51 am, pav <[email protected]> wrote:
> Problem: 'Google Data API SDK' sample apps not taking web proxy
> defaults from
> IE. Subsequently, exception 407 and failure to work via our corporate
> web proxy
> server.
>
> Q1. Do I add 'app.config' or 'Spreadsheet.exe.config' to the samples
> folder?
>
> Q2. Is C:\Program Files\Google\Google Data API SDK\Samples
> \Google.GData.Client.dll responsable for web proxy interaction? Does
> this need the .config file?
>
> e.g. C:\Program Files\Google\Google Data API SDK\Samples
> \Spreadsheet.exe
> via IE8>Tools>Internet Options>Connections>LAN Settings>Use Proxy + IP
> + Port.
>
> http://google-gdata.googlecode.com/svn/trunk/clients/cs/samples/sprea...
>
> .config code tried within 'app.config' and 'Spreadsheet.exe.config'
> already:
>
> <?xml version="1.0" encoding="utf-8" ?>
> <configuration>
> <system.net>
> <defaultProxy>
> <proxy usesystemdefault="true"/>
> </defaultProxy>
> </system.net>
> </configuration>
>
> Sources:http://code.google.com/p/google-gdata/wiki/WebProxySetuphttp://code.google.com/apis/gdata/articles/proxy_setup.html
>
> I have our corporate web proxy IP 10.x.xx.xx and port (8080)
>
> Google Chrome and other apps that I have sucessfully use IE default
> web proxy
> settings.
>
> All of the 'Google Data API SDK' sample apps have exception 407. e.g.
> Calendar.exe
>
> I have tested my login and password via a browser and are OK - I can
> access my Google documents.
> e.g.https://spreadsheets.google.com/ccc?key=0AsuhQ8k5X4YldDhLYm8wbWgybFdQ...
>
> After trying the above .config files I still get the following
> exception:
>
> Google.GData.Client.GDataRequestException: Execution of request
> failed:http://spreadsheets.google.com/feeds/spreadsheets/private/full--->
> System.Net.WebException: The remote server returned an error: (407)
> Proxy
> Authentication Required.
>
> Google Data API SDK Version: 1.7.0.1
>
> Many thanks