22,209
社区成员
发帖
与我相关
我的任务
分享
rs = new sohemacnwebReportService.ReportingService2005();
rsExec = new sohemacnwebReportExecution.ReportExecutionService();
rs.Credentials = new System.Net.NetworkCredential("UserName", "Password");
rsExec.Credentials = new System.Net.NetworkCredential("UserName", "Password");
rs.ListChildren(@"/", true);
rs.LogonUser("UserName", "Password",null);
rs.ListChildren(@"/", true);
The Authentication Extension threw an unexpected exception or returned a value that is not valid: identity==null. (rsAuthenticationExtensionError)
异常。rs.LogonUser("UserName", "Password",null);
Log on failed. ---> Microsoft.ReportingServices.Diagnostics.Utilities.LogonFailedException: Log on failed.