cht電腦資訊Windows
adm Find login register

下一次能不用 .NET 絕對不要碰

eliu

joined: 2007-08-09
posted: 11468
promoted: 617
bookmarked: 187
新竹, 台灣
1subject: 下一次能不用 .NET 絕對不要碰Promote 0 Bookmark 02008-03-19quote  

下一次能不用 .NET 絕對不要碰,除了那個麻煩的 ^

又碰到 .EXE copy 到網路磁碟機執行就出現底下的 error 的情形。去 google 這個 error 好像要用什麼 tool 去開 permission,還好那個程式改一下就可以不用 .NET. 我到現在還是不知到怎麼開 permission,有人可以告訴我嗎 ....... Orz

未處理的例外狀況: System.IO.FileLoadException: 無法載入檔案或組件 'xx-xx, Version=1.0.3000.27978, Culture=neutral, PublicKeyToken=null' 或其相依性的其
中之一。 無法授與最低使用權限要求。 (發生例外狀況於 HRESULT: 0x80131417)
檔案名稱: 'xx-xx, Version=1.0.3000.27978, Culture=neutral, PublicKeyTok
en=null' ---> System.Security.Policy.PolicyException: 無法取得需要的使用權限。
   於 System.Security.SecurityManager.ResolvePolicy(Evidence evidence, Permissio
nSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& den
ied, Boolean checkExecutionPermission)
   於 System.Security.SecurityManager.ResolvePolicy(Evidence evidence, Permissio
nSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& den
ied, Int32& securitySpecialFlags, Boolean checkExecutionPermission)

cht電腦資訊Windows
adm Find login register
views:5191