RE: NAV 2013 .NET variable CAS policy error
hi,
to bypass (if possible), try to fix .NET configuration checks adding "NetFx40_LegacySecurityPolicy " parameter (with visual studio works fine)
On Nav server config file or on client config file (for server ord client addins) try to add this line:
Microsoft.Dynamics.NAV.Server.exe.config file:
<NetFx40_LegacySecurityPolicy enabled="true"/>
if doesn't works try to add parameter only to runtime execution
<runtime>
<NetFx40_LegacySecurityPolicy enabled="true"/>
</runtime>
....
For example in past (Nav 2000) i added "Garbage collection" configuration on NAV passing standard .net "gcServer configuration" parameter (this is an undocumented feature but works fine if added and speed up nav servers)
Microsoft.Dynamics.NAV.Server.exe.config file:
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>
let me know if works.