那个ASP.NET 站点又不行了,提示为 拒绝访问,前面还以为是权限问题,弄啊弄的,后来突然想到了日志,去日志看了一下,发现是麦咖啡的缘故
先试了关掉就可以了。
事件类型: 信息
事件来源: McLogEvent
事件种类: 无
事件 ID: 257
日期: 2007-7-5
事件: 16:57:01
用户: NT AUTHORITYSYSTEM
计算机: 4B9JBIX9M9C98GE
描述:
已由访问保护规则禁止。规则 通用最大保护:禁止在 Windows 文件夹中创建新的可执行文件 已禁止访问对象 C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
ootd6a877cc484d8168assembly mpWHA3OHA3AspNetPager.DLL。
事件类型: 警告
事件来源: ASP.NET 2.0.50727.0
事件种类: Web Event
事件 ID: 1310
日期: 2007-7-5
事件: 16:57:01
用户: N/A
计算机: 4B9JBIX9M9C98GE
描述:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 2007-7-5 16:57:01
Event time (UTC): 2007-7-5 8:57:01
Event ID: 4054dfb9eddd44069c441d1a83e68422
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-8-128280994209723804
Trust level: Full
Application Virtual Path: /
Application Path: F:asp.netwebyyf
Machine name: 4B9JBIX9M9UC98G
Process information:
Process ID: 3144
Process name: w3wp.exe
Account name: NT AUTHORITYNETWORK SERVICE
Exception information:
Exception type: HttpException
Exception message: Could not load file or assembly 'AspNetPager, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. 拒绝访问。
Request information:
Request URL: http://www.abc.com/Merchants.aspx
Request path: /Merchants.aspx
User host address: 125.125.75.16
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITYNETWORK SERVICE
Thread information:
Thread ID: 5
Thread account name: NT AUTHORITYNETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
Custom event details:
有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。