尝试运行报告时出现以下错误。任何想法或意见?SQL Server报告服务2005 401错误
错误消息HTTP状态401请求失败:未经授权。
页ASP.testreports_aspx
来源Microsoft.ReportViewer.Common:System.String [] GetSecureMethods()
堆栈跟踪Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.GetSecureMethods()在微软。 SqlServer.ReportingServices2005.Execution.RSExecutionConnection.IsSecureMethod(String methodname)Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report,String HistoryID)at Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo()at Microsoft.Reporting.WebForms .ServerReport.SetParameters(IEnumerable`1 parameters)at CFAUI.WebForms.CFAPreview.Page_Load(Object System.Web.Util.CalliHelper.EventArgFunctionCaller上的第31行(IntPtr fp,Object o,Object t,EventArgs e)在C:\ test \ testapp \ AUI \ WebForms \ testPreview.aspx.cs中的第31行.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender,EventArgs e)在System.Web.UI.Control.OnLoad(EventArgs e)上System.Web.UI.Control.LoadRecursive()在System.Web.UI.Page。 ProcessRequestMain(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint)
用户ID
我想知道,如果它只是一个配置问题和可能的原因是相同的。任何帮助,将不胜感激?
那么,401显然是一个权限问题......但代码转储显示它至少试图运行它,所以它可能不是最简单的。 我假设你已经为此设置了IIS身份验证,所以这是你要尝试的第一件事情:用户帐户是否有权执行该目录中的ASP? ASP是否有足够的权利去做任何需要的事情(例如创建/读取/删除文件,访问网络资源等)? – ewall 2010-03-19 20:00:45
正如您所说的,用户可以在该目录中执行ASP,因为用户可以查看不执行任何操作的页面,但是当页面尝试运行并呈现报表时会发生这种情况。我将与部署团队核对,并让他们知道他们已经完成了哪些工作。 – SARAVAN 2010-03-19 20:35:09