简体   繁体   English

在 Visual Studio 中运行 IIS-Express 时出错

[英]Error running IIS-Express in Visual Studio

I have an API in Visual Studio and when I run it in IIS Express, it worked fine.我在 Visual Studio 中有一个 API,当我在 IIS Express 中运行它时,它运行良好。

Today I did the same thing but it's not working.今天我做了同样的事情,但它不工作。 I believe that my IP address is correct so I don't think the issue is there, I'm also running it as administrator.我相信我的 IP 地址是正确的,所以我认为问题不存在,我也以管理员身份运行它。 I even went to the event view and it says that我什至去了事件视图,它说

The worker process failed to initialize correctly工作进程未能正确初始化

and therefore could not be started.因此无法启动。 I'll show u the images below if anyone had this problem or knows how to fix it please tell me.如果有人遇到此问题或知道如何解决,我将向您展示下面的图片,请告诉我。

I've also tried to reinstall Visual Studio but its still not working我也尝试重新安装 Visual Studio,但它仍然无法正常工作

error in event viewr1事件查看器 1 中的错误

error in event viewer2事件查看器2中的错误

error in Visual Studio when I try to run the app当我尝试运行应用程序时 Visual Studio 中的错误

i've tried to repair the IIS Express and this is what pops up Repair Error我试图修复 IIS Express,这就是弹出修复错误

If it helps I'm using Visual Studio 2019如果有帮助,我正在使用 Visual Studio 2019

I had a similar issue but with a web service, I simply changed the port the web app was using.我遇到了类似的问题,但是使用 web 服务,我只是更改了 web 应用程序正在使用的端口。 Right click the solution in the Solution Explorer tab, click properties then Move to Web and I changed the port on the project URL.右键单击解决方案资源管理器选项卡中的解决方案,单击属性,然后单击移动到 Web,我更改了项目 URL 上的端口。 Hope it helps.希望能帮助到你。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从 Visual Studio 2019 运行时在 IIS Express 上获取 NullReferenceException - Getting NullReferenceException on IIS Express while running from Visual Studio 2019 在 Visual Studio 上通过 IIS Express 运行时可以加载图像,但通过 IIS 运行时无法加载 - Image can load when running by IIS Express on Visual studio, but can't load when running by IIS 启动IIS Express时发生错误-Visual Studio 2017 - An Error Occured Launching IIS Express - Visual Studio 2017 System.NullReferenceException for .NET 服务在 Windows Server IIS 上运行,但在 Visual Studio IIS Express 中运行时在本地工作 - System.NullReferenceException for .NET service running on windows server IIS but works locally when running in Visual Studio IIS Express Visual Studio / IIS Express间歇性错误 - Visual Studio/IIS Express Intermittent Bugs Visual Studio 找不到 IIS Express - Visual Studio can't find IIS Express 使用IIS Express / Visual Studio进行SimpleInjector验证过程 - SimpleInjector Verification process with IIS Express / Visual Studio Visual Studio IIS调试错误 - Visual Studio IIS Debugging error Windows 10 Visual Studio 2019 IIS Express 无法启动并出现错误 500 - Windows 10 Visual Studio 2019 IIS Express won't start with error 500 当我通过 Visual Studio 中的 IIS Express 在浏览器中打开 web 应用程序时,为什么会给我这个错误? - Why give me this error when I open web app in browser through IIS Express in visual studio?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM