ASP.Net 站点配置工具
当我使用 ASP 创建用户向导创建用户帐户时,站点管理工具反映该用户存在,但当我查看数据库中的 ASP 用户和成员资格表时,没有用户。当我使用 ASP Reg SQL 工具时,它是配置一个服务器数据库,后来我将其移至本地数据库,这可能是问题所在。我试图通过 UserId guid 将 Customer 表链接到 ASP User 表,但现在没有任何可返回的内容。有人可以告诉我我做错了什么吗?
When I create a user account using the ASP Create User Wizard, the site administration tool reflects that the user exists but when I look in the ASP User and Membership tables in my database there are no users. When I used the ASP Reg SQL tool it was to configure a server database which I since moved to be a local database, which may perhaps be the problem. I am trying to link a Customer table to the ASP User table by way of the UserId guid, but right now there is nothing to return. Can someone please tell me what I am doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在您的 web.config 中查找以下部分:
这将告诉您它用于您的会员资格内容的数据库。您将需要查看成员资格部分(在本例中为 MySqlConnection)中的
connectionStingName
,然后查看相应的连接字符串以查看它是否按照您期望的方式进行。Look for the sections below in your web.config:
This will tell you what database it is using for your membership stuff. You will want to look at the
connectionStingName
in the membership section (in this case MySqlConnection) and then look at the corresponding connection string to see if it is going where you expect it to.