Regasm gives this error:
RegAsm: error RA0000: Request for the permission of type 'System.Security.Per
missions.SecurityPermission, mscorlib, Version = 22.214.171.124, Culture = neutral, Publick
eyToken = b77a5c561934e089 'is not satisfied.
I signed on as an administrator, but nothing has changed.
I think before regasm.exe, I do caspol.exe
But of course I do not have the strongname of your assembly.
How can I do?
For convenience here the answer that Cedric gave you on the helpdesk about this issue:
Network shares get “LocalIntranet” permission by default so yes you need to use caspol.exe first to grant full trust on network shares.
GdPicture.NET V9 strong name is just GdPicture.NET.9 but I'm not sure it's relevant here.
To trust everything on the share \\server\share, the command is : CasPol.exe -m -pp off -ag 1.2 -url file://///server/share/* FullTrust
And it reads the following:
-m = modify the machine level of the policy
-pp off = turns the confirmation prompt off
-ag 1.2 = add a code group under group 1.2. In the default policy, group 1.2 is the “LocalIntranet” group, so the new code group that we're creating will only be checked if the file comes from the intranet.
-url file://///server/share/* = The membership condition for the new code group is should be a UrlMembershipCondition, if you use a mapped network drive, let's say X:, then simply replace file://///server/share/* with "file:///X:/*"
FullTrust = The permission set to grant assemblies that match the code group.
If you are running a 64-bit system, make sure to run caspol.exe on both the 32-bit version and the 64-bit version of the framework.
I hope this helps.
Who is online
Users browsing this forum: No registered users and 1 guest