Kbase P45162: SecurityException generating .Net proxy when ProxyGen's output dir is a mapped drive
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/4/2008 |
|
Status: Verified
SYMPTOM(s):
SecurityException generating .Net proxy when ProxyGen's output dir is a mapped drive
Just-In-Time Debugging
An exception 'System.Security.SecurityException' has occured in GetCustOrds_CustOrdLin.exe'.
ProxyGeneration failed. For details see the log file <...>
An unhandled exception occurred in mscorlib.dll
Unhandled Exception: System.Security.SecurityException
Request for the permission of type System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
The error below also appears in the Proxygen log file:
error CS2001: Source file '\\Develop2003\dev\Smartpath_dev\spclient\AppServer\OpenApi\ProclaimAPI\StrongTypesNS\ttDiary.cs' could not be found
FACT(s) (Environment):
The LocalIntranet permission settings in the .NET Framework configuration is set to "LocalIntranet"
R code contains static temp table
OpenEdge 10.x
All Supported Operating Systems
CAUSE:
If you install on networked storage on your local intranet, you must adjust your .NET secuity settings to fully trust your local intranet storage device.
FIX:
From the Microsoft .Net Framework Configuration (Control Panel-> Administrative Tools), set the permission for LocalIntranet_Zone to "FullTrust" instead of "LocalIntranet":
My Computer
Runtime Security Policy
Machine
Code Groups
All_Code
LocalIntranet_Zone (right-click, properties and "Permission Set")