By custom authentication mode, the new report designer with SSRS2016 "Mobile Report Publisher" can't connect to the server.
So, if using custom authentication extension, you can't use the Mobile Report Publisher to create/edit the report.
Question 1#:
I traced by VS2015, it seems like the publisher try to invoke /reports/api/endpoints
and
be redirected to
http://127.0.0.1/ReportServer/login.aspx?ReturnUrl=http://127.0.0.1/reports/api/endpoints
even though the setting in web.config is:
<authentication mode="None" />
or
<authentication mode="Forms" />
Question 2#:
I added a webpage login.aspx
for
redirecting the request to /reports/api/endpoints
,
then there is another problem:
Traced by VS2015, "Mobile Report Publisher" didn't invoke the UserLogon()
method
implemented by custom Extension (defined by interface IAuthentication/IAuthentication2
).
Is it a bug ?
自定义认证模式,无论 ReportServer/web.config 中设置认证方式为
<authentication
mode="None"
/> 或
<authentication
mode="Forms"
/>
使用移动报表发布程序,连接服务器时,选择非 Windows账户,用 vs2015 跟踪:
1. 请求 /api/endpoints 被转向到 login.aspx
2. 添加一个 login.aspx 负责 redirect 到 /api/endpoints 后,移动报表发布程序并没有调用 IAuthentication/IAuthentication2 的 UserLogon() 方法进行身份验证。
所以,一旦启用自定义验证模式,就无法使用移动报表发布程序。
除非在 login.aspx 中进行虚假认证——这样权限就被完全放开了。