添加用户时出现错误 Asp.net Membership Provider

发布于 2024-10-03 11:23:04 字数 1779 浏览 2 评论 0原文

当我尝试在我们为客户使用的项目管理系统中创建新用户时,出现下面的错误消息。我输入所有相应的信息,然后当我单击“创建”时,它会抛出此错误。

以下消息可能会有所帮助诊断问题: System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] argument, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) 处的调用目标引发了异常。 System.Reflection.RuntimeMethodInfo 处的 Object[] 参数、Signature sig、MethodAttributes methodAttributes、RuntimeTypeHandle typeOwner)。在 System.Web.Administration 处的 System.Web.Administration.WebAdminMembershipProvider.CallWebAdminMembershipProviderHelperMethodOutParams(String methodName、Object[] 参数、Type[] paramTypes) 处调用(Object obj、BindingFlags invokeAttr、Binder binder、Object[] 参数、CultureInfo Culture)。 WebAdminMembershipProvider.CreateUser(字符串用户名,字符串密码,字符串电子邮件,字符串密码问题,字符串密码答案,布尔值isApproved,对象提供者UserKey,MembershipCreateStatus&状态)在 System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() 在 System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e) 在 System.Web.UI.WebControls.Wizard.OnBubbleEvent(对象源,EventArgs e) )在System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(对象源,EventArgs e)在System.Web.UI.WebControls.Wizard.WizardChildTable.OnBubbleEvent(对象源,EventArgs args)在System.Web.UI.Control。 RaiseBubbleEvent(对象源,EventArgs args)在System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e)在System.Web.UI.WebControls.Button.RaisePostBackEvent(字符串eventArgument)在System.Web.UI.WebControls.Button .System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) 在 System.Web。 UI.Page.ProcessRequestMain(布尔值 includeStagesBeforeAsyncPoint,布尔值 includeStagesAfterAsyncPoint)

The error message below i get when I"m trying to create a new user in a project management system we use for a client. I type in all the corresponding information then when I click create it throws this error.

The following message may help in diagnosing the problem: Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Web.Administration.WebAdminMembershipProvider.CallWebAdminMembershipProviderHelperMethodOutParams(String methodName, Object[] parameters, Type[] paramTypes) at System.Web.Administration.WebAdminMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) at System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() at System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e) at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.WebControls.Wizard.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

听不够的曲调 2024-10-10 11:23:04

导致此错误的原因是存储所有数据库的硬盘驱动器已满。即使还剩下 1kb,也会出现错误。要修复此问题,请安装更大的硬盘驱动器,或从硬盘驱动器中清除所有不必要的文件并腾出可用空间。您可能从中看到的服务器错误或 asp.net 错误是 9002 错误。当硬盘驱动器已满时,也无法写入数据库日志文件,当对数据库执行任何操作(插入、更新等)时,数据库日志文件都会写入日志文件。当没有剩余空间时,日志文件无法扩展,因此会引发错误。我很感谢你的帮助克里斯肯特。顺便说一句,如果有人想知道我们没有剩余空间,实际上连 1kb 都没有,我们的可用空间是 0kb。希望这有帮助。

What causes this error is the hard drive where all databases are being stored is full. Even if there is 1kb left it will post the error. To fix, install a much larger hard drive, or clear any unnecessary files from the hard drive and make free space. the server error or asp.net error you may see from this is the 9002 error. When the hard drive is full the databases log file cannot be written too, which when anything is done to the database, inserting, updating, etc. it is written to the log file. When there is no space left the log file cannot expand therefore throwing an error. I appreciate your help chriskent. By the way if anyone is wondering we had no room left literally not even 1kb to spare, our free space was 0kb. Hope this helps.

甜宝宝 2024-10-10 11:23:04

您的 web.config 中有机器关键元素吗?确保这是专门设置的(不是自动生成)。检查此线程以获取更多信息:

http://forums.asp.net/t/1213872.aspx< /a>

Do you have a machine key element in your web.config? Ensure this is specifically set (Not autogenerate). Check this thread for more information:

http://forums.asp.net/t/1213872.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文