坑爹的windows server 2008 r2安全配置引起不能安装.net 服务

Microsoft (R) .NET Framework Installation utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.

Exception occurred while initializing the installation:
System.IO.FileLoadException: Could not load file or assembly ‘file:///blablabla\blablabla.exe’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515).

解决办法很简单:找到服务的exe,右键属性,unblock,完事。
如果服务还要加载别的dll,那么一个个来吧……

Leave a line?

This site uses Akismet to reduce spam. Learn how your comment data is processed.