LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 10 on building application with websevices

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:

aartjan_0-1741187591824.png

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.

0 Kudos
Message 1 of 6
(210 Views)

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.

0 Kudos
Message 2 of 6
(105 Views)

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.

0 Kudos
Message 3 of 6
(92 Views)

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.

 
 
0 Kudos
Message 4 of 6
(87 Views)

Settings.png

 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.

0 Kudos
Message 5 of 6
(84 Views)

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.

0 Kudos
Message 6 of 6
(46 Views)