Re: VSTO Security policy
From: Iouri Simernitski (iouris_at_micro.nospam.soft.com)
Date: 09/16/04
- Next message: kfrost: "Excel on a web page"
- Previous message: Chris McKenzie: "Re: VSTO Security policy"
- In reply to: Chris McKenzie: "Re: VSTO Security policy"
- Next in thread: Chris McKenzie: "Re: VSTO Security policy"
- Reply: Chris McKenzie: "Re: VSTO Security policy"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 16 Sep 2004 23:47:39 GMT
Chris,
from the permissions you list on your assembly it is clear that it does not
have full trust. So somehow your policy modification did not apply.
We have ruled out the URL misspelling. Now either your .NET framework
installation is busted in a strange way or your code group is not being
evaluated because of another code group marked LevelFinal or Exclusive or
because another code level (Entreprise or User) grants less permissions.
>From Microsoft Visual Studio 2003 command prompt, type
caspol -rsg \\myserver\myshare\assembly.dll
That will give you all code groups that apply to your assembly and the
permissions they grant.
But given that in the .net configuration tool shows you an empty list when
you choose "View code groups that grant permissions to the assembly", I
assume you will not see anything - You should have seen at list
Entreprise:All code:FullTrust and User:AllCode:FullTrust ...
As a last resort you can also have a look at security.config in the config
sub-folder of your framework installation. You can, for example, create a
backup copy of security.config, reset your security settings to their
defaults (caspol -all -reset) and see it things work better. If they
don't, you can restore your saved settings.
iouri
--------------
This posting is provided "AS IS" with no warranties, and confers no rights.
- Next message: kfrost: "Excel on a web page"
- Previous message: Chris McKenzie: "Re: VSTO Security policy"
- In reply to: Chris McKenzie: "Re: VSTO Security policy"
- Next in thread: Chris McKenzie: "Re: VSTO Security policy"
- Reply: Chris McKenzie: "Re: VSTO Security policy"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|