简体   繁体   English

无法加载文件或程序集“Microsoft.CodeDom.Providers.DotNetCompilerPlatform 或其依赖项之一。” 访问被拒绝

[英]Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform or one of its dependencies. Access is denied

I have following error:我有以下错误:

Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=xyz' or one of its dependencies.无法加载文件或程序集“Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=xyz”或其依赖项之一。 Access is denied访问被拒绝

Already i am having latest version of Microsoft.CodeDom.Providers.DotNetCompilerPlatform我已经拥有最新版本的Microsoft.CodeDom.Providers.DotNetCompilerPlatform

How to resolve it?如何解决? i am having error as access denied not as could not be located我遇到错误,因为访问被拒绝,因为无法定位

我有 VS-2015 Update 3,但我的解决方案是授予 IIS_IUSRS 用户访问“C:\\Users\\Aurelio\\Documents\\Visual Studio 2015\\WebSites”中 Web 应用程序文件夹的权限

I recently faced issue and the problem was this: DotNetCompilerPlatform's authorization property setting was changed somehow,我最近遇到了问题,问题是这样的:DotNetCompilerPlatform 的授权属性设置以某种方式改变了,

so I opened bin folder, right click to open property -> go to security -> allow all permission and apply.所以我打开 bin 文件夹,右键单击打开属性 -> 转到安全 -> 允许所有权限并应用。

I also did the same thing for Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll and Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml, restarted IIS and issue was resolved.我也对 Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll 和 Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml 做了同样的事情,重新启动 IIS 并解决了问题。

暂无
暂无

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

相关问题 无法加载文件或程序集或其依赖项之一。 拒绝访问 - Could not load file or assembly or one of its dependencies. Access is denied Umbraco 7-无法加载文件或程序集“ Microsoft.IdentityModel”或其依赖项之一。 拒绝访问 - Umbraco 7- Could not load file or assembly 'Microsoft.IdentityModel' or one of its dependencies. Access is denied Microsoft.CodeDom.Providers.DotNetCompilerPlatform 的问题 - Problem with Microsoft.CodeDom.Providers.DotNetCompilerPlatform 如何解决无法加载文件或程序集'Glimpse.Core'或其依赖项之一。 访问被拒绝 - how to solve Could not load file or assembly 'Glimpse.Core' or one of its dependencies. Access is denied 无法加载文件或程序集“ businesslogic”或其依赖项之一。 拒绝访问 - Could not load file or assembly 'businesslogic' or one of its dependencies. Access is denied 无法加载文件或程序集“ Moxiecode.TinyMCE”或其依赖项之一。 拒绝访问 - Could not load file or assembly 'Moxiecode.TinyMCE' or one of its dependencies. Access is denied System.IO.FileLoadException:'无法加载文件或程序集'EntityFramework或其依赖项之一。 访问被拒绝。 - System.IO.FileLoadException: 'Could not load file or assembly 'EntityFramework or one of its dependencies. Access is denied.' 无法加载文件或程序集“ICSharpCode.SharpZipLib”或其依赖项之一。 访问被拒绝 - Could not load file or assembly 'ICSharpCode.SharpZipLib' or one of its dependencies. Access is denied 有没有办法在没有 nuget package 的情况下使用 Microsoft.CodeDom.Providers.DotNetCompilerPlatform? - Is there a way to use Microsoft.CodeDom.Providers.DotNetCompilerPlatform without a nuget package? 无法加载文件或程序集{此处的程序集名称} 或其依赖项之一。 访问被拒绝 - Could not load file or assembly {assembly name here} or one of it's dependencies. Access is denied
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM