02-23-2012 09:20 AM
Hello,
(BTW: I have german version and dont know if the names are correct written in english)
I've created a (not small) application and use the "Enable debugging" attribute of my project. With AppBuilder it generates an EXE.
This exe I've put on the test computer (client) and run-> OK, I can run it.
Then I go on the development machine in LabView on Menu "Troubleshooting application or DLL ...".
I connect to the computer and it started to download the required files from the client. But eventually it went no further, then I looked at the client, and there was an error:
"It is a fatal error occurred. The connection is terminated." (in german "schwerwiegender Fehler")
Why is that?
How can I solve the problem?
Is there somewhere a log file where it describes why this error occurs?
In the attached file there are the screenshots of the error.
Thank you.
Solved! Go to Solution.
02-23-2012 09:36 AM
Here the images (which are in zip file):
Wichtige Fehlermeldung:
"Verbindung zur Applikation im Netzwerk konnte nicht hergestellt werden"
Wichtige Fehlermeldung:
"Es ist ein schwerwiegender Fehler aufgetreten. Die Verbindung wird beendet."
(sorry, in german)
02-23-2012 09:39 AM
Try this steps given in the link : http://digital.ni.com/public.nsf/allkb/8DA679805915DE40862572D5007B2F70
Also check NI Service Locator : http://digital.ni.com/public.nsf/websearch/8C00F1144B2CD73E86256DEF00698AC3?OpenDocument
02-24-2012 02:42 AM
Thank you for reply, but:
1. I follow the same steps as described
2. it starts to download the VIs from remote PC, so the NI Service Locator is running
So this is not the solution.
Any other ideas?
02-24-2012 02:52 AM
Hello,
have you tried to "remote debug" a small Application?
If this works, maybe we have some networking issues involved here.
I would recomend to take the Development System and the Test System out of your Office Network and use good old Cross Over Cable.
Best Regards!
Moritz M.
02-24-2012 03:10 AM
Thanks for reply,
With a small application IT IS WORKING!
(very small: only while loop and information of current state)
So, perhaps it is a network problem, but perhaps not ...
Any other ideas?
02-24-2012 04:16 AM
Next step:
I have found out, that the error comes from a built compressed/packed library (lvlibp) which I use in my application.
I have added this library to my very small application and now there is the same issue: Same error and I cannot remote debug.
Any Ideas?
I attached the lvlibp file (zipped).
Perhaps anybody could try with it?
Thank you
02-24-2012 04:21 AM
Wonderful !
And now there is an exception and LabView 11 crashed (not the first time, perhaps 20 times at all now) 😞
Screenshot:
02-24-2012 04:39 AM
OK, back to the root question:
Has anybody an idea why it does not remote debug?
Has anybody experience with integrating a lvlibp (packed lv lib) into application and remote debug it?
Is there anything I have to keep in mind?
Thank you
02-24-2012 05:26 AM
Next step:
If I use the lvclass directly in my application, IT WORKS with remote debugging:
If I use the same class in compressed lib, it does not work:
(then error ocuures as described above)
Any Idea?
I have tried several property values of the compressed lib:
-"Fehlersuche aktivieren" ic checked (enable debug)
-no excludes (unchecked remove Typedefines...)
BTW: It does not update the version number of library. I set checkbox to automatically increase version number, but when I insert this lvlibp into small app, and open properties of this lvlibp, it tells me version 1.0.0.0
I have attached Source Code of small application using lvlibp library (MidSmallUsingClasses)
and of lvlibp project itself (TestClass)
Please help me: try to build, include in some application as packed library and remote debug.
Thank you in advance.
Please help me.