06-26-2014 10:11 AM
I build an application exe and then its installer along with run time environment.
The installers instals the application correctly but when I try to execute the application, I get an error that application has crashed and Windows must close it down or search for solutions online with this additional information for the crash.
Problem signature: Problem Event Name: APPCRASH Application Name: AGMS.exe Application Version: 1.3.0.0 Application Timestamp: 4c24e8f5 Fault Module Name: lvrt.dll Fault Module Version: 10.0.0.4033 Fault Module Timestamp: 4c9273f4 Exception Code: c0000005 Exception Offset: 00005310 OS Version: 6.1.7601.2.1.0.256.1 Locale ID: 1033 Additional Information 1: 0a9e Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 Additional Information 3: 0a9e Additional Information 4: 0a9e372d3b4ad19135b953a78882e789 Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt
I am using labview 2010 sp1 32 bit on a 64-bit machine, with the following specs
Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130318-1533) Language: English (Regional Setting: English) System Manufacturer: Dell Inc. System Model: Dell System XPS L502X BIOS: Default System BIOS Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz Memory: 8192MB RAM Available OS Memory: 8106MB RAM Page File: 3457MB used, 12753MB available Windows Dir: C:\Windows DirectX Version: DirectX 11 DX Setup Parameters: Not found User DPI Setting: Using System DPI System DPI Setting: 96 DPI (100 percent) DWM DPI Scaling: Disabled DxDiag Version: 6.01.7601.17514 32bit Unicode
The exe /application runs fine on my PC but when I try to run it on another PC it crashes. The other PC has similar specs as given below
Operating System: Windows 7 Ultimate 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.140303-2144) Language: English (Regional Setting: English) System Manufacturer: LENOVO System Model: HuronRiver Platform BIOS: Default System BIOS Processor: Intel(R) Core(TM) i3-2330M CPU @ 2.20GHz (4 CPUs), ~2.2GHz Memory: 4096MB RAM Available OS Memory: 4010MB RAM Page File: 1359MB used, 6658MB available Windows Dir: C:\Windows DirectX Version: DirectX 11 DX Setup Parameters: Not found User DPI Setting: Using System DPI System DPI Setting: 96 DPI (100 percent) DWM DPI Scaling: Disabled DxDiag Version: 6.01.7601.17514 32bit Unicode
I tried another machine, 64 bit of course, as I want to deploy my application on a 64bit PC, but still got the same problem.
This other machine was from HP, iCore 3 (4 CPUs) 2.2GHz, 4GB RAM and running Windows Professional 64 bit.
Now as I see it, it could be a Run-time environment mis-match error.
For this I tried installing a 64 bit LVRTE from NI, but still no sucess.
I checked DEP, for all 3 PCs and it was set to the following
Turn on DEP for essential Windows programs and services only (first option).
I am confused. I can not find a solution for this and it is really frustrating.
06-26-2014 10:17 AM
@burhanmz wrote:
Now as I see it, it could be a Run-time environment mis-match error.
For this I tried installing a 64 bit LVRTE from NI, but still no sucess.
No, you need the 32bit run time engine if the application was build in LaVIEW 32bit. (Runs fine in windows 64bit).
What does the application do? What kind of drivers are involved? Did you reboot after installation?
Do you get the same problem when building a very simple LabVIEW application?
06-26-2014 10:19 AM
You have a 32 bit development enviornment you are developing a 32 bit application and need the 32 bit run time engine to run the app.
06-26-2014 11:30 AM
But I am assuming that when I make the installer, the 32-bit Run Time Engine is appened with the installer, as show below
Since from the picture you can see its including the support installers from '\Program Files (x86)\'
The application runs queries to fetch data from database in SQL server 2008, and for that I am using a Microsoft SQL Native Client 2008 R2 64 bit ( this is the only version that installs on either PC, even the one on which I developed my LV Application).
I am not using any driver, only toolkits for reports - and for that I un-checked the "Remove unused polymorphic VI instances" when making the executable, otherwise LV throws up an exception that share variable are not being included.
Yes I did reboot every time after I ran the installation.
Still getting the same error.
06-26-2014 11:36 AM
I know and I fully understand what you are saying, but would my LabView, by default would be including a 32-bit RTE when I make the installer?
I think it is, because I tried my installer on two more machine just now, both 32 bits. One Dell desktop Intel Core 2 Duo, 2GHz, 1.5GB RAM and Windows 7 32bit
and anohter IBM Thinkpad 510, Intel Centrino running Windows XP SP3 32bit - and it the installer works fine on those.
So I am guessing that when I make the installer it does include 32-bit RTE but not 64bit RTE.
but then again it should not matter since WoW64 takes care of running 32bit applications on 64bit machines.
There must be something very basic that I am missing.