2016-12-19 18 views
0

私はasp.net MVCフォームにcaptcha(BotDetect CAPTCHA)を追加しました。しかし、httpサイトで正しく動作していますが、httpsで動作していません。BotDetect CAPTCHAがhttpsで動作しない

以下のドキュメントに従いました。

https://captcha.com/doc/aspnet/asp.net-mvc-captcha-quickstart.html

これは私のHTTPサイトです。 enter image description here

ただし、https;

enter image description here

これらは、私は、ブラウザのコンソールで取得エラーです。

/BotDetectCaptcha.ashx?get=script-include 404 (Not Found) 
/BotDetectCaptcha.ashx?get=layout-stylesheet 404 (Not Found) 
Uncaught ReferenceError: BotDetect is not defined 
/BotDetectCaptcha.ashx?get=image&c=ExampleCaptcha&t=be41dfc9b19b449f98fdd794a00e1cfa 404 (Not Found) 
/BotDetectCaptcha.ashx?get=reload-icon 404 (Not Found) 
/BotDetectCaptcha.ashx?get=sound-icon 404 (Not Found) 

答えて

0

問題が見つかりました。私はweb.config(Liveで)の下で逃した。

<remove name="BotDetectCaptchaHandler" /> 
<add name="BotDetectCaptchaHandler" preCondition="integratedMode" verb="GET" path="BotDetectCaptcha.ashx" type="BotDetect.Web.CaptchaHandler, BotDetect" /> 
0

解決には時間がかかりすぎた同様の問題がありました。ハンドラに以下を追加すると、私の問題が解決しました。など

resourceType="Unspecified" 

<add name="BotDetectCaptchaHandler" preCondition="integratedMode" verb="GET" path="BotDetectCaptcha.ashx" type="BotDetect.Web.CaptchaHandler, BotDetect" resourceType="Unspecified" /> 

私はProblem mapping HttpHandler --> HTTP Error 404 Not Found

でこれを見つけました
関連する問題