搜索
热搜: 活动 交友 discuz
查看: 881|回复: 0
收起左侧

[已提交] IP防锁工具无法运行,怪了.

[复制链接]

该用户从未签到

发表于 2014-1-14 19:55:00 | 显示全部楼层 |阅读模式
如下:
错误信息
-----------------------------------------------------
System.UnauthorizedAccessException: Access to the path 'C:\Windows\system32\drivers\etc\hosts' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
   at ..(String ) in e:\Develop\Private\iFishWinForm\12306TOBA\TOBA\Cn12306ServerIpRelocator\HostLib\Hosts.cs:line 216
   at ..() in e:\Develop\Private\iFishWinForm\12306TOBA\TOBA\Cn12306ServerIpRelocator\MainForm.cs:line 253
   at ..() in e:\Develop\Private\iFishWinForm\12306TOBA\TOBA\Cn12306ServerIpRelocator\MainForm.cs:line 299
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()


环境信息
-----------------------------------------------------
操作系统版本:Microsoft Windows NT 6.1.7601 Service Pack 1
程序运行目录:D:\downloads\12306订票助手.NET\12306IP


模块信息
-----------------------------------------------------
[001]. mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
[002]. 12306防封锁自动换IP工具, Version=2.1.0.1, Culture=neutral, PublicKeyToken=null , D:\downloads\12306订票助手.NET\12306IP\12306防封锁自动换IP工具.exe
[003]. System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
[004]. System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a , C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
[005]. System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
[006]. SimpleUpdater, Version=2.3.4.5, Culture=neutral, PublicKeyToken=8bf54bd6729f490c , D:\downloads\12306订票助手.NET\12306IP\SimpleUpdater.dll
[007]. System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a , C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
[008]. System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
[009]. System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
[010]. Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed , D:\downloads\12306订票助手.NET\12306IP\Newtonsoft.Json.dll




您需要登录后才可以回帖 登录 | 入住

本版积分规则

申请友链| Archiver| 手机版| 鱼·后花园

GMT+8, 2024-5-23 12:04 , Processed in 0.020531 second(s), 15 queries , Redis On.

Powered by Discuz! X3.4

© 2005-2024 鱼·后花园

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