我在Power bi Report服务器上有用户名和自定义身份验证表单 传递(https://github.com/Microsoft/Reporting-Services)
现在,我想连接到ReportService2010.asmx以获取报表服务器上的报告,但我不知道传递用户名并传递给authen
ReportingService2010 rs = new ReportingService2010(); rs.ListChildren("/", false)
==>错误
Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- <html> <head> <title> Power BI Report Server </title><meta name="Generator" content="Microsoft Power BI Report Server 14.0.600.301" /> <meta name="HTTP Status" content="500" /> <meta name="ProductLocaleID" content="127" /> <meta name="CountryLocaleID" content="1033" /> <style> BODY {FONT-FAMILY:'Segoe UI',Tahoma,Verdana,sans-serif; FONT-WEIGHT:normal; FONT-SIZE: 10pt; COLOR:black} H1 {FONT-FAMILY:'Segoe UI',Tahoma,Verdana,sans-serif; FONT-WEIGHT:700; FONT-SIZE:15pt} LI {FONT-FAMILY:'Segoe UI',Tahoma,Verdana,sans-serif; FONT-WEIGHT:normal; FONT-SIZE:10pt; DISPLAY:inline} .ProductInfo {FONT-FAMILY:'Segoe UI',Tahoma,Verdana,sans-serif; FONT-WEIGHT:bold; FONT-SIZE: 10pt; COLOR:gray} A:link {FONT-SIZE: 10pt; FONT-FAMILY:'Segoe UI',Tahoma,Verdana,sans-serif; COLOR:#3366CC; TEXT-DECORATION:none} A:hover {FONT-SIZE: 10pt; FONT-FAMILY:'Segoe UI',Tahoma,Verdana,sans-serif; COLOR:#FF3300;
文字修饰:下划线} A:访问{FONT-SIZE:10pt; FONT-FAMILY:&#39; Segoe UI&#39;,Tahoma,Verdana,sans-serif; COLOR:#3366CC; TEXT-DECORATION:无} A:访问:悬停{FONT-SIZE:10pt; FONT-FAMILY:&#39; Segoe UI&#39;,Tahoma,Verdana,sans-serif;颜色:#FF3300; 文字修饰:下划线}
</style> </head><body bgcolor="white"> <h1> Report Server Error<hr width="100%" size="1" color="silver" /> </h1><ul> <li>The Authentication Extension threw an unexpected exception or returned a value that is not valid: .
(rsAuthorizationTokenInvalidOrExpired)获取在线帮助
Power BI Report Server -
- 有关此错误的详细信息,请导航到本地服务器计算机上的报表服务器,或启用remote 错误
由于