迁移到 IIS 导致用户控件内的中继器消失
该项目作为 Web 应用程序运行良好 当我将其移至 IIS 时,用户控件的转发器不再工作 它从网站上消失了
转移到 IIS 之前它工作得很好
在后面的代码中
我们有 FetchData
...
reapGallery.DataSource = pagedProducts;
reapGallery.DataBind();
因为转发器是空的它永远不会显示
问题应该是 IIS 和 SQL 之间的安全问题、添加用户等等
The project was working great as a Web Application
when I moved it to IIS the User Control's Repeater doesn't work anymore
and it is disappeared from the site
It was working great before moving to IIS
in the code behind
We have FetchData
...
reapGallery.DataSource = pagedProducts;
reapGallery.DataBind();
because the repeater is empty it never will be shown
The problem should be the security issues between IIS and SQL , Adding users or so
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将路径更改为:
Change paths to: