3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 6183|回复: 8
打印 上一主题 下一主题

[求助] 安装My HUD时NMM提示An exception occured in the script.

[复制链接]

12

主题

173

帖子

409

积分

高级玩家

Rank: 4

贡献度
10
金元
3688
积分
409
精华
0
注册时间
2012-5-2
QQ
跳转到指定楼层
主题
发表于 2018-10-31 20:07 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本人游戏版本为1.10.89,NMM版本为 0.65.2英文版
在这篇帖子里下载的My HUD汉化版,http://bbs.3dmgame.com/thread-4992231-1-1.html

进行安装的时候弹出An exception occured in the script.
万望大神予以帮助解答,谢谢!





详细说明如下:
An exceptioAn exception occured in the script.System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.Security.SecurityException: 请求“System.Security.Permissions.EnvironmentPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”类型的权限已失败。

Server stack trace:
   在 System.Security.CodeAccessSecurityEngine.ThrowSecurityException(RuntimeAssembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)
   在 System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet refusedSet, CodeAccessPermission demand, PermissionToken permToken, RuntimeMethodHandleInternal rmh, Object assemblyOrString, SecurityAction action, Boolean throwException)
   在 System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
   在 System.Security.CodeAccessPermission.Demand()
   在 System.IO.Path.GetTempPath()
   在 Nexus.Client.EnvironmentInfo.get_TemporaryPath()
   在 Nexus.Client.Mods.Formats.FOMod.FOMod.GetFileStream(String p_strFile)
   在 Nexus.Client.ModManagement.ModFileInstaller.InstallFileFromMod(String p_strModFilePath, String p_strInstallPath)
   在 Nexus.Client.ModManagement.Scripting.ScriptFunctionProxy.InstallFileFromMod(String p_strFrom, String p_strTo)
   在 System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   在 System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
   在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   在 Nexus.Client.ModManagement.Scripting.CSharpScript.CSharpScriptFunctionProxy.CopyDataFile(String p_strFrom, String p_strTo)
   在 Nexus.Client.ModManagement.Scripting.CSharpScript.CSharpBaseScript.ExecuteMethod[T](Func`1 p_fncMethod)
   在 Script.PerformCustomInstall()
   在 Script.OnActivate()
   --- 内部异常堆栈跟踪的结尾 ---
   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   在 Nexus.Client.ModManagement.Scripting.CSharpScript.ScriptRunner.Execute(Byte[] p_bteScript)

System.Security.SecurityException: 请求“System.Security.Permissions.EnvironmentPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”类型的权限已失败。

Server stack trace:
   在 System.Security.CodeAccessSecurityEngine.ThrowSecurityException(RuntimeAssembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)
   在 System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet refusedSet, CodeAccessPermission demand, PermissionToken permToken, RuntimeMethodHandleInternal rmh, Object assemblyOrString, SecurityAction action, Boolean throwException)
   在 System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
   在 System.Security.CodeAccessPermission.Demand()
   在 System.IO.Path.GetTempPath()
   在 Nexus.Client.EnvironmentInfo.get_TemporaryPath()
   在 Nexus.Client.Mods.Formats.FOMod.FOMod.GetFileStream(String p_strFile)
   在 Nexus.Client.ModManagement.ModFileInstaller.InstallFileFromMod(String p_strModFilePath, String p_strInstallPath)
   在 Nexus.Client.ModManagement.Scripting.ScriptFunctionProxy.InstallFileFromMod(String p_strFrom, String p_strTo)
   在 System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   在 System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
   在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   在 Nexus.Client.ModManagement.Scripting.CSharpScript.CSharpScriptFunctionProxy.CopyDataFile(String p_strFrom, String p_strTo)
   在 Nexus.Client.ModManagement.Scripting.CSharpScript.CSharpBaseScript.ExecuteMethod[T](Func`1 p_fncMethod)
   在 Script.PerformCustomInstall()
   在 Script.OnActivate()
失败的操作是:
Demand
失败的第一个权限的类型是:
System.Security.Permissions.EnvironmentPermission
失败的程序集的区域是:
MyComputer occured in the script.

回复

使用道具 举报

0

主题

499

帖子

590

积分

高级玩家

Rank: 4

贡献度
0
金元
5895
积分
590
精华
0
注册时间
2014-7-30
舒服的沙发
发表于 2018-11-5 11:55 | 只看该作者
同样问题
回复 支持 反对

使用道具 举报

0

主题

127

帖子

210

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
2097
积分
210
精华
0
注册时间
2012-5-5
硬硬的板凳
发表于 2018-11-27 02:59 | 只看该作者
同样问题!!!!
回复 支持 0 反对 1

使用道具 举报

1

主题

1225

帖子

1025

积分

游戏狂人

Rank: 6Rank: 6

贡献度
0
金元
10251
积分
1025
精华
0
注册时间
2012-6-12
冰凉的地板
发表于 2018-12-4 09:36 | 只看该作者
兄弟解决没,这里有解决办法。https://forums.nexusmods.com/ind ... pt-new-vegas/page-4
对我起作用的是这种;管理员身份打开nmm,设置里勾选Add Shell Extensions for Supported File Types,重启后正常。
回复 支持 2 反对 0

使用道具 举报

12

主题

1482

帖子

1420

积分

游戏狂人

Rank: 6Rank: 6

贡献度
47
金元
12323
积分
1420
精华
0
注册时间
2007-3-28

G胖の微笑

5#
发表于 2019-1-5 12:20 | 只看该作者
猫耳控 发表于 2018-12-4 09:36
兄弟解决没,这里有解决办法。https://forums.nexusmods.com/ind ... pt-new-vegas/page-4
对我起作用的是 ...

谢谢大佬 解决了
回复 支持 1 反对 0

使用道具 举报

1

主题

1225

帖子

1025

积分

游戏狂人

Rank: 6Rank: 6

贡献度
0
金元
10251
积分
1025
精华
0
注册时间
2012-6-12
6#
发表于 2019-1-6 04:18 | 只看该作者
xiangsu 发表于 2019-1-5 12:20
谢谢大佬 解决了

不客气~不过现在“NMM”最新版本似乎不需要设置..
回复 支持 反对

使用道具 举报

12

主题

1482

帖子

1420

积分

游戏狂人

Rank: 6Rank: 6

贡献度
47
金元
12323
积分
1420
精华
0
注册时间
2007-3-28

G胖の微笑

7#
发表于 2019-1-6 11:45 | 只看该作者
猫耳控 发表于 2019-1-6 04:18
不客气~不过现在“NMM”最新版本似乎不需要设置..

要的 我就是下的最新版..虽然大妈有朋友共享了汉化版 但是貌似登录不上账户~
回复 支持 反对

使用道具 举报

2

主题

198

帖子

261

积分

高级玩家

Rank: 4

贡献度
0
金元
2614
积分
261
精华
0
注册时间
2015-5-30
8#
发表于 2019-9-11 10:35 | 只看该作者
本帖最后由 漆黑の血 于 2019-9-11 10:36 编辑
猫耳控 发表于 2018-12-4 09:36
兄弟解决没,这里有解决办法。https://forums.nexusmods.com/ind ... pt-new-vegas/page-4
对我起作用的是 ...

我也遇到同样问题,但是和你的解决办法不同,nmm.exe右击属性--安全---然后选管理员账户---下面一栏全打钩(给nmm全部权限)
p.s 我是天际省来的
回复 支持 反对

使用道具 举报

1

主题

1225

帖子

1025

积分

游戏狂人

Rank: 6Rank: 6

贡献度
0
金元
10251
积分
1025
精华
0
注册时间
2012-6-12
9#
发表于 2019-9-15 17:58 | 只看该作者
漆黑の血 发表于 2019-9-11 10:35
我也遇到同样问题,但是和你的解决办法不同,nmm.exe右击属性--安全---然后选管理员账户---下面一栏全打钩 ...

哈哈,感谢老铁分享
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2025-3-5 02:46 , Processed in 0.278853 second(s), 15 queries , Memcache On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表