Error in running exe

Hi All
I am getting some errors when trying to run a labview exe.
I have to export the data into excel from labview.Withot making exe and running the vi it was working..But after making the exe i am getting error.
I dont know whether its because of the way i build the exe(because in exporting to excel all i used was built in control for report generation).
In the case of searching for the udl's name also i was facing the same problem.There is a vi that will find
the current working directory and i have placed the udl inside the current working directory.Suppose my udl name is dat.udl.then a subvi will search for the dat.udl in the current path .the udl be in the path C:\Documents\dat.udl and i have created the exe say Data Entry.exe in tha path C:\Documents\Data Entry.exe
Actually after making the exe i was getting an error related to the incorrect udl path,it was taking the udl path as C:\Documents\Data Entry.exe\dat.udl,Then i programmatically removed the string\Data Entry.exe from the current path so the vi will search for the udl in the correct path.(But i know that is not the correct way even i could solve that)
These two related errors i was getting only after making exe and running the same.Otherwise it was working.
Related to excel the error i was getting is...
Possible reason(s):
LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux.
NI-488:  Non-existent board.
VI Path: C:\Documents\Data Entry.exe\Excel_Quit.vi
Built Application or Shared Library (DLL): Make sure all dynamically loaded VIs were properly included in the build specification for the application or shared library.
While making exe,
I have created .lvproj in the path C:\Documents\
Then in Application information i have set the target file name as Data Entry.exe and the destination directory as C:\Documents\
In source file and destination i havent changed as it was in the correct path.
In source file settings under the inclusion type ,start up vi was set as the vi's name(data entry.vi) and under dependencies,vi properties are set(centre,remove menu bar..)
and Data Entry.exe was selected already from the combo (from the options Destination Directory,Support directory and Data Entry.exe.But the title for the option (Set Destination for all contained items) was disabled already.Is the way i build the exe is the reason for error?
How do i rectify the error?
Thanks....

Hi user_1,
it's the same question/reason as described here!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • Report generation toolkit VI error when running EXE

    A VI inside the Report Generation Toolkit (version 1.1.2), Excel Find Application Directory.vi, will not function correctly when running an EXE.  The "Current VI's path" block will return the path of the currently running EXE rather than the path of the Excel Find Application Directory VI.  (The same would be true for Word Find Application Directory.vi.)
    -Joel
    Solved!
    Go to Solution.

    Have you had a look at this knowledgebase article? The error is caused due to the exclusion of any dynamic VI.
    Ipshita C.
    National Instruments
    Applications Engineer

  • Report Generation Toolkit error when running exe not vi

    Unknown System Error in Get Report Settings.vi->Get Current Font.vi->Excel Easy Table (str).vi->insert table and save file.vi->80x test suite.vi
    1. The above is an error I get from my exe
    2. I do not get this error when just running the vi.
    3. On several report gen functions cohersion dots are on my refnum input.  Is this the cause of my problem with the exe? 
    I guess there is an another learning curve when dealing with the app builder. 
    Any suggestions would be appreciated.
    Thanks
    Brian
    CLAD
    Brian

    forget what i wrote. it was my vi. 
    funny, most of the time it aint LabVIEW causing the problem but the program itself.
    Brian

  • Word_print.vi 1015 error when running exe

    I created a vi that generates report in word and prints to default printer. The vi works fine in three different computers with office 2000, 2003 & 2007. But when I create an exe, there is an error: 1015 Word_Print.vi in Print Report.vi. The error is only in system running office 2000. The application was built using LV 8.2 & office 2007. The exe is created with dynamic word vis in support files. I also tried addind Word_print.vi in the support files.
    Could you please let me know what I else I could do?
    Thanks
    U

    Ah, understood.  Which version of the Report Generation Toolkit do you have installed?  All versions, except maybe 1.1, have a folder on the package CD called Compatibility.  Within this folder are directories such as Office 97, Office 2000, [Office XP], [Office 2003], and [Office 2007] (toolkit version determines if you have the items in brackets).  If you dig into these directories, you'll eventually discover the file _wordsub.llb.  This library contains the appropriate _Word Dynamic VIs.vi that you'll want to include in the "support files" section of the application builder.  Refer to the Office.txt document found within C:\Program Files\National Instruments\LabVIEW 8.X\vi.lib\addons\_office directory to confirm what I said.  Thus, to create an executable that will print from your Office 2000 test machine, include the _Word Dynamic VIs.vi from the Compatibility\Office 2000\vi.lib\addons\_office\_wordsub.llb library on your Report Generation Toolkit CD.
    Peter K.
    National Instruments

  • Error when running EXE but not from editor. How do I find it?

    When I run my app from the editor, the program works fine. But when I try to run the EXE, I get an "index out of range" error. (???)
    I examined my code extensively but I can't figure out for the life of me where the error's coming from.
    Any advice on how to track it down? Thanks.

    Find out what is using indexes then correct whichever code is using indexes. Apparently you have not examined your code extensively enough.
    Can't you see details of the error and find what line the error occured on?
    La vida loca
    Monkeyboy brings an interesting point.
    Try wrapping all of your code in a try-catch block and msgboxing the stacktrace, that way you can find the line.
    “If you want something you've never had, you need to do something you've never done.”
    Don't forget to mark
    helpful posts and answers
    ! Answer an interesting question? Write a
    new article
    about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.

  • Error while running exe (error 10)

    Hi,i am not able to run and build exe and getting error like exe is not corporate whitelist and will not be allowed,but if i run it in other system its running  without any error,particularly in that system this error is coming,but one thing is before it was working fine in that same system, now i am getting that error.can any one help me to resolve this error.

    Hi geetha,
    for "exe is not corporate whitelist" you should definitely ask your company's IT team...
    For error 10: it seems there's a FileCopy or FileOpen operation in your program not able to succeed. You should do some basic debugging to find the place/function that throws that error...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Error 1003 when running .exe

    I am having a problem with error 1003 when I run a built application.  I have searched the forums and found many others with this problem, but they encounter the problem while building the application, not while running the built .exe.
    I have a top level VI (AutoRun.vi) that calls 3 VIs in sequence.  All three are called in the same manner.  The first two work fine, but I get this error with the third sub vi.  This is how I call the subvi:
    Use App.kind, check for "Run Time System" (strip app path twice), or "Development System" (strip app path once)
    Build path to combine stripped path and file name of subvi to open
    open vi reference
    Invokee Node - Open FP
             Activated - T
             State - Standard
    Invoke Node - Run VI
              Wait until done - T
              Dispose ReF - F
    Invoke Node - Close FP
    Close VI Reference
    The error I get is:
    Error 1003 occurred at Invoke Node in AutoRun.vi
    Possible reasons:
    LabView: the VI is not executable
    I do not get this error while running in the development environment.  Only when I run it as a .exe.  Also I have had no problems with this code in the past.  I just made a small change and now I have this problem.  I have gone back to the old code and have the problem with it too. 
    I build the app by starting the app builder, selecting the top level VI, adding dynamic VIs and select all 3 subvis.  The front panel of the second VI is not visible while running.  I have to go in and manualy change the "Remove Panel" in the build settings for this VI from the default yes to no.  If I do not do this I get an error while trying to run the built application.  I have no idea why this happens either, but making this change fixes the problem.  After this I select build.
    BTW, I have LabView 7.0

    Hello,
    Not sure what happened on your end, but if the problem comes back repost and we'll explore it!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • Getting error while running sapinst.exe

    Hi Gurus,
    I have an error while running sapinst.exe.
    ===============================
    Error: Home directory is not available for user sapsdt
    Opened sylib722.dll
    exe dir is I:\usr\sap\***\tmp\3\sapinst_exe.10440.1359197818
    MessageLib initialized successfully.
    Creating file I:\usr\sap\***\tmp\3\sapinst_exe.10440.1359197818\dev_sap_kernel_test_26_Jan_2013_05_57_02.
    Removed file I:\usr\sap\***\tmp\3\sapinst_exe.10440.1359197818\dev_sap_kernel_test_26_Jan_2013_05_57_02.
    Initialized SAP kernel tracing to file I:\usr\sap\***\tmp\3\sapinst_exe.10440.1359197818\dev_sap_kernel
    Opened I:\usr\sap\PD3\tmp\3\sapinst_exe.10440.1359197818/iaguieng722.dll
    Initialized SAP kernel tracing to file dev_sap_kernel
    receiving and sending on port 21200
    existence check for user PD3ADM returned true.
    inserted account (***ADM, S-1-5-21-2072974133-1425365782-667646791-181569, USER) into the accountcache.
    Account sapsdt has ADS path 'WinNT://US5885SPAD/sapsdt'
    existence check for user sapsdt returned true.
    inserted account (sapsdt, S-1-5-21-1572296251-1555274763-1146236042-1004, USER) into the accountcache.
    Password set for account sapsdt.
    Environment variable SAPINST_JRE_HOME set to value 'I:/usr/sap/***/tmp/3/sapinst_exe.10440.1359197818/jre'.
    System call failed. Error 2 (The system cannot find the file specified.
    ) in execution of system call 'ATL::CRegKey::Open' with parameter (hKeyParent, SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-1572296251-1555274763-1146236042-1004, 0x20019), line (95) in file (d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcos.hpp), stack trace: sixxbmanagement.cpp: 2573: CSiComponentSet::startGUI()
    syxxbuser.cpp: 92: *** syslib entry point CSyUser::getHomeDirectoryPath(void) const ***
    synxcuser.cpp: 763: CSyPath CSyUserImpl::getHomeDirectory() const
    synxcuser.cpp: 671: CSyUserImpl::getProfileDirectory() const
    d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcos.hpp: 87: CSyRegKey::sap_open(HKEY hKeyParent, const iastring & keyName, REGSAM samDesired)
    Exception thrown near line 95 in file d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcos.hpp
    Stack trace:
    sixxbmanagement.cpp: 2573: CSiComponentSet::startGUI()
    syxxbuser.cpp: 92: *** syslib entry point CSyUser::getHomeDirectoryPath(void) const ***
    synxcuser.cpp: 763: CSyPath CSyUserImpl::getHomeDirectory() const
    synxcuser.cpp: 671: CSyUserImpl::getProfileDirectory() const
    d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcos.hpp: 87: CSyRegKey::sap_open(HKEY hKeyParent, const iastring & keyName, REGSAM samDesired)
    At line 95 file d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcos.hpp
    Call stack:
    sixxbmanagement.cpp: 2573: CSiComponentSet::startGUI()
    ======================================
    can someone please help me out for error.
    Thanks in advance

    check user profile in AD, add a path in the user profile Home folder directory of user SAPSDT, restart sapinst.

  • Error while running 'ldifde.exe' to import the schema file

    Hello,
    I'm doing a practical in exchange server. I have two servers, First one is the domain controller it's a Server 2012 R2 and the Second one is the server planing to install exchange 2010. it has server 2008 R2. My issue is when i'm trying to setup Exchange
    Server 2010 it comes error while installing "error while running 'ldifde.exe' to import the schema file" I tried to fix but i couldn't. Please if anyone know about this error give me a solution. 
    Regards.
    Ashane Deshapriya ( MCP )

    Can you run these commands from an elevated powershell and try to install exchange. 
    Import-Module ServerManager
    Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart
    If that also fails please post the error.
    Thanks, MAS
    Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Rwrun.exe - Application Error while running Concurrent Requests in R12(Win)

    Hi Gurus,
    I am getting the Rwrun.exe Application error, whenever i am running a concurrent request. The thing, that i feel is: Probably, The concurrent requests that has the output file associated with them are the one that are running into error.
    The following is the description of the error popup:
    rwrun.exe - Application Error
    The instruction at "0x663ed168" referenced memory at "0x00000004". The memory could not be "read".
    Click OK to terminate the program.
    Click CANCEL to debug the program.
    Due to this, am not able to submit any of the Reports.
    Details of My installation:
    Apps Version: Release 12
    Platform: Windows XP SP2
    Installed on: External HDD of 250GB
    Addon Patches after install: None.
    Has anybody faced this problem earlier?
    Please help me out gurus..
    Thanks in advance.
    Regards,
    Ajit

    Check the Event Viewer to see if there is more information about the error that can help.

  • Cannot overcome Exchange Server 2013 Install Error - "There was an error while running 'ldifde.exe' to import the schema file

    Hello,
    I am attempting to install Exchange 2013 on to a 2008R2 Server on a domain running 2008R2 DC's.  I have worked every error resolution I can find, but I can't get past this error.
    Error:
    The following error was generated when "$error.Clear();
    install-ExchangeSchema -LdapFileName ($roleInstallPath + "Setup\Data\"+$RoleSchemaPrefix + "schema27.ldf")
    " was run: "There was an error while running 'ldifde.exe' to import the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\schema27.ldf'. The error code is: 8224.
    Any assistance is appreciated.

    Are you running the installation from an ISO-file?
    If so, then copy the files (preferably
    Exchange 2013 w. SP1) to the local disk
    and run the install with elevated privileges.
    Martina Miskovic

  • TS1286 At my PC startup, I get an error message "AppleSyncNotifier.exe--Entry Point Not Found"  My iPhone now doesn't show up as a Device in either iTunes or My Computer on my PC. I've uninstalled/ reinstalled iTunes & run diagnostics-no luck. Ideas?

    At my PC startup, I get an error message "AppleSyncNotifier.exe--Entry Point Not Found"  My iPhone now doesn't show up as a Device in either iTunes or My Computer on my PC. I've uninstalled/ reinstalled iTunes & run diagnostics-no luck. Ideas?

    I think my problem is fixed now.
    For the fun of it, I reinstalled iTunes 9.2.1 today (using the exact same installer as I did yesterday), but this time I didn't uninstall iTunes first. As expected, iTunes recognized my iPhone (as I expected it to, until my next reboot).
    A few minutes later, Software Update showed up and among the updates is "iPhone SDK Compatibility Update". The description indicates that installing this should fix an issue where iPhones and iPod touches aren't recognized by iTunes. Isn't that interesting?
    I installed that update and most of the others waiting for me (including Java, Safari 5.0.1, and a few others - not 10.6.4 though, due to the issues with nVidia graphics cards). After the reboot, I started iTunes, and it saw my iPhone!
    So, if you're having this same problem, I'd recommend tracking down this update and see if that does the trick for you. Hopefully it will.

  • Error: Cannot run program "C:\Oracle\Middleware\jdk160_21\jre\bin\javaw.exe

    Hi
    I have created a sample Fusion Web Application(ADF) and created a test.jsp in viewcontroller with few components. I have started the integrated weblogic server and started successfully, but when I run test.jsp it is giving me the below error
    Error: Cannot run program "C:\Oracle\Middleware\jdk160_21\jre\bin\javaw.exe" (in directory "C:\Documents and Settings\chowdamr\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.jdeveloper\DefaultWorkspace"): CreateProcess error=267, The directory name is invalid.
    Initially this page is working successfuly.
    Please tell me whats the problem.
    Edited by: 858782 on May 13, 2011 5:28 AM

    There are some problems when JDev's system directory (e.g. the \system11.1.1.4.37.59.23 directory) is in a path that contains spaces (as it is in your case - C:\Documents and Settings\...). Move the system directory to a path without spaces and try again. The simplest way to move it is to start JDeveloper in a "single user" mode (use <tt>jdeveloper.exe -singleuser</tt>) which will create the system directory within JDev's home directory. Of course, if your JDeveloper is installed in a path containing spaces, it will not work either (for example, if JDev is in C:\Program Files\...).
    Have a look here for a more sophisticated approach for moving the system directory to another location:
    http://technology.amis.nl/blog/8387/change-the-jdeveloper-system-directory
    Dimitar

  • Cs6 pro prem install from dload exe and 7z on usb both in same folder. when run exe it gives error archive file needed

    new install cs6 production premium  .downloaded exe to a usb thet the vendor provided with the 7z file cos i dont have lots of data.  .With both in the same folder on the usb running exe rsults in error message asking for an archive file.  There are only 2 files in the download . what does it want?

    same error message from desktop looking for archive file
    files
    ProductionPremium CS6.7z  6,109,190  KB
    ProductionPremium_CS6_LS7      1,020  KB
    running win 8.1 on ssd and z97 mobo 4790 cpu gtx780

  • I ran the Adobe installer for CC desktop and it failed.  Error: 50   What happened?  Now the Run.exe file is gone.

    I ran the Adobe installer for CC desktop and it failed.  Error: 50   What happened?  Now the Run.exe file is gone.

    Hi,
    Please refer to the thread below where this issue has been discussed:
    Error code 50
    Regards,
    Sheena

Maybe you are looking for

  • Adobe acrobat pro 9 and windows 8 issues

    Looking for help regarding adobe acrobat 9 and windows 8.  I am unable to scan will  not allow me to select devise (HP officejet pro 8500 wireless).  Also unable to scan from HP device to PDF using HP solution center.  Printing fine from other applic

  • Re: Deleted Safari 1.0 from G4 iMac /How to restore?

    Accidentally deleted Safari app from iMac running 10.2. Used Software Restore discs to try and get it back but apparently, it wasn't in there. Tried to find an older version of Safari on Apple's site, but struck out there, too. How can I download a f

  • User Exits for Vendor Transaction

    In Vendor Master Display XK02, for Payment Transactions there is a Checkbox for Double Invoice. If the Invoice is already made, I want to raise a error message. Is there any User Exit for that Vendor Transaction to achieve this functionality.

  • Hide Result row when SUMCT is used

    I am using SUMCT function in one of the formula that is used in the query. I am getting the correct value for my reeport when the result row is displayed. Now I want to suppress the result row. If I set the result row to be suppressed, the formula gi

  • How do I get music onto my iPod touch from my iTunes

    I recently got a Mac book air and when I plug in my iPod touch, it syncs into iTunes and everything but I can't put songs on it. I tried restoring it but it did nothing.