Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

ps1 cannot be loaded software restriction policies

$
0
0

I am getting the below for entity framework 6.1.3 for .net framework 4.5 in vs 2015 

Tried the following

1. I am using Windows 10-home edition. used gpedit and added the unrestricted to init file path in software policy

2. Added "unrestricted" for CurrentUser and LocalMachine.

3. Updated the vs2015 to sp3

But no luck

=================ERROR====================

init.ps1 cannot be loaded because its operation is

blocked by software restriction policies, such as those created by using Group Policy.

At line:1 char:45

+ ... rgs+=$_}; & '

+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : SecurityError: (:) [], PSSecurityException

    + FullyQualifiedErrorId : UnauthorizedAccess


Viewing all articles
Browse latest Browse all 1698

Trending Articles