Showing results for 
Search instead for 
Did you mean: 

Web Server Not Enabling

Whenever I go to the http://localhost:3580/ website to enable the web server, I login as "admin" and leave the password field blank. I switch the web server from 32-bit to 64-bit and click enable. I leave the port as 8080 click apply. I get a dialog that tells me to restart, and I do. After I restart I try deploying my application which says "Web Services Deployment Failed. You must start the NI Application Web Server before deploying a web service." I log back into http://localhost:3580/ and see that my enabled checkbox no longer says "yes" it is back to "no". 


I'm assumign that means my server is not enabled, what can I do?

0 Kudos
Message 1 of 44

More info:


I'm just trying to run the simple "weather monitoring" example in the web services examples.


Worked in 2009 after I checked "enable web server" in the "web server" option.


2010 and 2011b's configuration is a little different because it sends you to http://localhost:3580 to make all your configuration changes. After you enabled the web server (like I said before), reboot, and go back in, the web server is still disabled.


I did some searching and made my way to Control Panel->Adiministrative Tools->Services and there just so happens to be a service called "NI Application Web Server". I right clicked and selected "start"


I got the following error:

Could not start the NI Application Web Server service on Local Computer.
Error 1075: The dependency service does not exist or has been marked for deletion.

I then selected properties to locate the path of the application and it pointed me to "C:\Program Files\National Instruments\Shared\NI WebServer\ApplicationWebServer.exe"


I tried to run and and got the standard windows error/debug window. 


I then went back to the services properties and noticed that the path was actually ""C:\Program Files\National Instruments\Shared\NI WebServer\ApplicationWebServer.exe" -user"


I went to the command prompt and tried running that and got a window titled "NI Services" that said "Failed to start the service".


I did notice that on a computer with only 8.6, there is no service called "NI Application Service" only "NI System Web Server".


I'm having this problem on my work PC (XP 32-bit) and my home PC (7 64-bit), two completely different systems. Does having 2011 beta installed break something? I can't imagine that this feature made it all the way through 2010 without working.


0 Kudos
Message 2 of 44

I'm having the same problem. The web service was working this morning [edit: on LV 2010], then I installed 2010 SP1. I built and tried to deploy my previously-working web service and got:


"Web Services Deployment Failed. You must start the NI Application Web Server before deploying a web service.:


Then I go to localhost:3580 and click a check on "enabled" and list port 80. Nothing happens. When I re-open the window it's unchecked. Clearly a bug in SP1, right? The only thing I changed since this morning was installing the DSC module but I suspect that's irrelevent.

Message 3 of 44

I'm going to uninstall all my NI software and try installing just 2010 SP1. I'll report with my findings.

0 Kudos
Message 4 of 44

I would try to install just LV 2010 without SP1 since that configuration for sure works; it was when I installed SP1 that it broke.


I hope this gets resolved soon, I don't have room for much more downtime. Good luck!

0 Kudos
Message 5 of 44

In the interest of experimentation, installing LV 2010 without SP1 and validating the web service would be the first step; next installing SP1 and verifying the problem would move this into legitimate bug territory.

0 Kudos
Message 6 of 44

I'll do this.... uninstalling takes forever

0 Kudos
Message 7 of 44

Have you configured the initialization file? My program is called E_Chart and the ini file is E_Chart.ini. It has the following items: Note "[E_Chart]"

server.tcp.servic="My Computer/VI Server"
WebServer.RootPath=C:\Program Files\National Instruments\LabVIEW 8.2\www

Some of the items will be generated on the fly. I think WebServer.Enabled=True is the critical item.

0 Kudos
Message 8 of 44

How do you get to this file? There is a WebService.ini file that gets deployed to the web directory [which I can't see because I can't deploy], but that doesn't seem to be what you're referring to. What you're showing seems to be project-specific but web server configuration in LabVIEW 2010 is global and web-based [through localhost:3850]. However, I imagine that a similar config file has to exist for the web-based config page, if only I can find it...

0 Kudos
Message 9 of 44

I tried installing 2010 (not SP1) and still no luck. I think I'm due for a reformat anyways, maybe I'll give that a go.


Edit: This time I get an error when I switch between 32 and 64-bit. I didnt get that before.


I still cant start the NI Application Web Service from the Admin Tools -> Services Program

0 Kudos
Message 10 of 44