LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service deploy error

Solved!
Go to solution

Hello Jared,

 

I'm deploying WS in a windows machine, a simple PC that will behave as a server.

 

Also, I took a look into the log file and these three lines appear in it:

26/01/2012 13:11:27,406 | t=730 | ERROR | ws_shared | Unzipper::do_extract_currentfile | error opening C:\Documents and Settings\All Users\Datos de programa\National Instruments\WebServices\aws\WS_PQM_PROCESS_VoltageSagMagnitude-E03B00A2-E181-43E1-A76D-D9C1A1CA3C29\internal.llb\NIMS_VariableToken_CondDefinedDefinedByReplace_D162CFFC24174562A9FEA619A91E1A56_001.vi

26/01/2012 13:11:27,406 | t=730 | ERROR | ws_runtime | ServiceManager::InstallServiceFromLVWS | Error encountered while extracting file [C:\Documents and Settings\Cesc\Mis documentos\LabVIEW Data\WebServices\Standalone\WS_PQM_PROCESS_VoltageSagMagnitude.lvws]

26/01/2012 13:11:27,641 | t=730 | ERROR | ws_runtime | ServiceManager::LoadDeployedWebService | Unable to load web service from [C:\Documents and Settings\All Users\Datos de programa\National Instruments\WebServices\aws\WS_PQM_PROCESS_VoltageSagMagnitude-E03B00A2-E181-43E1-A76D-D9C1A1CA3C29\], likely an invalid WebService.ini file

 

I can't check out the WebService.ini file because the directory is not created. Is there any way to see what the .lvws file contains in it?

 

But a crazy thing is that I have another VI as a WebService, with the same structure, which I was able to deploy as a web service. I have attached the entire project, the project file with the VIs included in it.

Francisco José Gómez López
Software Engineer
0 Kudos
Message 11 of 15
(1,331 Views)
Solution
Accepted by topic author fran_jo

Hello Francisco,

 

Looking at the logs you posted, there may be an issue with the length of the file path to your VI. Please try changing the name of your web service to something shorter (like "Test") and see if that allows you to deploy.

Message 12 of 15
(1,326 Views)

Hello pspangler,

 

You got it!! The file path was the problem. Now it gets deployed with no error.

 

Thanks everyone!

Francisco José Gómez López
Software Engineer
0 Kudos
Message 13 of 15
(1,322 Views)

 

 

Thanks Pspangler.

 

Fran_jo,    This is also mentioned in known issues list, which i sent you.

 

 

51179
47B12U5U


Return
Error 6 occurred at Create Folder in Create Directory Recursive.vi when building an application (EXE), shared library (DLL), source distribution or web service
When building a Build Specification, the build process fails with Error 6 at Create Folder in Create Directory Recursive.vi. This usually happens if the path one of the files generated by the build (temporarily during the build process or as part of the output) is too long. The operating system requires paths for files to be less than 255 characters.

Workaround: 1. Use a shorter path for your build destination (i.e. c:\build\) and if necessary copy the output to the final location you need. 2. A. For application (EXE) and shared library (DLL) build specifications, place a checkmark in the Use LabVIEW 8.x file layout checkbox on the Advanced page of the Properties dialog box. 2. B. For source distribution or web service build specifications, uncheck the Preserve disk hierarchy checkbox on the problem Destination on the Destinations page of the Properties dialog box.

Reported Version: 8.2.1    Resolved Version: N/A    Added: 10/06/2008
Message 14 of 15
(1,317 Views)

Ups, that only means one thing: that I have to read more carefully next time Smiley Tongue

 

Thank you, Puneet!

Francisco José Gómez López
Software Engineer
0 Kudos
Message 15 of 15
(1,313 Views)