Re: com compnet in my dotnet app causes an Error

From: Nicole Calinoiu (calinoiu)
Date: 11/10/04


Date: Wed, 10 Nov 2004 07:13:16 -0500

The problem lies with your assembly requiring some permission that isn't
granted to code running from the intranet zone under your policy
configuration. From your description of the problem, the denied permission
might be SecurityPermission.UnmanagedCode, but only you can determine that
by testing addition of this permission to those granted via policy. If you
do need to add this or any other permission for a specific assembly, you can
do so without modifying the permission set granted to all code running from
the intranet zone. For details, see
http://blogs.msdn.com/shawnfa/archive/2003/06/20/57023.aspx.

HTH,
Nicole

"reza" <ali@microsoft.com> wrote in message
news:%23UVs9BqxEHA.3844@TK2MSFTNGP09.phx.gbl...
>I am using a .Net application which has a refence to a com component in
>COM+
> ,it works fine in my local computer but when I put on a mapped path (on
> the
> network) I get the following Error,that component has been written by VB
> 6.0
> which writes in Active Directory and it hasn't been signed ,whould it be
> the probelm?? when I chnage the security level of my interanet to Full
> trust
> it works ,even on network ,but I can't change the security level.
>
> Is there somebody who can help me.
> Thansk
>
> SecurityException: Request for the permission of type
> System.Security.Permissions.SecurityPermission, mscorlib,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
> failed.]
>
>



Relevant Pages

  • Re: app cannot run from network share
    ... CAS permission grant for code running from the intranet zone. ...
    (microsoft.public.dotnet.security)
  • RE: Users are not authorized for remote login
    ... granted permission to connect to the server. ... the administrators group and Remote Desktop Users group have ... To connect to terminal server properly, users need to be granted the "Allow ... have higher priority and will override the configuration of local policy. ...
    (microsoft.public.windows.terminal_services)
  • RE: Users are not authorized for remote login
    ... granted permission to connect to the server. ... the administrators group and Remote Desktop Users group have ... To connect to terminal server properly, users need to be granted the "Allow ... have higher priority and will override the configuration of local policy. ...
    (microsoft.public.windows.terminal_services)
  • [RFC][PATCH] Permission masking security module (was dpriv)
    ... Change the name to pmask (Permission Masking) ... Add a quota of 500 permission lines per policy ... new file mode 100644 ... - i.e. the security policy ...
    (Linux-Kernel)
  • Re: .NET Smart Clients, transparency and security
    ... I don't think FULLTRUST should ever be granted to anything ... You just need to define the Enterpise Policy. ... Security kinda works like ... not have a permission you should not be able to obtain it nor grant it ...
    (microsoft.public.dotnet.security)

Quantcast