升级2sxc至18.0.0版本后SQL数据查询功能失效求助
各位大佬,求助!我最近把站点上的2sxc升级到了18.0.0版本,结果发现部分应用里用的SQL数据块(就是查询设计器里的那个组件)没法正常工作了。
测试查询的时候直接返回了错误,具体的错误信息如下:
{
"Default": [
{
"SourceStream": "Default",
"Error": "Error: Can't read from Database",
"Message": "Something failed trying to read from the Database.",
"SourceName": "Sql",
"DebugNotes": "There should be more details in the insights logs",
"SourceType": "Sql",
"SourceLabel": "Sql",
"SourceGuid": [],
"Id": 0,
"Guid": "00000000-0000-0000-0000-000000000000",
"Title": "Error: Can't read from Database",
"Modified": "0001-01-01T00:00:00Z",
"Created": "0001-01-01T00:00:00Z"
}
]
}
现在我还没摸清楚到底是哪里出了问题,有没有朋友遇到过类似的情况?或者能给我一些排查的方向?比如是不是新版本对SQL查询的权限、语法规则做了调整?麻烦大家支支招,谢谢啦!
备注:内容来源于stack exchange,提问作者MBouwman

