简体   繁体   English

Visual Studio 2015社区版,Windows 10和IIS

[英]Visual Studio 2015 Community Edition, Windows 10 and IIS

I have been having a hard time getting Visual Studio 2015 CE and IIS express to run on my windows 10 machine. 我一直很难让Visual Studio 2015 CE和IIS Express在Windows 10计算机上运行。 Even when I make a default MVC5 web application and attempt to run it without making any changes I usually see the error below. 即使当我制作一个默认的MVC5 Web应用程序并尝试在不进行任何更改的情况下运行它时,我通常也会看到以下错误。

Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. 配置错误描述:处理服务于此请求所需的配置文件时发生错误。 Please review the specific error details below and modify your configuration file appropriately. 请查看下面的特定错误详细信息,并适当修改您的配置文件。

Parser Error Message: Could not load file or assembly 'Business, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. 解析器错误消息:无法加载文件或程序集'业务,版本= 1.0.0.0,文化=中性,PublicKeyToken =空'或其依赖项之一。 The process cannot access the file because it is being used by another process. 该进程无法访问该文件,因为该文件正在被另一个进程使用。 (Exception from HRESULT: 0x80070020) (来自HRESULT的异常:0x80070020)

I have read a few posts that talk about using the netstat -ano command and finding the PID of the process using the same port, it always ends up being PID 4 aka "SYSTEM". 我已经读了几篇有关使用netstat -ano命令并使用同一端口查找进程的PID的文章,它总是以PID 4(也称为“ SYSTEM”)结尾。 I have tried uninstalling IIS Express and enabling the local IIS under "Windows Features" and what happens is I receive the same error, but after like 10 page refreshes the site loads. 我尝试卸载IIS Express并在“ Windows功能”下启用本地IIS,发生的是我收到相同的错误,但是在刷新了10页后才加载了网站负载。

Has anyone else come across this? 还有其他人遇到吗?

我不想这么说,但是我解决此问题的方法是返回到Visual Studio 2013,但我无法确定问题出在Visual Studio 2015 Community Edition,但目前VS2013是有效的。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM