我正在将一个asp.net核心2.0网站部署到IIS10。
我确保我的应用程序在program.settings文件中使用了正确的ISS配置。
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
预期结果
IIS正确地托管了我的应用程序,当我导航到应用程序的url (例如: blabla/ swagger )时,我看到了描述我的应用程序的swagger UI。
问题
当我试图导航到我的应用程序时,上面写着:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
信息
我在.net核心2.0中构建了一个应用程序,我能够让它在visual中运行,由Kestre
我为运行window server 2016操作系统的新计算机安装了.NET核心2.1.3版。我托管在IIS 10中,但它有错误502
HTTP Error 502.5 - Process Failure
Common causes of this issue:
The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port
这是
我们正在尝试使用八达通部署来配置ASP.NET应用程序的部署。一切正常,但有时在尝试覆盖文件时步骤会失败,因为文件已被其他进程锁定。在部署开始之前,我们已经停止了IIS,所以不确定我们可以在这里尝试什么。有时错误出现在应用程序的自定义日志文件夹(txt文件)中,有时出现在一些dll等的bin文件夹中。
确切的错误是:
*Unable to copy the package to the specified directory 'D:\Apps\XYZ_Stage'. One or more files in the directory may be locked by anot
我有一个网站targetting .NetCoreApp 1.1,它在本地运行良好,但是部署不起作用,我得到了完全无用的错误消息:
"502.3坏网关。试图路由请求时出现连接错误。“
事件查看器说"Application 'MACHINE/WEBROOT/APPHOST/MYAPP' with physical root 'C:\inetpub\MyApp' created process with command line '"dotnet" .\Web.dll' but failed to listen
我试图使用Web和Visual将应用程序部署到远程IIS。我只能推送单个文件,但是当我尝试发布整个项目时,它很快就说它是成功的,但没有推动任何东西。它将输出构建到目录,但从不将其复制到服务器。
此外,当我试图发布wwwroot文件夹时,它会抱怨另一件事,这并没有给出多少信息:
"Could not connect to the remote computer using the specified process ("Web Management Service") because the server did not respond. Make sure t
我正在尝试使用弹性豆茎将一个简单的Hello World ASP.NET MVC4应用程序部署到一个免费的层EC2实例上。我使用的是Visual Web Developer Express (2010),它不支持AWS工具包扩展,那么如何在没有扩展的情况下部署站点?
似乎使用Elastic Beanstalk web控制台,您可以将文件作为新应用程序上传。但我不知道文件里应该写些什么。它是包含已发布的mvc应用程序的压缩包吗?我试过了,当它加载后导航到实例时,它只显示了IIS8徽标。演练页面上有一个示例压缩包,但它是一个根目录中有3个xml文件的旧ASP.NET页面。我不知道在MVC、IIS4