Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed.
From: Max (Please_at_reply.to.news.group)
Date: 06/08/03
- Next message: Allen Jones: "Authenticode signing an assembly"
- Previous message: kavitha: "SecurityPermission"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 8 Jun 2003 16:10:35 +0200
Hi!
I get the following exception:
Because of security restrictions, the type System.Runtime.Remoting.ObjRef
cannot be accessed.
The question is how can I adjust the security settings to allow access.
So far I've tried the following:
1. Full trust to my assembly using .NET Wizard (ConfigWizards.exe).
2. Looked through the settings in mscorcfg.msc. The settings are pritty
standard (not changed after installation). I granted "Full Trust" for
LocalIntarnet and Trusted and added http://localhost to trusted.
The problems occur with "Lifetimes" remoting sample from SDK documentation,
with CAOClient.
I have Windows 2000 and .NET Framework SDK 1.1 installed.
If anybody has any idea what to check or knows for sure what should
permission should be granted to what, I will appreciate.
Thank you in advance.
- Next message: Allen Jones: "Authenticode signing an assembly"
- Previous message: kavitha: "SecurityPermission"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|