gpt4 book ai didi

asp.net - 如何将 ASP.Net MVC 5 部署到 IIS 8 Windows Server 2012?

转载 作者:行者123 更新时间:2023-12-02 16:43:12 25 4
gpt4 key购买 nike

我使用数据库 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com