Jump to content
Sign in to follow this  
Minh Pham

Build success but exe can not run due to some weird service?

Recommended Posts

Anyone seen this before? Please explain what is in the red circle.

Im having a problem: webserver can not start after running my exe

After many builds I found that It is come down to one little vi that i used: Inverse matrix as shown in the attachments.

If i open this vi for the first time it shows: localhost as shown

then i close it, reopen the vi again and it is now changed to: my project/My Computer as shown

I dont understand, can you explain? This is the main cause of the error that i have as attached.

(i know this because if i remove this vi, my exe runs fine!)

post-11757-0-98526000-1346817206.png

post-11757-0-91392000-1346817207.png

post-11757-0-89134200-1346817208.png

Share this post


Link to post
Share on other sites

I haven't seen the "<W> Server: localhost" status before (I assume it's indicative of being loaded through the web server...), but the "EWP4ASTPST.lvproj/My Computer" indicates the project and target the VI is loaded under. The former is useful for ensuring that the VI is scoped to the correct project (logistical organization) and the latter is to ensure that the VI will be compiled for the correct target (other choices would be RT devices and probably WinCE/ARM/whatever other platforms LV supports).

However, I haven't messed with the web server at all, so I can't explain your symptoms. Did this just start happening? Easy, shot in the dark suggestions would be:

* restart the PC

* check <Program Files>\National Instruments\LabVIEW 2011\resource\webserver\logs for anything suspicious

* double check that web server doesn't have a screwy configuration for that VI

* do a repair on web server (if you can do just that component)

* ... or all of LabVIEW (if you can't)

Share this post


Link to post
Share on other sites

Can you right-click on the bottom of the VI and select "My Computer"?

Where is the VI in your project? Under My Computer or on an RT target?

Share this post


Link to post
Share on other sites

it's under My Computer.

It is a strange a problem. To solve this issue, after the build we went to the <application>.ini file and change the WebServer.Enable=False and it works.

Somehow this configuration is TRUE after the build.

I never have any real time target and such in all of my projects before.

Share this post


Link to post
Share on other sites
To solve this issue, after the build we went to the <application>.ini file and change the WebServer.Enable=False

Is your exe builder/installer pointing at a custom ini that has this line in it?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.