raghuvamshi
I too am having this issue. My usercontrol works fine when envoked from a windows application, but when I embed it into a webpage I get the system.security error!

I get this error on the following line:

dim obj as new domino.notessession

I'm not sure what I need to do? You mention the following line:
StrongNameIdentityPermission(SecurityAction.LinkDemand, PublicKey = PublicKey.Key)]

where do I put this? I'm not too familiar with assemblies! Not sure if the above refers to the assemblies or not.

Your help is much appreciated!

Nai Danac