LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Webserver Problems when using exe file

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

 

Download All
0 Kudos
Message 1 of 9
(2,847 Views)

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" 

0 Kudos
Message 2 of 9
(2,833 Views)

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.

 

0 Kudos
Message 3 of 9
(2,820 Views)

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?

0 Kudos
Message 4 of 9
(2,812 Views)

Hey dwhamm,

 

Did you build an installer too, or did you just build the .exe?

 

Regards,

Kira T  

0 Kudos
Message 5 of 9
(2,799 Views)

Now that I think about it I dont think I did.  How do you do that again?

0 Kudos
Message 6 of 9
(2,797 Views)

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

Message 7 of 9
(2,784 Views)

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.

0 Kudos
Message 8 of 9
(2,772 Views)

I reinstalled basically every software on each computer and got it working.  Thanks for the help.

0 Kudos
Message 9 of 9
(2,759 Views)