C# asp.net google recaptcha
我在我的asp.net网络表单应用程序中使用了google reCaptcha,我遵循google的文档,但我发现以下错误:C# asp.net google recaptcha,c#,asp.net,recaptcha,C#,Asp.net,Recaptcha,我在我的asp.net网络表单应用程序中使用了google reCaptcha,我遵循google的文档,但我发现以下错误: Input error: k: Format of site key was invalid 这是我的代码: <recaptcha:RecaptchaControl ID="recaptcha" runat="server" PrivateKey="your_priva
Input error: k: Format of site key was invalid
这是我的代码:
<recaptcha:RecaptchaControl
ID="recaptcha"
runat="server"
PrivateKey="your_private_key"
PublicKey="your_public_key" />
我尝试了不同的公钥和私钥,但结果相同。错误表明您的
验证码设置仍然设置为自动(S-Drive)
我建议您阅读。您必须从recaptcha中输入PrivateKey和PublicKey您是否在为web应用程序生成了特定的密钥?假设您实际上没有尝试使用“您的私钥”和“您的公钥”作为值?