Monday, October 13, 2008

64bit System.Security.SecurityException errors

In a follow up to a previous post of mine, which talked about the intranet security levels and how to change the permissions. I have one change to make. When running your application in the 64bit framework, permissions are different, so the previously posted batch file will not do anything to solve your issues. To fix it, add '64' onto the end of the Framework part of the caspol path. for example: echo y|C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\caspol.exe -m -ag 1.2 -url file://server/share/* FullTrust I came across this problem using the new Revit 64bit with some of my API programs that access C drive or use the network.

No comments: