在访问自己的网站时候出现如下异常,请大家帮我看看安全性异常
说明: 应用程序试图执行安全策略不允许的操作。要授予此应用程序所需的权限,请与系统管理员联系,或在配置文件中更改该应用程序的信任级别。 异常详细信息: System.Security.SecurityException: 未找到源,但未能搜索某些或全部事件日志。不可访问的日志: Security。源错误:
[没有相关的源行]
源文件: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\s_t\a9005599\f2657fb0\App_Web_rrccysqg.3.cs 行: 0 堆栈跟踪:
[SecurityException: 未找到源,但未能搜索某些或全部事件日志。不可访问的日志: Security。]
System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly) +706
System.Diagnostics.EventLog.SourceExists(String source, String machineName) +101
System.Diagnostics.EventLog.SourceExists(String source) +9
BasePage.PageBase_Error(Object sender, EventArgs e) +238
System.Web.UI.TemplateControl.OnError(EventArgs e) +105
System.Web.UI.Page.HandleError(Exception e) +73
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6969
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.spmgr_serverinfo_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\s_t\a9005599\f2657fb0\App_Web_rrccysqg.3.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.832; ASP.NET 版本:2.0.50727.832
说明: 应用程序试图执行安全策略不允许的操作。要授予此应用程序所需的权限,请与系统管理员联系,或在配置文件中更改该应用程序的信任级别。 异常详细信息: System.Security.SecurityException: 未找到源,但未能搜索某些或全部事件日志。不可访问的日志: Security。源错误:
[没有相关的源行]
源文件: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\s_t\a9005599\f2657fb0\App_Web_rrccysqg.3.cs 行: 0 堆栈跟踪:
[SecurityException: 未找到源,但未能搜索某些或全部事件日志。不可访问的日志: Security。]
System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly) +706
System.Diagnostics.EventLog.SourceExists(String source, String machineName) +101
System.Diagnostics.EventLog.SourceExists(String source) +9
BasePage.PageBase_Error(Object sender, EventArgs e) +238
System.Web.UI.TemplateControl.OnError(EventArgs e) +105
System.Web.UI.Page.HandleError(Exception e) +73
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6969
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.spmgr_serverinfo_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\s_t\a9005599\f2657fb0\App_Web_rrccysqg.3.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.832; ASP.NET 版本:2.0.50727.832
解决方案 »
- 正则匹配指定属性值的某一标签(C#)
- 如何让asp.net程序使用代理访问外部网页?
- 女生在这行适合做什么工作?请大家帮我提个建议
- 在线等!!!关于框架内有滚动条,移动滚动条,框架内的图像串了。请问有何方法能解决这样的问题!!!谢谢!!!!
- 关于Blog的四个简单技术问题
- 如何在 dataadapter中使用参数查询
- 没有相关的源行,搜了一下社区,还是没有解决!
- 关于page_load事件有时不能激发的问题。
- 请帮忙。RegularExpressionValidator的使用。
- ADO.NET的东东???????? ???
- 如何让订单序列号按照日志的形式生成,并且不能重复,防止并发
- 动态绑定多项框的问题
http://topic.csdn.net/u/20080129/16/479cedb2-d848-422a-a53a-5402e4384b20.html
http://topic.csdn.net/u/20070119/16/f6432d45-628e-41a6-ab1d-b8ee31ab5164.html春节快乐