407 Proxy Authentication Required

前端 未结 7 670
我在风中等你
我在风中等你 2020-12-06 22:46

I am working on a website, in which I am retrieving XML data from an external URL, using the following code

WebRequest req = WebRequest.Create(\"External se         


        
7条回答
  •  南方客
    南方客 (楼主)
    2020-12-06 23:08

    @Mohit Agarwal

    Many thanks for suggesting adding ' useDefaultCredentials="true" ', you're a star!

    I have been trying to get the .NET library for the Google Data API sample exe's working for weeks without success. Adding your suggestion fixed my problem and I now get a connection instead of 407 Proxy Authentication Required.

    speadsheet.exe.config contents need to be:

    
    
      
        
          
        
      
    
    

    In my case NOT as Google suggest:

    
    
     
      
       
      
     
    
    

    http://code.google.com/p/google-gdata/wiki/WebProxySetup

提交回复
热议问题