ASP.NET 会员用户消失
我开始使用会员级别创建一个项目,并不断添加一些用户进行测试,当我想第二天继续时,这些用户已经消失了。
当我查询成员资格表时,我仍然可以看到记录,但网站管理工具告诉我我没有用户。这件事发生得有点安静,我担心我现在是否应该将其用于我的项目。
我错过了什么吗?
非常感谢任何建议。
史蒂夫
I started creating a project using the membership classes and I keep adding a few users to test, and when I want to continue the next day, those users are GONE.
When I query the membership table I can still see the records but the Web Site Administration Tool tells me I have NO users. This has happened quiet a bit and I am worried if I should even use that for my project now.
Am I missing something?
Any suggestions are greatly appreciated.
Steve
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
恶作剧者?所有这些用户是否都有不同的 ApplicationID?您是否忘记在 web.config 中设置 applicationName 属性?
总体来说,这个功能已经相当成熟可靠了。
Poltergiests? Do all these Users have a different ApplicationID? Did you forget to set the applicationName property in web.config?
Generally speaking, this feature is quite mature and reliable.
我也有这个问题。我只需将“aspnetdb.aspnet_Users”中所有用户的 ApplicationID 更改为我的相关 ApplicationID 即可。谢谢你的想法。
I had this problem also. I just change ApplicationID for all Users in "aspnetdb.aspnet_Users" to my relevant ApplicationID and it works. Thanks for an idea.
您是否使用默认的会员提供商?我也遇到了同样的问题,但是对于 MongoDB.Web 提供程序,问题是当我升级到新版本时,它期望在每条记录上看到一个“usernameLower”字段,而这显然还不存在。
Are you using the default membership provider? I had the same problem, but with the MongoDB.Web provider, the problem was that when I upgraded to the new version, it expected to see a "usernameLower" field on each record, which obviously wasn't there yet.