An Error Occurred In The Secure Channel Support Msxml
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site
An Error Occurred In The Secure Channel Support Asp
About Us Learn more about Stack Overflow the company Business Learn more about an error occurred in the secure channel support https hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join
An Error Occurred In The Secure Channel Support Quickbooks
the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up An error occurred in the an error occurred in the secure channel support windows xp secure channel support - Classic ASP HTTP Request up vote 18 down vote favorite 3 I have a classic ASP website running on a Windows Server 2012 box. One page makes a HTTP request to another application over https using code like this: Sub ShopXML4http(url,inStr, outStr, method,xmlerror) Dim objhttp Set objhttp = Server.CreateObject ("MSXML2.ServerXMLHTTP.6.0") objHttp.open method, url, false If Method="POST" Then objHttp.Send instr Else objHttp.Send an error occurred in the secure channel support windows 7 End if outstr=objHttp.responseText Set objhttp=nothing End Sub This code works fine almost all of the time (thousands of requests per day), but sporadically it will fail with a message like this: Number: -2147012739 Description: An error occurred in the secure channel support Source: msxml6.dll The application was recently moved from an old Windows 2003 Server to the 2012 Server, and this issue never seemed to be a problem on the old server. In addition, while this error is happening on the website, I could run the exact same code in a VBScript and it works fine. Resetting the application pool seems to cause the site to be able to do the secure HTTP requests again (although it often fixes itself before I can get to the server). iis asp-classic xmlhttprequest windows-server-2012 share|improve this question edited Mar 19 '14 at 12:48 dav_i 13.6k65490 asked Jan 25 '14 at 19:10 Mike S 11416 1 I was able to verify that on the same application pool I was able to successfully do the exact same request in a ASP.NET page code-behind while it was giving the error in the Classic ASP page. –Mike S Jan 25 '14
One games Xbox 360 games PC
An Error Occurred In The Secure Channel Support Utorrent
games Windows games Windows phone games Entertainment All 12157 - an error occurred in the secure channel support Entertainment Movies & TV Music Business & Education Business Students &
Msxml6.dll Error '80072f7d' An Error Occurred In The Secure Channel Support
educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security http://stackoverflow.com/questions/21354992/an-error-occurred-in-the-secure-channel-support-classic-asp-http-request Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Band Microsoft https://support.microsoft.com/en-us/kb/198970 Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
RequestI have a classic ASP website running on a Windows Server 2012 box. One page makes a HTTP request to another application over https using code like this: Sub ShopXML4http(url,inStr, outStr, method,xmlerror) Dim objhttp Set objhttp = http://www.unknownerror.org/opensource/rxi/classic/q/stackoverflow/21354992/an-error-occurred-in-the-secure-channel-support-classic-asp-http-request Server.CreateObject ("MSXML2.ServerXMLHTTP.6.0") objHttp.open method, url, false If Method="POST" Then objHttp.Send instr Else objHttp.Send https://www.experts-exchange.com/questions/28937989/Msxml2-ServerXMLHTTP-6-0-not-using-TLS1-2-in-Windows-Server-2012.html End if outstr=objHttp.responseText Set objhttp=nothing End Sub This code works fine almost all of the time (thousands of requests per day), but sporadically it will fail with a message like this: Number: -2147012739 Description: An error occurred in the secure channel support Source: msxml6.dll The application was recently moved from an old Windows an error 2003 Server to the 2012 Server, and this issue never seemed to be a problem on the old server. In addition, while this error is happening on the website, I could run the exact same code in a VBScript and it works fine. Resetting the application pool seems to cause the site to be able to do the secure HTTP requests again (although it often fixes itself an error occurred before I can get to the server).
iisasp-classicxmlhttprequestwindows-server-2012 3 Answer Stephen Quan Troubleshooting error codes: -2147012739 is a HRESULT. In hexadecimal that's 0x80072F7D. Look at the LOWORD: 0x2F7D. Convert that back to decimal: 12157. Lookup 12157 error codes. Find that it matches: ERROR_WINHTTP_SECURE_CHANNEL_ERROR A bit of Google-fu finds http://msdn.microsoft.com/en-us/library/windows/desktop/aa383770(v=vs.85).aspx which states: ERROR_WINHTTP_SECURE_CHANNEL_ERROR 12157 Indicates that an error occurred having to do with a secure channel (equivalent to error codes that begin with "SEC_E_" and "SEC_I_" listed in the "winerror.h" header file). However, you already discovered this as the message you got was "Description: An error occurred in the secure channel support". So this leads us right back where we started. The other observation I make is that your code is a non-asynchronous WinHTTP request (I know it has to be to function inside ASP), but, the concern is, due to the high frequency, your machine could be processing more than one WinHTTP request concurrently. I've seen some Windows deliberately throttle the total number of active concurrent WinHTTP request by blocking the late requests. For example, on a Windows 7 machine a process cannot make more than 2 concurrent requests to the same remote server. i.e. The 3rd,Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Msxml2.ServerXMLHTTP.6.0 not using TLS1.2 in Windows Server 2012 Want to Advertise Here? Solved Msxml2.ServerXMLHTTP.6.0 not using TLS1.2 in Windows Server 2012 Posted on 2016-04-07 VB Script ASP Windows Server 2012 Microsoft IIS Web Server 2 Verified Solutions 12 Comments 203 Views Last Modified: 2016-05-09 I am using Classic ASP and discovered that Windows 2008 R2 does not support TLS1.2 for either of these methods WinHTTP.WinHTTPRequest.5.1 or Msxml2.ServerXMLHTTP.6.0 (TLS1.2 will now be required by Paypal from June 2016) Various threads state that the only solution is to upgrade to Windows Server 2012. So I have now upgraded a test server from 2008R2 to 2012. I have now found that WinHTTP.WinHTTPRequest.5.1 now truly supports TLS1.2 but Msxml2.ServerXMLHTTP.6.0 DOES NOT. When using MSXML2 I still get an error An error occurred in the secure channel support in msxml6.dll. When the conneciton to Paypal is viewed in Wireshark, you can see that TLSv1 and SSLv3 are still attempted, even though those protocols are disabled (using IIS Crypto) So wondering why this is the case? 0 Question by:simonchalk2016 Facebook Twitter LinkedIn Google Best Solution bysimonchalk2016 Thanks Dan, but don't think it relates to my set-up since not using client certificates. I am now testing on a further server running 2012 R2 instead of just 2012 and found that it works straight away Go to Solution 10 Comments LVL 24 Overall: Level 24 Microsoft IIS Web Server 19 Windows Server 2012 11 ASP 5 Message Active today Expert Comment