Unit XData.Web.Client not found

Hi,

XData.Web.Client unit can't be found in a WebCore app. I have uninstalled and re-installed XData using TMS Smart Setup GUI but no difference. Only library path is C:\Pair\TMS Setup\Products\tms.biz.xdata\packages\d12\Win32\Release, I don't know when this started happening as I haven't compiled my app in a while. I get the same error with any XData Web Demo.

What is strange is that code completion on entering XData.Web.Client Works!

Any help greatly appreciated.

Thanks,

Ken

In Web Core library path options (Web Core, not Delphi) you should have the path where XData.Web.Client.pas unit is located.

Note that there are two XData.Web.Client.pas files, one in <xdata>\source\core, the other in <xdata>\source\core\web. It's the latter one that should be in Web Core library path, the former should be in regular Delphi library path.

However, Smart Setup should properly set such paths accordingly. Can you please uninstall XData, check the library path values (for both Delphi and Web Core), reinstall again, and then check if the paths were added to both configurations.

Then check if the compilation is working. If still failing, please send detailed information about the procedure described and also please send the logs.zip file.

Thanks Wagner. I only have one entry in Web Core library path:

$(TMSWebDir)\Core Source\*

What is the best approach to rebuilding this?

You can go to command-line and run the following command from your Smart Setup folder:

tms build tms.biz.xdata -full

Then check if it works, if not send the logs.zip file ideally before running any other command or doing any other operation.

I get past XData.Web.Client not found but now Bcl.Json.Attributes not found. I have sent the zip to support.