01-26-2012 06:29 AM
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.
01-26-2012 09:32 AM
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.
01-26-2012 09:36 AM
Hello pspangler,
You got it!! The file path was the problem. Now it gets deployed with no error.
Thanks everyone!
01-26-2012 09:39 AM
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.
|
01-26-2012 09:43 AM
Ups, that only means one thing: that I have to read more carefully next time ![]()
Thank you, Puneet!