M
Marek
Whe i'm running my .net aplication from share on other server, i've got an
error. Can someone explain what i must do?
Unhandle exception:System.Security.SecurityException: Permission demand type
System.Security.Permissions.EnvironmentPermission, mscorlib,
Version=1.0.5000.
0, Culture=neutral, PublicKeyToken=b77a5c561934e089 not succed.
at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet
granted
Set, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken
permT
oken)
at System.Security.CodeAccessSecurityEngine.Check(PermissionToken
permToken,
CodeAccessPermission demand, StackCrawlMark& stackMark, Int32 checkFrames,
Int32
unrestrictedOverride)
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission
cap, S
tackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.Environment.GetCommandLineArgs()
at KANA_Szperacz.Module1.Main()
Permission state, which wans't granted:
<IPermission class="System.Security.Permissions.EnvironmentPermission,
mscorlib
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Read="Path"/>
error. Can someone explain what i must do?
Unhandle exception:System.Security.SecurityException: Permission demand type
System.Security.Permissions.EnvironmentPermission, mscorlib,
Version=1.0.5000.
0, Culture=neutral, PublicKeyToken=b77a5c561934e089 not succed.
at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet
granted
Set, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken
permT
oken)
at System.Security.CodeAccessSecurityEngine.Check(PermissionToken
permToken,
CodeAccessPermission demand, StackCrawlMark& stackMark, Int32 checkFrames,
Int32
unrestrictedOverride)
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission
cap, S
tackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.Environment.GetCommandLineArgs()
at KANA_Szperacz.Module1.Main()
Permission state, which wans't granted:
<IPermission class="System.Security.Permissions.EnvironmentPermission,
mscorlib
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Read="Path"/>