 TobyD
		
			TobyD
		
		
		
		
		
		
		
		
	
			04-14-2011 11:28 AM
I am unable to start the NI Application Web Server service (LV2010 SP1 - Win7 x64 SP1). Here's what I know...
All this leads me to the big question…When a web service is deployed, the web server somehow remembers it and attempts to re-deploy the service each time it launches. I want to wipe out the list of previously deployed web services so that I can start the web server service without it loading any web services. Where do I do this? I have dug a bit in the registry and browsed through the ProgramData folder to no avail. Any ideas?
Thanks,
Toby
Solved! Go to Solution.
04-14-2011 02:56 PM
When deploying, the webservice .lvws file is stored in a the following location:
32-bit webservices on 64-bit win 7/win vista:
C:\Windows\SysWOW64\config\systemprofile\Documents\LabVIEW Data\WebServices\Standalone
64-bit webservices on 64-bit win 7/win vista:
C:\Windows\system32\config\systemprofile\Documents\LabVIEW Data\WebServices\Standalone
32-bit webservices on 32-bit win 7/win vista:
C:\Windows\system32\config\systemprofile\Documents\LabVIEW Data\WebServices\Standalone
Win XP:
C:\Documents and Settings\LocalService\My Documents\LabVIEW Data\WebServices\Standalone
If you do not want your web service to be loaded after subsequent reboots, you can clean up the .lvws files from these locations.
If you want your web service to be loaded only once after you deploy, you can uncheck the "Deploy as standalone Web Service" checkbox in the "Service Settings" tab of the web services properties dialog. You will need to rebuild your web service after making this change. This will make sure that the web service is NOT built as a standalone service, meaning that it will cease to exist once the instance of the process that deploys the web service exits (LabVIEW). Please make sure that you clean up your existing standalone web service completely before trying to deploy a web service with the name that is not standalone.
04-14-2011 03:21 PM
Thanks James! That is exactly what I was looking for. I was able to remove the offending lvws file and the Web Server Service started as expected. Also, great information about the "Deploy as standalone Web Service" switch. The documentation on what that means could use some clarification (as could a lot of the documentation for the web services stuff  )
)
-Toby
 AkamaiPhysics
		
			AkamaiPhysics
		
		
		
		
		
		
		
		
	
			10-09-2012 03:59 PM
I tried all those places and couldn't find the .lvws file. Is there somewhere else it could be?
10-09-2012 05:08 PM
What version of LabVIEW are you using?
 mjaspan
		
			mjaspan
		
		
		
		
		
		
		
		
	
			11-14-2012 11:02 AM
Likewise I also failed to find the *.lvws files in the appropriate folder for windows 7.
On my WinXP computer, the *.lvws files are where they belong according to your post, "C:\Documents and Settings\LocalService\My Documents\LabVIEW Data\WebServices\Standalone"
On my Win7 computer, 32-bit webservices on 32-bit win 7, the folder is empty (C:\Windows\system32\config\systemprofile\Documents\LabVIEW Data\WebServices\Standalone). The webservices on that computer work fine, with the exception that I cannot find where the stand alone versions of the *.lvws files are stored. I tried deleting the *.lvws files from C:\ProgramData\National Instruments\WebServices\aws, however they are restored on reboot. I'm stumped as to where they are being restored from. The webservices were installed with an application installer and the LV IDE is not installed. LV version 2012.
Any suggestions appreciated.
Martin