在Smart Mobile Studio中导入Datasnap Connector

时间:2016-05-18 06:29:03

标签: datasnap smart-mobile-studio

我遇到了Smart Mobile Studio的问题:我想连接datasnap服务器,我导入datasnap连接器(工具>导入Datasnap连接器......)但是当我执行代码时它会生成消息:

[INFO] Building project 'test'...
[INFO] Compilation successful [101 ms]
[INFO] Generating JavaScript successful [286 ms]
[INFO] Linking...
Resource file [$(DataSnap)\connection.js] not found
Resource file [$(DataSnap)\serverfunctionexecutor.js] not found
[ERROR] Linking failed: Error: Some resources (2) were not found

这很奇怪,因为我在HTML5 Builder项目和Delphi应用程序中使用该服务器,一切正常。如何修复(或配置SMS)并强制正常工作?

1 个答案:

答案 0 :(得分:2)

您必须配置DataSnap服务器才能生成这些JavaScript文件。它是New DataSnap Server向导中提供的服务器功能。你检查了选项吗? SMS需要这些文件。

网站上的文章Smart Mobile Studio如何使用DataSnap连接器: Using DataSnap Connector Importer