A map service published from a query layer fails to display and query when the database connection is registered over OS (operating system) authentication.
上次发布: November 21, 2017ArcGIS for Server
漏洞 ID 编号
BUG-000100530
已提交
November 1, 2016
上次修改时间
March 30, 2022
适用范围
ArcGIS for Server
找到的版本
10.4.1
服务器平台
Windows OS
客户端平台
2012 R2
Version Fixed
10.6.0
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
Remove the database name from the query string in ArcMap.1. Add the query layer to the MXD.2. Right-click the query layer in the Table Of Contents > Properties.3. In the Source tab, click 'Change Query'.4. By default, the query is displayed as the following:select OBJECTID, NAME, Shape from geodatabase.dbo.Buildings5. Change the query to remove the database name:select OBJECTID, NAME, Shape from dbo.BuildingsAfter publishing the service, the data displays or queries as expected.