我Synchronization.Receive()在 Genexus Ev3 U9 中的 Android 应用程序上执行手动同步,但该过程正在返回并出现错误 99。检查 Catlog 我发现错误发生在我打开时调用http://myhost/MyAppWeb/rest/MyAppOfflineDatabase?fmt=json这个来自桌面浏览器的地址我看到了下面的 json
{"error":{"code":"500","message":"Ya existe una propiedad con el nombre 'HttpOperationSelectorData'."}}
我以为是离线数据库结构的问题,所以我再次创建了离线数据库,从设备上的应用程序中删除了数据,卸载它并重新安装它,但问题一直存在。
我还应该检查什么?
这是发生错误的 catlog 段:
08-03 22:36:29.298 D/Genexus-HTTP(23857): Request (POST) to http://192.168.12.178/MyApp/rest/MyAppOfflineDatabase?fmt=json
08-03 22:36:30.711 E/Genexus-HTTP(23857): Response (500) from http://192.168.12.178/MyApp/rest/MyAppOfflineDatabase?fmt=json
08-03 22:36:30.712 E/GeneXusApplication(23857): Type:System.Data.SqlClient.SqlException.DBMS Error Code:8163.The text, ntext, or image data type cannot be selected as DISTINCT.
08-03 22:36:30.712 E/GeneXusApplication(23857): Invalid sync response from server
谢谢