1.0 SP 3 & SecurityException

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an application which is a EXE running as an NT service. It accesses
an assembly (a1) which in turn accesses types defined in another assembly
(a2). All was fine before SP3. Once SP3 is installed, I'm getting
SecurityException whenever a1 wants to access types in a2, getting "Request
for permission of type xxx failed". Everything is installed local so they
all have FullTrust. One more piece of information. The types in a2 are all
enumeration if that makes any difference.

I caught the SecurityException and examined it, but it didn't give me much
information. The PermissionState property is empty and PermissionType is
null.

Anybody knows if this is something changed/broken in 1.0 SP 3??

Thanks a lot.
 
I have an application which is a EXE running as an NT service. It
accesses
an assembly (a1) which in turn accesses types defined in another assembly
(a2). All was fine before SP3. Once SP3 is installed, I'm getting
SecurityException whenever a1 wants to access types in a2, getting "Request
for permission of type xxx failed". Everything is installed local so they
all have FullTrust. One more piece of information. The types in a2 are all
enumeration if that makes any difference.

I caught the SecurityException and examined it, but it didn't give me much
information. The PermissionState property is empty and PermissionType is
null.

Anybody knows if this is something changed/broken in 1.0 SP 3??

try it on Framework 1.1.
we had a similar issue ("Request for permission of type ..." when using
reflection, no strong signing, FullTrust), it also did not work on 1.0 at
all.

Wiktor Zychla
 
Back
Top