We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

An exception occured during a WebClient request.RSS

10 replies

Last post Sep 30, 2020 06:13 PM by lextm

  • An exception occured during a WebClient request.

    Sep 26, 2020 09:37 AM|xSarah|LINK

    Hey, so I'm getting "There are no products or applications available to install." on spotlight and applications tabs.  I tried to install PHP 5.3.28 in products tab on Windows Server 2008 R2, and it's giving me webclient request error when it's downloading RunPHP Helper. Firewall is disabled, internet security is mostly disabled.

    Heres the log:

    DownloadManager Information: 0 : Loading product xml from: https://aka.ms/webpifeed51
    DownloadManager Information: 0 : https://aka.ms/webpifeed51 responded with 301
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 301 Moved Permanently
    Location: https://webpifeed.blob.core.windows.net/webpifeed/5.1/WebProductList.xml
    Server: Kestrel
    Request-Context: appId=cid-v1:9b037ab9-fa5a-4c09-81bd-41ffa859f01e
    X-Response-Cache-Status: True
    X-Powered-By: ASP.NET
    Content-Length: 0
    Expires: Sat, 26 Sep 2020 09:32:17 GMT
    Cache-Control: max-age=0, no-cache, no-store
    Pragma: no-cache
    Date: Sat, 26 Sep 2020 09:32:17 GMT
    Connection: keep-alive
    Strict-Transport-Security: max-age=31536000 ; includeSubDomains


    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '7780728'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '7780728'
    DownloadManager Warning: 0 : Could not resolve keyword ID 5nine
    DownloadManager Warning: 0 : Could not resolve keyword ID Security
    DownloadManager Warning: 0 : Could not resolve keyword ID 5nine
    DownloadManager Warning: 0 : Could not resolve keyword ID Security
    DownloadManager Warning: 0 : Could not resolve keyword ID Backup
    DownloadManager Warning: 0 : Could not resolve keyword ID Portal
    DownloadManager Warning: 0 : Could not resolve keyword ID Backup
    DownloadManager Warning: 0 : Could not resolve keyword ID Portal
    DownloadManager Warning: 0 : Could not resolve keyword ID Backup
    DownloadManager Warning: 0 : Could not resolve keyword ID Resource Provider
    DownloadManager Warning: 0 : Could not resolve keyword ID VMWare
    DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud
    DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack
    DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert
    DownloadManager Warning: 0 : Could not resolve keyword ID VMWare
    DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud
    DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack
    DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert
    DownloadManager Warning: 0 : Could not resolve keyword ID VMWare
    DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud
    DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack
    DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert
    DownloadManager Warning: 0 : Could not resolve keyword ID Usage
    DownloadManager Warning: 0 : Could not resolve keyword ID Billing
    DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud
    DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack
    DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert
    DownloadManager Warning: 0 : Could not resolve keyword ID Usage
    DownloadManager Warning: 0 : Could not resolve keyword ID Billing
    DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud
    DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack
    DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert
    DownloadManager Warning: 0 : Could not resolve keyword ID Usage
    DownloadManager Warning: 0 : Could not resolve keyword ID Billing
    DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud
    DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack
    DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert
    DownloadManager Warning: 0 : Could not resolve keyword ID Usage
    DownloadManager Warning: 0 : Could not resolve keyword ID Billing
    DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud
    DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack
    DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert
    DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Cruiser
    DownloadManager Warning: 0 : Could not resolve keyword ID Billing
    DownloadManager Warning: 0 : Could not resolve keyword ID Showback
    DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Cruiser
    DownloadManager Warning: 0 : Could not resolve keyword ID Billing
    DownloadManager Warning: 0 : Could not resolve keyword ID Showback
    DownloadManager Warning: 0 : Could not resolve keyword ID Terawe
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Loading product xml from: https://aka.ms/webapplicationlist
    DownloadManager Information: 0 : https://aka.ms/webapplicationlist responded with 301
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 301 Moved Permanently
    Location: https://webgallery.microsoft.com/feed/webapplicationlist.xml
    Server: Kestrel
    Request-Context: appId=cid-v1:9b037ab9-fa5a-4c09-81bd-41ffa859f01e
    X-Response-Cache-Status: True
    X-Powered-By: ASP.NET
    Content-Length: 0
    Expires: Sat, 26 Sep 2020 09:32:50 GMT
    Cache-Control: max-age=0, no-cache, no-store
    Pragma: no-cache
    Date: Sat, 26 Sep 2020 09:32:50 GMT
    Connection: keep-alive
    Strict-Transport-Security: max-age=31536000 ; includeSubDomains


    DownloadManager Error: 0 : Error downloading product file: 'System.Net.WebException: InternetOpenUrl returned 0x80072EFF: Unknown error 12031.
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.ThrowGetLastErrorException(String offendingFunction)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile)
       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 osType)
    DownloadManager Error: 0 : Error loading cached XML file: System.IO.FileNotFoundException: Could not find file 'C:\Users\xd\AppData\Local\Microsoft\Web Platform Installer\-966730450.xml'.
    File name: 'C:\Users\xd\AppData\Local\Microsoft\Web Platform Installer\-966730450.xml'
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
       at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
       at System.IO.StreamReader..ctor(String path)
       at Microsoft.Web.PlatformInstaller.ProductManager.LoadDocument(String xmlPath)
       at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(String xmlFile, Boolean loadEnclosures)
       at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 osType)
    DownloadManager Error: 0 : WebClient download error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.NotSupportedException: The requested security protocol is not supported.
       at System.Net.ServicePointManager.set_SecurityProtocol(SecurityProtocolType value)
       at Microsoft.Web.PlatformInstaller.AutoProxyHttpWebClient.GetWebRequest(Uri address)
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       --- End of inner exception stack trace ---
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       at Microsoft.Web.PlatformInstaller.ProductManager.WebClientDownloadFile(Uri url, String cacheFileLocation)
    DownloadManager Error: 0 : WebClient error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.NotSupportedException: The requested security protocol is not supported.
       at System.Net.ServicePointManager.set_SecurityProtocol(SecurityProtocolType value)
       at Microsoft.Web.PlatformInstaller.AutoProxyHttpWebClient.GetWebRequest(Uri address)
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       --- End of inner exception stack trace ---
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       at Microsoft.Web.PlatformInstaller.ProductManager.WebClientDownloadFile(Uri url, String cacheFileLocation)
       at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 osType)
    DownloadManager Information: 0 : https://aka.ms/webapplicationlist responded with 301
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 301 Moved Permanently
    Location: https://webgallery.microsoft.com/feed/webapplicationlist.xml
    Server: Kestrel
    Request-Context: appId=cid-v1:9b037ab9-fa5a-4c09-81bd-41ffa859f01e
    X-Response-Cache-Status: True
    X-Powered-By: ASP.NET
    Content-Length: 0
    Expires: Sat, 26 Sep 2020 09:32:51 GMT
    Cache-Control: max-age=0, no-cache, no-store
    Pragma: no-cache
    Date: Sat, 26 Sep 2020 09:32:51 GMT
    Connection: keep-alive
    Strict-Transport-Security: max-age=31536000 ; includeSubDomains


    DownloadManager Error: 0 : WinInet error: System.Net.WebException: InternetOpenUrl returned 0x80072EFF: Unknown error 12031.
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.ThrowGetLastErrorException(String offendingFunction)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile)
       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 osType)
    DownloadManager Error: 0 : Exception while loading file 'https://aka.ms/webapplicationlist': System.Net.WebException: InternetOpenUrl returned 0x80072EFF: Unknown error 12031.
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.ThrowGetLastErrorException(String offendingFunction)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile)
       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 osType)
       at Microsoft.Web.PlatformInstaller.ProductManager.LoadExternalFile(Uri uri)
       at Microsoft.Web.PlatformInstaller.ProductManager.LoadExternalFiles(XmlElement rootElement, XmlNamespaceManager nsm)
    DownloadManager Information: 0 : Loading product xml from: https://webpifeed.blob.core.windows.net/webpifeed/MediaProductList.xml
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '52513'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '52513'
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://webpifeed.blob.core.windows.net/webpifeed/MediaProductList.xml' after preprocessing, location on disk: 'C:\Users\xd\AppData\Local\Microsoft\Web Platform Installer\preprocessor\2000756975.xml'
    DownloadManager Information: 0 : Loading product xml from: https://webpifeed.blob.core.windows.net/webpifeed/ToolsProductList.xml
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '66595'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '66595'
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://webpifeed.blob.core.windows.net/webpifeed/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\xd\AppData\Local\Microsoft\Web Platform Installer\preprocessor\609314840.xml'
    DownloadManager Information: 0 : Loading product xml from: https://webpifeed.blob.core.windows.net/webpifeed/EnterpriseProductList.xml
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '40796'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '40796'
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://webpifeed.blob.core.windows.net/webpifeed/EnterpriseProductList.xml' after preprocessing, location on disk: 'C:\Users\xd\AppData\Local\Microsoft\Web Platform Installer\preprocessor\140237651.xml'
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://aka.ms/webpifeed51' after preprocessing, location on disk: 'C:\Users\xd\AppData\Local\Microsoft\Web Platform Installer\preprocessor\1460077924.xml'
    DownloadManager Information: 0 : Getting ratings file from http://go.microsoft.com/?linkid=9752395
    DownloadManager Error: 0 : WebClient download error. Uri: http://go.microsoft.com/fwlink/?LinkID=784902&clcid=0x409, Error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.NotSupportedException: The requested security protocol is not supported.
       at System.Net.ServicePointManager.set_SecurityProtocol(SecurityProtocolType value)
       at Microsoft.Web.PlatformInstaller.AutoProxyHttpWebClient.GetWebRequest(Uri address)
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       --- End of inner exception stack trace ---
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
    DownloadManager Error: 0 : WebClient download error. Uri: http://go.microsoft.com/fwlink/?LinkID=784902&clcid=0x409, Error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.NotSupportedException: The requested security protocol is not supported.
       at System.Net.ServicePointManager.set_SecurityProtocol(SecurityProtocolType value)
       at Microsoft.Web.PlatformInstaller.AutoProxyHttpWebClient.GetWebRequest(Uri address)
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       --- End of inner exception stack trace ---
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
    DownloadManager Error: 0 : WebClient download error. Uri: http://go.microsoft.com/fwlink/?LinkID=784902&clcid=0x409, Error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.NotSupportedException: The requested security protocol is not supported.
       at System.Net.ServicePointManager.set_SecurityProtocol(SecurityProtocolType value)
       at Microsoft.Web.PlatformInstaller.AutoProxyHttpWebClient.GetWebRequest(Uri address)
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       --- End of inner exception stack trace ---
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
    DownloadManager Information: 0 : http://go.microsoft.com/fwlink/?LinkID=784902&clcid=0x409 responded with 302
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 302 Moved Temporarily
    Location: http://download.microsoft.com/download/A/6/F/A6FCD72E-D280-42B6-A315-25B8E3B77CDE/fabric_0r_150.png
    Server: Kestrel
    Request-Context: appId=cid-v1:b47e5e27-bf85-45ba-a97c-0377ce0e5779
    X-Response-Cache-Status: True
    X-Powered-By: ASP.NET
    Content-Length: 0
    Expires: Sat, 26 Sep 2020 09:32:53 GMT
    Cache-Control: max-age=0, no-cache, no-store
    Pragma: no-cache
    Date: Sat, 26 Sep 2020 09:32:53 GMT
    Connection: keep-alive


    DownloadManager Information: 0 : http://go.microsoft.com/fwlink/?LinkID=784902&clcid=0x409 responded with 302
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 302 Moved Temporarily
    Location: http://download.microsoft.com/download/A/6/F/A6FCD72E-D280-42B6-A315-25B8E3B77CDE/fabric_0r_150.png
    Server: Kestrel
    Request-Context: appId=cid-v1:b47e5e27-bf85-45ba-a97c-0377ce0e5779
    X-Response-Cache-Status: True
    X-Powered-By: ASP.NET
    Content-Length: 0
    Expires: Sat, 26 Sep 2020 09:32:53 GMT
    Cache-Control: max-age=0, no-cache, no-store
    Pragma: no-cache
    Date: Sat, 26 Sep 2020 09:32:53 GMT
    Connection: keep-alive


    DownloadManager Information: 0 : http://go.microsoft.com/fwlink/?LinkID=784902&clcid=0x409 responded with 302
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 302 Moved Temporarily
    Location: http://download.microsoft.com/download/A/6/F/A6FCD72E-D280-42B6-A315-25B8E3B77CDE/fabric_0r_150.png
    Server: Kestrel
    Request-Context: appId=cid-v1:b47e5e27-bf85-45ba-a97c-0377ce0e5779
    X-Response-Cache-Status: True
    X-Powered-By: ASP.NET
    Content-Length: 0
    Expires: Sat, 26 Sep 2020 09:32:53 GMT
    Cache-Control: max-age=0, no-cache, no-store
    Pragma: no-cache
    Date: Sat, 26 Sep 2020 09:32:53 GMT
    Connection: keep-alive


    DownloadManager Information: 0 : http://go.microsoft.com/?linkid=9752395 responded with 302
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 302 Moved Temporarily
    Location: http://www.microsoft.com/web/handlers/WebPI.ashx?command=getatomfeedwithavgratingquery
    Server: Kestrel
    Request-Context: appId=cid-v1:b47e5e27-bf85-45ba-a97c-0377ce0e5779
    X-Response-Cache-Status: True
    X-Powered-By: ASP.NET
    Content-Length: 0
    Expires: Sat, 26 Sep 2020 09:32:53 GMT
    Cache-Control: max-age=0, no-cache, no-store
    Pragma: no-cache
    Date: Sat, 26 Sep 2020 09:32:53 GMT
    Connection: keep-alive


    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '2708'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '2708'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '2708'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '2708'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '2708'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '2708'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '0'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '0'
    DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150
    DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed.
    DownloadManager Error: 0 : Error loading rating files: System.Xml.XmlException: Root element is missing.
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
       at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
       at System.Xml.XmlTextReaderImpl.Read()
       at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
       at System.Xml.XmlDocument.Load(XmlReader reader)
       at System.Xml.XmlDocument.Load(String filename)
       at Microsoft.Web.PlatformInstaller.ProductServiceImpl.GetAppRatings()
    DownloadManager Error: 0 : WebClient download error. Uri: http://www.microsoft.com/web/media/gallery/apps-screenshots/Microsoft-PHP.png, Error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.NotSupportedException: The requested security protocol is not supported.
       at System.Net.ServicePointManager.set_SecurityProtocol(SecurityProtocolType value)
       at Microsoft.Web.PlatformInstaller.AutoProxyHttpWebClient.GetWebRequest(Uri address)
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       --- End of inner exception stack trace ---
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
    DownloadManager Information: 0 : http://www.microsoft.com/web/media/gallery/apps-screenshots/Microsoft-PHP.png responded with 301
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 301 Moved Permanently
    Content-Length: 0
    Location: https://developer.microsoft.com/web/media/gallery/apps-screenshots/Microsoft-PHP.png
    Strict-Transport-Security: max-age=31536000; includeSubDomains
    X-EdgeConnect-Origin-MEX-Latency: 64
    Date: Sat, 26 Sep 2020 09:32:55 GMT
    Connection: keep-alive
    TLS_version: UNKNOWN
    X-RTag: RT


    DownloadManager Error: 0 : WinInet download error. Uri: http://www.microsoft.com/web/media/gallery/apps-screenshots/Microsoft-PHP.png, Error: System.Net.WebException: InternetOpenUrl returned 0x80072F7D: Unknown error 12157.
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.ThrowGetLastErrorException(String offendingFunction)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
       at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
    DownloadManager Information: 0 : Adding product PHP 5.3.28 (PHP53) to cart
    DownloadManager Information: 0 : Adding product PHP Manager for IIS (PHPManager) to cart
    DownloadManager Information: 0 : Adding product Microsoft Drivers 3.0 for PHP v5.3 for SQL Server in IIS (SQLDriverPHP53IIS) to cart
    DownloadManager Information: 0 : Adding product Windows Cache Extension 1.3 for PHP 5.3 (WinCache53) to cart
    DownloadManager Error: 0 : WebClient download error. Uri: http://www.microsoft.com/web/media/gallery/apps-screenshots/webplatformsplashscreen.png, Error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.NotSupportedException: The requested security protocol is not supported.
       at System.Net.ServicePointManager.set_SecurityProtocol(SecurityProtocolType value)
       at Microsoft.Web.PlatformInstaller.AutoProxyHttpWebClient.GetWebRequest(Uri address)
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       --- End of inner exception stack trace ---
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
    DownloadManager Error: 0 : WebClient download error. Uri: http://www.microsoft.com/web/media/gallery/apps-screenshots/webplatformsplashscreen.png, Error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.NotSupportedException: The requested security protocol is not supported.
       at System.Net.ServicePointManager.set_SecurityProtocol(SecurityProtocolType value)
       at Microsoft.Web.PlatformInstaller.AutoProxyHttpWebClient.GetWebRequest(Uri address)
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       --- End of inner exception stack trace ---
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
    DownloadManager Information: 0 : Dependent product FastCGIBackport does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product FastCGIBackport does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product FastCGIBackport does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Adding product 'PHPManager'
    DownloadManager Information: 0 : Adding product 'SQLDriverPHP53IIS'
    DownloadManager Information: 0 : Adding product 'WinCache53'
    DownloadManager Information: 0 : Adding product 'PHP53'
    DownloadManager Information: 0 : Adding dependency product 'runphp
    DownloadManager Information: 0 : http://www.microsoft.com/web/media/gallery/apps-screenshots/webplatformsplashscreen.png responded with 301
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 301 Moved Permanently
    Content-Length: 0
    Location: https://developer.microsoft.com/web/media/gallery/apps-screenshots/webplatformsplashscreen.png
    Strict-Transport-Security: max-age=31536000; includeSubDomains
    X-EdgeConnect-Origin-MEX-Latency: 78
    Date: Sat, 26 Sep 2020 09:32:57 GMT
    Connection: keep-alive
    TLS_version: UNKNOWN
    X-RTag: RT


    DownloadManager Information: 0 : http://www.microsoft.com/web/media/gallery/apps-screenshots/webplatformsplashscreen.png responded with 301
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 301 Moved Permanently
    Content-Length: 0
    Location: https://developer.microsoft.com/web/media/gallery/apps-screenshots/webplatformsplashscreen.png
    Strict-Transport-Security: max-age=31536000; includeSubDomains
    X-EdgeConnect-Origin-MEX-Latency: 18
    Date: Sat, 26 Sep 2020 09:32:57 GMT
    Connection: keep-alive
    TLS_version: UNKNOWN
    X-RTag: RT


    DownloadManager Error: 0 : WinInet download error. Uri: http://www.microsoft.com/web/media/gallery/apps-screenshots/webplatformsplashscreen.png, Error: System.Net.WebException: InternetOpenUrl returned 0x80072F7D: Unknown error 12157.
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.ThrowGetLastErrorException(String offendingFunction)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
       at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
    DownloadManager Error: 0 : WinInet download error. Uri: http://www.microsoft.com/web/media/gallery/apps-screenshots/webplatformsplashscreen.png, Error: System.Net.WebException: InternetOpenUrl returned 0x80072F7D: Unknown error 12157.
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.ThrowGetLastErrorException(String offendingFunction)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
       at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
    DownloadManager Information: 0 : Setting current install to 1
    DownloadManager Information: 0 : Starting install sequence
    DownloadManager Information: 0 : Downloading file 'https://sourceforge.net/projects/phpinstallermsi/files/zip/runphp.zip/download' to: C:\Users\xd\AppData\Local\Temp\tmpAC4D.tmp
    DownloadManager Error: 0 : Error while downloading file 'https://sourceforge.net/projects/phpinstallermsi/files/zip/runphp.zip/download'. Exception: System.Net.WebException: InternetOpenUrl returned 0x80072F7D: Unknown error 12157.
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.ThrowGetLastErrorException(String offendingFunction)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
       at Microsoft.Web.PlatformInstaller.InstallManager.WinInetDownloadInstallerFile(InstallerContext currentInstall, String& failureReason)
    DownloadManager Warning: 0 : WinInet failure: InternetOpenUrl returned 0x80072F7D: Unknown error 12157.. Retrying download for 'RunPHP Helper'
    DownloadManager Information: 0 : WebClient downloading file 'https://sourceforge.net/projects/phpinstallermsi/files/zip/runphp.zip/download' to: C:\Users\xd\AppData\Local\Temp\tmpB341.tmp
    DownloadManager Error: 0 : WebClient error while downloading file 'https://sourceforge.net/projects/phpinstallermsi/files/zip/runphp.zip/download'. Exception: System.Net.WebException: An exception occurred during a WebClient request. ---> System.NotSupportedException: The requested security protocol is not supported.
       at System.Net.ServicePointManager.set_SecurityProtocol(SecurityProtocolType value)
       at Microsoft.Web.PlatformInstaller.AutoProxyHttpWebClient.GetWebRequest(Uri address)
       at System.Net.WebClient.OpenRead(Uri address)
       --- End of inner exception stack trace ---
       at System.Net.WebClient.OpenRead(Uri address)
       at Microsoft.Web.PlatformInstaller.InstallManager.WebClientDownloadInstallerFile(InstallerContext currentInstall, String& errorMessage)
    DownloadManager Warning: 0 : WebClient failure: An exception occurred during a WebClient request.. Retrying download for 'RunPHP Helper'
    DownloadManager Information: 0 : Downloading file 'https://sourceforge.net/projects/phpinstallermsi/files/zip/runphp.zip/download' to: C:\Users\xd\AppData\Local\Temp\tmpB342.tmp
    DownloadManager Error: 0 : Error while downloading file 'https://sourceforge.net/projects/phpinstallermsi/files/zip/runphp.zip/download'. Exception: System.Net.WebException: InternetOpenUrl returned 0x80072F7D: Unknown error 12157.
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.ThrowGetLastErrorException(String offendingFunction)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
       at Microsoft.Web.PlatformInstaller.InstallManager.WinInetDownloadInstallerFile(InstallerContext currentInstall, String& failureReason)
    DownloadManager Error: 0 : WinInet failure: InternetOpenUrl returned 0x80072F7D: Unknown error 12157.. Download failure for RunPHP Helper.
    DownloadManager Warning: 0 : Dependency failed for product 'PHP 5.3.28'. Skipping download.
    DownloadManager Warning: 0 : Dependency failed for product 'Windows Cache Extension 1.3 for PHP 5.3'. Skipping download.
    DownloadManager Warning: 0 : Dependency failed for product 'Microsoft Drivers 3.0 for PHP v5.3 for SQL Server in IIS'. Skipping download.
    DownloadManager Warning: 0 : Dependency failed for product 'PHP Manager for IIS'. Skipping download.
    DownloadManager Information: 0 : Product PHP 5.3.28 had a dependency fail. Increasing install product to 2
    DownloadManager Information: 0 : Product Windows Cache Extension 1.3 for PHP 5.3 had a dependency fail. Increasing install product to 3
    DownloadManager Information: 0 : Product Microsoft Drivers 3.0 for PHP v5.3 for SQL Server in IIS had a dependency fail. Increasing install product to 4
    DownloadManager Information: 0 : Product PHP Manager for IIS had a dependency fail. Increasing install product to 5
    DownloadManager Information: 0 : Product: runphp, Install Status: DownloadFailed-None, Install Time: 00:00:00
    DownloadManager Information: 0 : Product: PHP53, Install Status: DependencyFailed-None, Install Time: 00:00:00
    DownloadManager Information: 0 : Product: WinCache53, Install Status: DependencyFailed-None, Install Time: 00:00:00
    DownloadManager Information: 0 : Product: SQLDriverPHP53IIS, Install Status: DependencyFailed-None, Install Time: 00:00:00
    DownloadManager Information: 0 : Product: PHPManager, Install Status: DependencyFailed-None, Install Time: 00:00:00

  • Re: An exception occured during a WebClient request.

    Sep 28, 2020 07:56 AM|Jalpa Panchal|LINK

    Hi,

    you could try to install the php manually:

    https://www.php.net/downloads.php

    and then follow the below document to conifgure php with iis:

    https://docs.microsoft.com/en-us/iis/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis

    Regards,

    Jalpa

    .NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
  • Re: An exception occured during a WebClient request.

    Sep 28, 2020 09:30 AM|xSarah|LINK

    Jalpa Panchal

    Hi,

    you could try to install the php manually:

    https://www.php.net/downloads.php

    and then follow the below document to conifgure php with iis:

    https://docs.microsoft.com/en-us/iis/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis

    Regards,

    Jalpa

    Does that mean WPI is dead? I tried on my main PC and it seems like nothing is loading either.

  • Re: An exception occured during a WebClient request.

    Sep 28, 2020 09:44 AM|Jalpa Panchal|LINK

    no, it does not mean WPI is dead. the web platform installer product is not managed by Microsoft. 

    as you can see from the below image the PHP product publisher is https://www.php.net/.

    sometimes the product has some issue so it gives the error while downloading. at that time the other option is you could manually install and download it.

    i tried to download the same PHP version at my side. it does not give me any error. you could try to check your network connection , antivirus or firewall setting.

    also try to download any other product or php 7.X version and check does it gives you any error?

    .NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
  • Re: An exception occured during a WebClient request.

    Sep 28, 2020 11:31 AM|xSarah|LINK

    Yeah, it says download progress RunPHP Helper 0 kb, then after a while it switches to other things, it downloads them, and (now i get underlying connection was closed for runphp) but other things just say product that depends on it did not install , certain websites seem to not to work as well, could be internet explorer issue as I can ping the websites. Firewall and AV are definitely off.

  • Re: An exception occured during a WebClient request.

    Sep 29, 2020 06:46 AM|Jalpa Panchal|LINK

    try to set your internet explorer security setting to medium and check. 

    .NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
  • Re: An exception occured during a WebClient request.

    Sep 29, 2020 09:08 AM|xSarah|LINK

    Tested Windows 7, has same issue too, getting a new browser fixes some sites not loading but gives certificate issues, installing custom certificate fixes like 50% of the sites but WPI still refuses to download PHP Helper.

  • Re: An exception occured during a WebClient request.

    Sep 29, 2020 09:38 PM|lextm|LINK

    xSarah

    Tested Windows 7

    Web Platform Installer might be dying, but Windows 7 is long dead. You have to be on Windows 8.1 and above.

    Lex Li
    Want to have a chat on the issues you meet? Find me at https://booktime.xyz/p/lextm
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: An exception occured during a WebClient request.

    Sep 30, 2020 08:50 AM|xSarah|LINK

    I mean I get it that Linux is best for having servers, but I thought that "the most compatible win version for making servers" wouldn't have such stupid issue. I've been waiting for this answer though, thanks.

  • Re: An exception occured during a WebClient request.

    Sep 30, 2020 09:16 AM|Jalpa Panchal|LINK

    for a workaround, you could try to install the PHP manually. and make sure you enable tls1.1 and 1.2 on internet explorer. and the issue is related to the certificate. 

    .NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
  • Re: An exception occured during a WebClient request.

    Sep 30, 2020 06:13 PM|lextm|LINK

    xSarah

    mean I get it that Linux is best for having servers

    Even Microsoft agrees with you. They are not going to support PHP 8 on IIS, https://news-web.php.net/php.internals/110907

    Lex Li
    Want to have a chat on the issues you meet? Find me at https://booktime.xyz/p/lextm
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.