03-05-2025 09:17 AM
Hello fellow Labview-coders!
I am using Labview a lot to make web applications nowadays. I am currently working on an application that creates a mobile web-app. It works fine when I test run it inside Labview. But I haven't been able to build it into an application for a while now. I keep getting the same (probably arbitrary) odd error message below:
The errors of the application builder drive me crazy, because they are misterious and hard to solve. I can't deploy this application because of this error. Even though all the code is unbroken. The error also points to issues in packaging all the code in one place.
03-10-2025 04:11 AM
No responses as of yet. I wonder how many labviewers use webservices.
I forgot to mention that I am building this as a regular executable, with 3 webservices included. This made me wonder if I could get the error to vanish when I omit one or more of the webservices. And this paid off! Only one combination of two webservices actually causes this error. I think I am on to a bug here. Especially if you consider that the error is complaining about the built-in "trim whitespace" function.
03-10-2025 08:58 AM - edited 03-10-2025 09:01 AM
I don't have any solutions, but which LabVIEW version are you using? I know I had some issues with different versions when creating webservices.
Just a guess by the error, before building maybe delete everything in the folder where the application is going to be built to.
03-10-2025 09:10 AM
I was able to reproduce the error by setting the Destination director to the same directory where my source VIs are.
Make a subfolder called Build and set the Destination there.
03-10-2025 09:15 AM - edited 03-10-2025 09:17 AM
Here's a picture. For some reason it wasn't showing in my other reply. If you are already doing this then maybe it has something to do with the VIs being contained in llb. Maybe same a copy of those VIs directly in the folder with your other VIs.
03-20-2025 08:36 AM
Thank you for looking into my issue!
I found a way around it by merging two webservices (of 3) into one webservice. It is interesting that you were able to reproduce the error. But in my case, the build directory is far away from my source code.