简体   繁体   English

xmlhttprequest:网络错误0x800c0019,访问此资源所需的安全证书无效。 WINJS

[英]xmlhttprequest: network error 0x800c0019, security certificate required to access this resource is invalid. WINJS

Good morning, 早上好,

I need to access a https web service, try to make a GET using JQUERY, WINjs.xhr, Windows.Web.Http.HttpClient, .ajax (). 我需要访问https Web服务,尝试使用JQUERY,WINjs.xhr,Windows.Web.Http.HttpClient,.ajax()进行GET。

I download the certificate .cer and add in the package.appxmanifest. 我下载证书.cer并添加到package.appxmanifest中。 But when I do the call to service I get the following error: 但是,当我拨打服务电话时,出现以下错误:

xmlhttprequest: Error 0x800c0019 network, security certificate required to access this resource is invalid. xmlhttprequest:网络错误0x800c0019,访问此资源所需的安全证书无效。

I've tried everything, and it implosible for me. 我已经尝试了一切,这对我来说是不可能的。

Did you try to make a GET request on the main web service domain before others types of request ? 您是否尝试过在其他类型的请求之前先在主Web服务域上发出GET请求?

Bevause It worked for me. Bevause它为我工作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Windows应用商店应用 - WinJS:0x800a1391 - JavaScript运行时错误:'Windows'未定义 - Windows Store App - WinJS: 0x800a1391 - JavaScript runtime error: 'Windows' is undefined Windows 8 App运行正常,现在得到0x800a1391-JavaScript运行时错误:“ WinJS”未定义 - Windows 8 App was working, now getting 0x800a1391 - JavaScript runtime error: 'WinJS' is undefined 跨域调用错误:XMLHttpRequest:网络错误0x80070005,访问被拒绝 - Cross domain call error : XMLHttpRequest: Network Error 0x80070005, Access is denied angularjs http + script7002:xmlhttprequest:网络错误0x80070005,访问被拒绝 - angularjs http + script7002: xmlhttprequest: network error 0x80070005, access is denied XMLHttpRequest:网络错误0x80070005,Microsoft Edge上拒绝访问(但不是IE) - XMLHttpRequest: Network Error 0x80070005, Access is denied on Microsoft Edge (but not IE) SCRIPT7002:XMLHttpRequest:网络错误0x80070005,成功的预检请求后访问被拒绝 - SCRIPT7002: XMLHttpRequest: Network error 0x80070005, Access denied after successful preflight request 完整日历CakePhp 3.x和错误:XMLHttpRequest无法加载“…”。 请求的资源上没有'Access-Control-Allow-Origin'标头吗? - Full Calendar CakePhp 3.x and Error: XMLHttpRequest cannot load '…'. No 'Access-Control-Allow-Origin' header is present on the requested resource? IE11中使用提取API的“ SCRIPT7002:XMLHttpRequest:网络错误0x80070005,访问被拒绝。” - “SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.” in IE11 with fetch API 请求的纹理大小 [0x0] 无效。 我在浏览器中加载图像时出错 - Requested texture size [0x0] is invalid. error when i am loading image in browser Mandrill XMLHttpRequest错误-无效的Access-Control-Allow-Origin标头 - Mandrill XMLHttpRequest Error - invalid Access-Control-Allow-Origin headers
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM