服务器传输后网站无法从 SQL 正确提取数据
我们有一个网站想要转移到我们的 Server 2008、IIS7 网站,该网站使用 NOPCommerce。我们导入数据库,设置 web.config 并连接数据库。问题似乎在于它没有提取数据。
例如: 注册页面应该是这样的:
First Name
Last Name
Gender
Birth Date
相反,它就像
account.firstname
account.lastname
account.gender
account.dob
我们确保该站点能够正确访问数据库并且它确实连接(如果没有连接,它会产生一个错误页面)
有人有任何想法吗?
We have a website we would like to transfer to our Server 2008, IIS7 site which uses NOPCommerce. We imported the database, set up the web.config and the database connects. The issue, it seems, is that it's not pulling the data.
For example: The registration page should be like:
First Name
Last Name
Gender
Birth Date
Instead its like
account.firstname
account.lastname
account.gender
account.dob
We ensured the site has proper access to the DB and it does connect(it yields an error page if it doesn't)
Anyone have any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎问题与安装数据库有关。看来主键被设置为最低的可用值而不是正确的值,
Seems the issue was related to mounting the database. It seems the primary keys were set to the lowest available value instead of the proper one,