11-14-2011 01:58 PM
We have a .NET application (.exe) that we are using in SLX. SLX 'downloads' the .NET app to the user's App Data folder (in subdirectory).
This works fine and dandy for all but those with App Data Folder Redirection.
For those clients with App Data Folder Redirection, an error is thrown: "System.Security.SecurityException: That assembly does not allow partially trusted callers." The application is considered an Intranet app because the redirection is a URL.
Has anyone ever encountered and solved this? I saw a post from 2 years ago on another blog with no response.
Microsoft's solution (http://msdn.microsoft.com/en-us/library/9ykfdse9(v=VS.90).aspx) is quite involved and out of my realm of expertise. I am praying there is another solution.
Please help! I have 4 days to get this working….
Solved! Go to Solution.
11-14-2011 02:45 PM
11-16-2011 07:30 PM
Thanks Mike, but something's missing. I'm still getting the error, but now I have a publicKeyToken. Error messag attached.
and that still didn't help.
A Microsoft article says something about Global Assembly Cache. Do I need to addthe Assembly to it as they suggest?
Thanks in advance for your help! I hate being so confused... I'm a .Net newbie, but an SLX oldie! ;~)
11-21-2011 08:53 AM
Thanks Mike, that worked! But just for testing...
As a final solution, I had to create an installer and make sure the Global Assembly Cache Folder is included in the "File System on Target Machine".
Again, thanks, you help has been superb!