Re: com compnet in my dotnet app causes an Error
From: Nicole Calinoiu (calinoiu)
Date: 11/10/04
- Next message: Nicole Calinoiu: "Re: System.Security.SecurityException Error happens when using FSO to"
- Previous message: Nicole Calinoiu: "Re: com compnet in my dotnet app causes an Error"
- In reply to: reza: "com compnet in my dotnet app causes an Error"
- Next in thread: ALI-R: "Re: com compnet in my dotnet app causes an Error"
- Reply: ALI-R: "Re: com compnet in my dotnet app causes an Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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.]
>
>
- Next message: Nicole Calinoiu: "Re: System.Security.SecurityException Error happens when using FSO to"
- Previous message: Nicole Calinoiu: "Re: com compnet in my dotnet app causes an Error"
- In reply to: reza: "com compnet in my dotnet app causes an Error"
- Next in thread: ALI-R: "Re: com compnet in my dotnet app causes an Error"
- Reply: ALI-R: "Re: com compnet in my dotnet app causes an Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|