LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable file containing a webservice request is not working (find .net assembly named...)

Solved!
Go to solution

Hello, I've build a simple application that calls a web service:

(this is a free web service that gives a list of prime numbers, the wsdl address is:http://www50.brinkster.com/vbfacileinpt/np.asmx?wsd)

The vi is perfectly working on my computer,I've build an executable, and it is working on my pc.

When I try to run this executable on another machine that has Labview runtime 8.5 installed (this vi was created with labview 8.5) it's not working.

The executable is looking for a file:

"Find the .NET assembly named primenumber.dll"

I select this file that automatically was created in the data directory of the executable and I receive the answer:

Labview: file not found. The file might have moved or deleted, or the file path might be incorrectly formatted for the operating system. For example.......

Does someone has some tips or solution for this problem?

thanks in advance

 

 

Message Edited by Riccardo-99 on 02-09-2009 05:29 AM
0 Kudos
Message 1 of 3
(3,333 Views)
Solution
Accepted by topic author Riccardo-99

Hi Riccardo,

 

Thanks for the post and I hope your well today.


Firstly, could you please go to this link, then under "How do I create and install a built application containing a web server and web service VIs?" and "Install the build application"

 

Link:  http://zone.ni.com/devzone/cda/tut/p/id/7747#toc12

(and toc13)

 

You may have forgotten to create the documentroot directory on the target machine.

 

The link has a step by step guidence - maybe this will help. 

 

Please let me know how you get on, 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 3
(3,318 Views)

Bonjour Support techinique de Labview,

 

J'ai un sérieux problème avec le web service de labview, j'ai testé tous les exemples que ni m'a proposé à travers  son site en englais.

Sur tous les projets, la construction dans spécifications de construction se passe bien. Mais quand il s'agit de déployer, je constate à  chaque fois l'erreur suivante :

 

Initialisation...
Calcul des dépendances...
Vérification des éléments pour rechercher les conflits. Cette opération peut prendre un certain temps...
Préparation des éléments à télécharger. Cette opération peut prendre un certain temps...
Déploiement de My Computer
Déploiement de NI_WebServices.lvlib
Déploiement de My Web Service
Web Services Deployment Failed
Le téléchargement s'est effectué avec des erreurs
.

 

 

Donc je voudrai vous poser les questions suivantes :

Est ce le Web Service WCF marche avec Labview?

Qu'est ce que ces erreurs signifient réellement?

Est ce vous pouvezs'il vous plait me présenter un exemple d'application?

 

Pour information j'ai Labview 8.6 pro

 

Merci d'avance

Yakhya

Message 3 of 3
(3,146 Views)