Jump to content

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

Link to comment

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)

Link to comment

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.

Link to comment

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...

Important Information

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