12-15-2010 07:23 AM
I am getting error when i tried to enable the Application Web Server in LabVIEW 2010.
Earlier, i was able to build and deploy the web services properly. But i installed LabVIEW 2010 f4 patch for including few features, after that i was not able to deploy the web services. It says that web server is not running.
So, i tried to enable the Application Web Server with a port 8080 in the Configuration Web Server page.
But when i press the button "Apply", i am getting "error on page" string at the Left Bottom of the page.
I logged in to the onfiguration Web Server page as Admin.
Can anyone suggest me a way of enabling the web Server page?
Thanks,
Alagar
02-24-2011 02:44 AM - edited 02-24-2011 02:45 AM
I reformatted the whole PC(i.e i erased the contents of the hard diska nd installed the windows OS again) yesterday and tried with installing the LabVIEW 2010 agin with out the f4 patch. I was able to build and deploy the web services.
Suddenly, today the same problem arised. I am not able to deploy the web service. It showed me an error while deploying the web service. Please see the attached Deployment Error.
As per the indication in the error I tried to set the Application web server Port number. Then I tried to enable the Application Web Server port based on the steps indicated in the link below:
http://zone.ni.com/reference/en-XX/help/371361G-01/lvhowto/ws_enable_web_server/
When I enable the error, I got the error. Please see the atatched Application Web Server Error.
Please suugest me a solution for this error.
03-09-2011 09:56 AM
I'm unsure as to why the application server isn't running and I'm also unsure as to what the error in the configuration web page is. There is, however, another way to enable the application web server. Open the service control manager. On XP, this can be found from the control panel >> administrative tools >> services. On Vista/7 you can simply type "services" in the search programs and files off the start menu.
Once you have the service control manager open, look for a service called "NI Application Web Server".
Right click on it and select Start.
Also, can you post a screenshot of the error details on the web page when you try to enable it from there?
03-10-2011 04:49 AM
Hi James,
Thanks for your reply.
I couldn't find any services related to "NI Application Web Server" in the Windows Services of my PC.
Please find the attached screen shot of the error that I encountered in the Web Page, when I tried to enable the Application Web Server port.
Thanks,
Alagar
03-10-2011 10:55 AM
Ok, attached is a screenshot of the service control manager on one of my test machines. If you did a standard LV install, the application web server should have been installed. If it's not there, well then... we know what the problem is The screenshot should help you find it.
Thanks for the screenshot of the error dialog, but I can't quite see the error details. Can you copy/paste them into a forum reply?
We'll get you up and running again!
Thanks!
03-11-2011 01:20 AM - edited 03-11-2011 01:23 AM
Hi James,
Still, i couldn't find the NI Application Web Server in Service Control Manager of my Machine.
Please find the attached sceeen shot of the Service Control Manager.
Below are the details in the error dialog that I got when enabling the Application Web Server in Web Page:
Line : 1
Char: 1
Error: Unhandled Error in Silverlight Application [Arg_NullReferenceException]
Code: 0 URL:
03-14-2011 09:58 AM
Ok, thanks for the screenshots and the stack trace.
Clearly, the problem is that the application web server isn't registered with the service control manager. The installer should have done this for you. Can you tell me exactly what version of LV you are running and what installers you ran to get it onto your machine?
03-14-2011 04:21 PM
For what it's worth, a couple of us have been dealing with this on another thread:
http://forums.ni.com/t5/LabVIEW/Web-Server-Not-Enabling/m-p/1485368/highlight/false#M561065
[to no avail, yet]
I had a web service up and running on LV 2010 until friday. After installing SP1, I can no longer click "Enable" on the localhost:3850 web server configuration page. In IE I get "An error has occurred" and in Firefox I get nothing. When I reload the page, the web service is not enabled.
In my Services dialog I have several NI entries but none for the application web server.
03-15-2011 12:44 AM - edited 03-15-2011 12:49 AM
Hi James,
I have LabVIEW version 10.0(32-bit).
I Installed Data Finder Toolkit along with LabVIEW development System.
Only these two products, I installed from the LabVIEW 2010 DVD.
Thanks,
Alagar
03-15-2011 12:07 PM
Ok, it definitely sounds like something's wrong with the installer. Can you do me one more favor:
Look in the following folder:
C:\Program Files\National Instruments\Shared\NI WebServer
and tell me if there is a file called
ApplicationWebServer.exe?
I'm trying to determine if the file itself was removed or if the service was simply unregistered.
In the meantime, I've involved our installer developers and they'll be looking into this.