02-07-2012 09:33 PM
Hey guys I could use some help with a problem I am having.
I am working with webservers and am trying to stream my program from one computer (server) to another. I can do this with standalone problems but am having trouble when I try to use an executable. I have found this article for help:
http://digital.ni.com/public.nsf/allkb/7F95D43D3F50FCAC8625710E000068E1
I have included two print screens of the situation.
1st is my observed stand alone file.
2nd is my exe file that is showing an error
Any help would be greatly appreciated
02-08-2012 10:31 AM
I have tried it on another set of computers and found a similar error. But now it says "requested VI not loaded into memory on the server computer"
02-08-2012 01:37 PM
Are you using custom INI configuration file for your application ?
If yes I had same problem in which my custom INI configuration file were clashing with LabVIEW INI config file.
02-08-2012 03:05 PM
I've been working with labview for a little while but have never touched webserver before. I don't think I am using anything custom, I worked the page I posted to the T. Is there anyway I can check?
02-08-2012 07:35 PM
Hey dwhamm,
Did you build an installer too, or did you just build the .exe?
Regards,
Kira T
02-08-2012 08:16 PM
Now that I think about it I dont think I did. How do you do that again?
02-09-2012 05:38 PM
Hey dwhamm,
If the computer that you are trying to use as the server and deploy the executable on does not have the LabVIEW runtime engine that matches the development system, the remote front panel will not operate properly. Below please find a link on how to build an installer that you should make to include the proper runtime engine:
http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_installer/
There is a note at the bottom of the original tutorial that you referenced on what to be sure to include in the installer.
Also, were you able to try changing the URL from http://TargetComputerName/VIname.html to http://TargetComputerIPAddress/VIname.html?
Do you have any firewalls on the computer that is being used as the web server?
Regards,
Kira T
02-10-2012 10:32 AM
Kira T,
I have the most recent runtime engine on both machines. I have tried changing to the IP address and there are no firewalls on either computer.
I would like to reiterate I am picking up the Title, header, and footer each time I rerun the program.
It runs fine when running in the stand alone program.
I do appreciate the help you are giving, I am sure its jsut a stupid thing somewhere.
02-11-2012 06:31 PM
I reinstalled basically every software on each computer and got it working. Thanks for the help.