Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/35.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.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 意外错误-MembershipCreateStatus.InvalidQuestion_Asp.net_Security - Fatal编程技术网

Asp.net 意外错误-MembershipCreateStatus.InvalidQuestion

Asp.net 意外错误-MembershipCreateStatus.InvalidQuestion,asp.net,security,Asp.net,Security,我尝试创建没有密码问答的用户 但我总是会出错 MembershipCreateStatus.InvalidQuestion web.config requiresQuestionAndAnswer="false" 尝试使用null而不是字符串。问题和答案都为空。嗯,不太可能。。。因为您没有传入null,ASP.NET认为您尝试使用的字符串将传入的字符串用作问答。和o.f.c问题不能为空:) requiresQuestionAndAnswer="false"

我尝试创建没有密码问答的用户

但我总是会出错

MembershipCreateStatus.InvalidQuestion

web.config

 requiresQuestionAndAnswer="false"

尝试使用null而不是字符串。问题和答案都为空。

嗯,不太可能。。。因为您没有传入null,ASP.NET认为您尝试使用的字符串将传入的字符串用作问答。和o.f.c问题不能为空:)
 requiresQuestionAndAnswer="false"