John Lam 1997 — 2026

CAS gotcha in ASP.NET V1.1

I was a bit puzzled by the following error message: Assembly <name> security permission grant set is incompatible between appdomains. This occasionally happens when I reset the current trust level for an ASP.NET v1.1 application (e.g. changing the trust level from medium to low). The workaround for this problem is to reboot IIS via IISRESET. Hope this helps somebody else out there.

7 archived reader comments

Matt Wright (2004-01-21)

Magic. Thanks for that…and thanks to Google for making this the number 1 entry when you type in “permission grant set is incompatible between appdomains”.

Problem fixed. Good one.

Adrian (2004-01-24)

Thanks for sharing! It fixed the problem.

k-dub (2004-02-18)

Too bad this has to be done every five minutes. THIS IS NOT A FIX.

gaba (2004-02-26)

Thanks, it fixed the problem for me!

GMAN (2004-03-18)

Good fix. It works!

J (2004-04-21)

NOT A FIX, I agree with k-dub.

Lex (2004-08-13)

Not a fix, but definitely makes life easier knowing how to work around it. Thanks!