.NET ActiveX Permission Problem

M

markoueis

I've signed my activeX control with a public key (strong name). I've
set up the client machine to grant full trust to code signed with that
public key. I did this using the .NET Configuration 1.1 Tool -->
Runtime Security Policy --> Machine --> Code Groups --> All Code -->
New() --> Membership Condition = StrongName.

Yet, when the IE browser runs the activeX control and I click on a
button that tells the activeX control to run notepad on the client
machine, i get the Microsoft .NET Framework permission denied box.

However, If I change the membership condition type from strong name to
Site, and put it the corresponding website, then it works. This would
seem to indicate to me that the key is just not correct. However, if i
do the same thing, but with an EXE instead, it works based on the
strong name alone. (with no strong name it doesn't work but with strong
name it does). So why isn't the dll running in the correct code group?

Can anyone tell me what's so special about activeX ddls and how do i
fix this? It should be able to work through the strong name.

Help

Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top