« Previous Next »

Thread: Error when trying to install through a proxy

Last post 10-27-2009 4:20 PM by richma. 23 replies.

Average Rating Rate It (5)

RSS

Page 2 of 2 (24 items) < Previous 1 2

Sort Posts:

  • 06-22-2009, 9:58 AM In reply to

    • richma
    • Top 25 Contributor
    • Joined on 04-06-2009, 4:10 PM
    • Posts 362

    Re: Error when trying to install through a proxy

     Helio  

    There was  a typo in the firts config I did not close out the defaultProxy  element.

    The following should launch without error.  

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration> 
    <system.net>   
    <defaultProxy enabled="True" useDefaultCredentials="True"/>     
     </system.net>
    </configuration>

  • 07-09-2009, 2:56 PM In reply to

    • feldmand
    • Not Ranked
    • Joined on 07-09-2009, 6:55 PM
    • Posts 1

    Re: Error when trying to install through a proxy

    I do not have a c:\program files\microsoft\platform folder.

    Each time I launch the installer from the web so nothing is installed.

  • 07-09-2009, 3:26 PM In reply to

    • richma
    • Top 25 Contributor
    • Joined on 04-06-2009, 4:10 PM
    • Posts 362

    Re: Error when trying to install through a proxy

    Hi Feldman,

    Can you provide some more details about what is failing  or any error messages you are receiving?

    For more details you can find log files at one of the locations below or depending on this fails you should see a "View Log here" link on the installation results  windows.

    Vista / 2008 :     %localappdata%\Microsoft\Web Platform Installer\logs
    XP, W2K3:           %USERPROFILE%\Local Settings\Application Data\Microsoft\Web Platform Installer\logs

    If you have any questions please post back any entries you find.

    thanks

    Richard

  • 07-17-2009, 3:56 AM In reply to

    Re: Error when trying to install through a proxy

     I have tried both the above configs and still receive a 407 (within corporate network running proxy).

    The Web PI list of options appears fine, I choose PHP, and get the following error:

    DownloadManager Error: 0 : Error while downloading file 'http://go.microsoft.com/fwlink/?LinkId=148254'. Exception: System.Exception: Url 'http://windows.php.net/downloads/releases/php-5.2.10-nts-Win32-VC6-x86.msi' returned HTTP status code: 407
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName)
       at Microsoft.Web.PlatformInstaller.InstallManager.DownloadInstallerFile(InstallerItemInstallContext currentInstall, String& failureReason)
    DownloadManager Warning: 0 : Retrying download for product 'PHP 5.2.10'
    DownloadManager Information: 0 : Downloading file 'http://go.microsoft.com/fwlink/?LinkId=148254' to: C:\Documents and Settings\Username\Local Settings\Temp\1\tmp863.tmp
    DownloadManager Error: 0 : Error while downloading file 'http://go.microsoft.com/fwlink/?LinkId=148254'. Exception: System.Exception: Url 'http://windows.php.net/downloads/releases/php-5.2.10-nts-Win32-VC6-x86.msi' returned HTTP status code: 407
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName)
       at Microsoft.Web.PlatformInstaller.InstallManager.DownloadInstallerFile(InstallerItemInstallContext currentInstall, String& failureReason)
    DownloadManager Error: 0 : Final download retry for product 'PHP 5.2.10' failed.
    DownloadManager Information: 0 : Clearing cart

  • 10-07-2009, 4:35 AM In reply to

    Re: Error when trying to install through a proxy

     Did u finally solved this problem. I am also facing similar problem, please let me know incase of any updates from your side

     

    Thanks in advance,

    Subbu

  • 10-14-2009, 11:35 AM In reply to

    • oligray
    • Not Ranked
    • Joined on 10-14-2009, 3:29 PM
    • Posts 1

    Re: Error when trying to install through a proxy

    Same error 407 for me here.. the error certainly looks proxy related but neither XML proxy config worked :(

  • 10-14-2009, 6:51 PM In reply to

    • richma
    • Top 25 Contributor
    • Joined on 04-06-2009, 4:10 PM
    • Posts 362

    Re: Error when trying to install through a proxy

    Can you post the details from the most recent WebPi.txt     log after reproducing the issue.

    Log Locations  :

    Vista / 2008 :     %localappdata%\Microsoft\Web Platform Installer\logs\webpi
    XP, W2K3:           %USERPROFILE%\Local Settings\Application Data\Microsoft\Web Platform Installer\logs\wepbi

     

    Thanks

    Richard

  • 10-23-2009, 11:07 AM In reply to

    Re: Error when trying to install through a proxy

    I am receiving the same issues discussed above when behind a proxy, I am on windows XP and the log information as requested contains the following:

    DownloadManager Information: 0 : Loading product xml from 'https://go.microsoft.com/fwlink/?LinkId=158722'

    DownloadManager Information: 0 : Product manager downloading: https://go.microsoft.com/fwlink/?LinkId=158722

    DownloadManager Error: 0 : Error downloading product file: 'System.InvalidOperationException: Url 'https://www.microsoft.com/web/webpi/2.0/WebProductList.xml' returned HTTP status code: 407

    at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile, String headers)

    at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)

    at Microsoft.Web.PlatformInstaller.ProductManager.DownloadFile(Uri url, String cacheFileLocation, DateTime productFileLastModified)

    at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)

    DownloadManager Information: 0 : Product manager downloading: https://go.microsoft.com/fwlink/?LinkId=158722

    DownloadManager Information: 0 : Product manager downloading: https://go.microsoft.com/fwlink/?LinkId=158722

    DownloadManager Error: 0 : WebClient download error: System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.

    at System.Net.WebClient.DownloadFile(Uri address, String fileName)

    at Microsoft.Web.PlatformInstaller.ProductManager.WebClientDownloadFile(Uri url, String cacheFileLocation)

    DownloadManager Error: 0 : Error getting updated product file: 'System.InvalidOperationException: Url 'https://www.microsoft.com/web/webpi/2.0/WebProductList.xml' returned HTTP status code: 407

    at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile, String headers)

    at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)

    at Microsoft.Web.PlatformInstaller.ProductManager.DownloadFile(Uri url, String cacheFileLocation, DateTime productFileLastModified)

    at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)'

    DownloadManager Error: 0 : Error loading product file: System.InvalidOperationException: Url 'https://www.microsoft.com/web/webpi/2.0/WebProductList.xml' returned HTTP status code: 407

    at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)

    at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory)

    at Microsoft.Web.PlatformInstaller.ProductServiceImpl.LoadProducts(String[] feeds)

  • 10-27-2009, 4:20 PM In reply to

    • richma
    • Top 25 Contributor
    • Joined on 04-06-2009, 4:10 PM
    • Posts 362

    Re: Error when trying to install through a proxy

    Can you try the following config file.

     

    Create a file named  WebPlatformInstaller.exe.config in the same folder where WebPlatformInstaller.exe was installed (under Program Files\Microsoft\Web Platform Installer) 

     

    -- Add the following contents  

     

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration> 
    <system.net>   
    <defaultProxy enabled="True" useDefaultCredentials="True"/>     
     </system.net>
    </configuration>

     

    -- Save the file and test WebPI.

Page 2 of 2 (24 items) < Previous 1 2
Microsoft Communities