用户后台插件管理页面访问出问题了
<H1>Server Error in '/' Application. <HR width="100%" color=silver SIZE=1></H1><H2>
拒绝访问。 (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) </H2>
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessException: 拒绝访问。 (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impers/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
Source Error:
| <CODE><PRE>Line 82: void BindList()Line 83: {Line 84: this.PartsView.DataSource = UserPlug.GetPlugModules();Line 85: this.PartsView.DataBind();Line 86: </PRE></CODE> |
Source File: d:\freehost\5youp5\web\Management\PlugInfo.aspx.cs Line: 84
Stack Trace:
| <CODE><PRE>[UnauthorizedAccessException: 拒绝访问。 (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))][FileLoadException: Could not load file or assembly 'BlogCalendar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. 拒绝访问。] Spaces.Controls.UserPlug.GetPlugModules() +385 Manage_PlugInfo.BindList() in d:\freehost\5youp5\web\Management\PlugInfo.aspx.cs:84 Manage_PlugInfo.Page_Load(Object sender, EventArgs e) in d:\freehost\5youp5\web\Management\PlugInfo.aspx.cs:24 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436</PRE></CODE> |
<HR width="100%" color=silver SIZE=1>Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433