asp net访问被拒绝

时间:2014-02-28 11:54:16

标签: c# asp.net

在发布我的网站之前一切正常。 我有一个记者,让用户创建rdlc报告,并可以从Visual Basic访问它来修改它的视图。部署后问题出现了。无法访问报告保存的文件 System.ComponentModel.Win32Exception:访问被拒绝我为IIS完全控制权限中的所有用户添加并添加了DefaultAppPool(Identity:ApplicationPoolIdentity)并将其填满控制权限,但没有任何仍然访问被拒绝知道保存新文件没有保存。

描述:在执行当前Web请求期间发生了未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。

异常详细信息: System.ComponentModel.Win32Exception:访问被拒绝

Line 394:currentReportVersion = ReportVersion.Load(reportVersionId);           
Line 395:System.Diagnostics.Process.Start(MapPath(@"UserDefinedReports\" + currentReportVersion.ReportPhysicalName));


[Win32Exception (0x80004005): Access is denied]
   System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) +1075
   System.Diagnostics.Process.Start(ProcessStartInfo startInfo) +60
   SchoolWeb.ManageReports.gvReportVersions_RowCommand(Object sender, GridViewCommandEventArgs e) in C:\Applications\SchoolSystem\SchoolWeb\ManageReports.aspx.cs:396
   System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +173
   System.Web.UI.WebControls.GridViewRow.OnBubbleEvent(Object source, EventArgs e) +164
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +84
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804

请大家我需要你的帮助。 提前致谢。

0 个答案:

没有答案
相关问题