Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/29.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net TLS 1.2之后无法再从经典ASP调用ASMX服务_Asp.net_Asp Classic_Asmx_Application Pool - Fatal编程技术网

Asp.net TLS 1.2之后无法再从经典ASP调用ASMX服务

Asp.net TLS 1.2之后无法再从经典ASP调用ASMX服务,asp.net,asp-classic,asmx,application-pool,Asp.net,Asp Classic,Asmx,Application Pool,我们有一个主要是Webforms的网站,但仍然包含用经典ASP编写的页面主体,共享目录结构。这些经典页面使用asp.net端的asmx服务来获取连接信息。多年来,它一直在充分发挥作用,直到最近我们升级到TLS 1.2。现在,我们在xmlhttp.send DataToSend语句中得到以下错误 msxml3.dll错误“80072efe” 与服务器的连接被异常终止 我的研究表明,这是当一个经典页面占用相同的进程或应用程序池时,从另一个经典页面调用一个经典页面的结果。但我调用的是ASP.NET A

我们有一个主要是Webforms的网站,但仍然包含用经典ASP编写的页面主体,共享目录结构。这些经典页面使用asp.net端的asmx服务来获取连接信息。多年来,它一直在充分发挥作用,直到最近我们升级到TLS 1.2。现在,我们在xmlhttp.send DataToSend语句中得到以下错误

msxml3.dll错误“80072efe” 与服务器的连接被异常终止

我的研究表明,这是当一个经典页面占用相同的进程或应用程序池时,从另一个经典页面调用一个经典页面的结果。但我调用的是ASP.NET ASMX服务,这是一个不同的进程和池…对吗

除了重写经典页面,我如何解决这个问题

.NET Framework 4.5.2

IIS 7.5.7600.16385

Windows Server 2008 R2

答案是肯定的 . 我们必须将值为0x0000080的DefaultSecureProtocols添加到64位和32位WinHttp注册表项中。支持文章中有详细介绍。

您安装了吗?也看到
Dim xmlhttp
Dim DataToSend
DataToSend="OrigId=XXXXX&OrigPassword=YYYYYY&ConnectionName=" & pConnectionName
Dim postUrl
postUrl = "https://" & Request.ServerVariables("server_name") & "/SSLWebServices/ConnectionLookUp.asmx/GetConnectionData"
Set xmlhttp = server.Createobject("MSXML2.serverXMLHTTP")
xmlhttp.setOption 2,13056
xmlhttp.Open "POST",postUrl,false
xmlhttp.setRequestHeader "Content-Type","application/x-www-form-urlencoded"

xmlhttp.send DataToSend

dim strResponse
strResponse = xmlhttp.responseText