Consultor Eletrônico



Kbase P178819: SecurityException error when deploying .NET application on network drive
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   13/12/2010
Status: Unverified

SYMPTOM(s):

SecurityException error when deploying .NET application on network drive

An unhandled exception occurred in mscorlib.dll

Unhandled Exception: System.Security.SecurityException

Request for the permission of type System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.

Works fine with local installation of OpenEdge

Using CASPOL (Code Access Security Policy) to set .NET security policy.

FACT(s) (Environment):

OpenEdge 10.x
All Supported Operating Systems

CAUSE:

When using network storage on your local intranet, make sure your .NET security is set to FullTrust on your mapped storage device.

FIX:

Use Caspol included in .Net Framework version 3.5 to set the permission on the network share(using UNC path) to "FullTrust".