作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我使用数据库 SQL Server 2012 在 ASP.Net MVC 5 中开发了一个应用程序现在我想将其部署在带有 IIS 8 的 Windows Server 2012 中
我点击了这个链接:http://www.asp.net/mvc/overview/deployment/visual-studio-web-deployment/deploying-to-iis
但是当我在浏览器中运行我的应用程序时,它会出现错误:
HTTP Error 500.19 - Internal Server Error The requested page can not be access because the related configuration data for the page is invalid.
我是这个领域的新手,请您详细解释一下。
最佳答案
您需要首先在 Visual studio 上选择您的项目来发布它。之后您需要在 IIS 上创建站点。在某些情况下,您可能会发现映射数据库很困难,因为您需要在数据库服务器上添加权限。
关于asp.net - 如何将 ASP.Net MVC 5 部署到 IIS 8 Windows Server 2012?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27938248/
我是一名优秀的程序员,十分优秀!