Why does Build Application vi work in development environment but not in executable; error 1025

Hello,
I have an application ("A") that I am trying to build using another application ("BuildA").
I can create an application for A manually from its project using the Build Specification, and it works fine (A.exe).
Also, when I run BuildA.vi in the development environment it calls the "Build.vi" correctly and again builds application A.exe just fine.
Then, when I make BuildA an application (manually) and run BuildA.exe, I would expect it to also create A.exe just like BuildA.vi did in the development environment.
However, it fails with the error:
Code: 1025
Open VI Reference in NI_App_Builder_API.lvlib:Build (path).vi->BuildA.vi<APPEND>
VI Path: <b>C:\TEMP\AppBuild\BuildA\vi.lib\AppBuilder\BuildTarget.vi</b>
I noticed this thread , which looks like a similar problem, but no conclusion was reached.
Why does BuildA.vi work fine in the LabVIEW environment, but the application BuildA.exe does not work?  All paths are hard-coded, so it shouldn't be a path issue.
Thanks,
-john
Solved!
Go to Solution.
Attachments:
AppBuild.zip ‏175 KB

Interesting code.  I'm curious how you came to decide 324ms in your while loop, and 58 in the other, and then 5136ms at the end.  In any case I suspect this has to do with this line of text in the help of the Build.vi.
If you plan to run a build specification on the LabVIEW Run-Time Engine, do not include the Build VI in any of the VIs for the build specification.
I don't fully know what this means but it might be why it isn't working.
The Build.vi opens all Context (application instances) and then looks for the one named "NI.LV.MxLvProvider".  This I assume is a application instance NI uses to build applications.  It then uses this and opens some other VIs in this instance for the building.  The error you are getting is "Application Reference is invalid" meaning it couldn't find the NI.LV.MxLvProvider instance it needs to build.  Again I believe this maybe because you are in a run-time environment and that instance doesn't exist there.
At the end of the day I'm guessing since Application Builder is not free, NI probably doesn't include it in the Run-Time engine, which is free.  So you can't build the way you want.  You could have and EXE running in the run-time open an instance in the development, then run your VI from there if you must make this an EXE.  It maybe easier to just edit the BuildA.vi to have a "Run When Opened" so that you double click the VI and it runs which behaves like an EXE sorta.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Similar Messages

  • FTP to fieldpoint works in development environment but not in deployed app?

    I have developed a VI which employs FTP to upload data files created by another application
    embedded on a FieldPoint, not altogether unlike the "Redundant Datalogger" example VI found
    in the NI Developer Zone. Unlike that example, I am not employing DataSockets, Citadel
    database functionality or any other DSC functionality which I know or suspect does not work
    in a deployed application without the DSC Run-Time Engine.
    This VI works fine when I run it in the LabVIEW Development System (Full + RT + DSC), but
    when I deploy the VI as a standalone application FTP (at least) appears to quit working.
    I don't have the specific error code -- my VI re-interprets FTP errors to a novice-
    friendly "check the LAN connection and/or FieldPoint power" warning and I will have to
    modify the code to extract better diagnostics. I will also not be able to probe further
    until I can get back to the fieldpoint, which is happily running its little app in a little
    one-room water plant in the mountains. Meanwhile, is there something more fundamental (and
    obvious to the veterans) which I am overlooking?
    This application employs DSC security features and I have deployed it bundled with the
    associated DSC files per the DSC manual instructions. All of that is apparently working fine;
    the stand-alone just won't FTP to the fieldpoint while the development copy will.
    Bob Miller
    P.S. This VI also employs TCP to continuously communicate control and status info with the
    fieldpoint, but the VI gives up on the link when FTP fails and never tries to open the TCP
    path.

    I will answer my own query for any casual readers. I dragged my
    notebook and my carcass up into the mountains last night to attempt
    to diagnose the problem. One word answer:
    Firewall.
    The Symantec firewall on the PC had been configured to allow Labview
    to access the network via TCP (which FTP is built on), but not an
    application named "Water Plant Watchdog". Reconfiguring the firewall
    (a two-minute job) fixed the problem.
    NI embeds a lot of "Disable Windows firewall" messages in the LabVIEW
    installer and/or documentation. This is an issue for a standalone PC
    connected to a fieldpoint and a dial-up ISP. So the firewall (and the
    LabVIEW application) must be managed to allow each other to do their
    job. Fortunately Symantec (Norton)'s firewall seems flexible enough.
    Bob

  • Why does the flash player work on some website but not others??

    I have the new flash player, and for the most part the player will work on some web sites. However I like to be on myspace and it says that I have to install the new version of the flash player. However I ALREADY have the new verison. There are other site that I go to as well and it tells me the same thing. what is going on and how can I fix it. I am at my wits ends right now and I dont know what to do. Can any one help me please

    I had the same issue when I had created Flash Paper items. I had found the a solution on my opinion.
    http://www.eolsoft.com/freeware/flash_movie_player/
    you actually need a Flash Movie Player and not Flash Player. they are different. the only issue is that Adobe does not support this anymore.
    so what I did is placed the EXE file of Flash Movie Player found on the link above on my server, made a note to my viewers that Flash Movie Player is required to view the documents.
    I found this solutlion when my boss asked why he could not view any of the Flash Paper Documents

  • Why does my Web Handler work with Internet Explorer, but not with Firefox

    I am trying to develop a web page that uses the Simile Timeline (http://code.google.com/p/simile-widgets/wiki/Timeline) with data from SQL Server.
    In initial testing of my timeline I tested it with Example.xml, a static XML file in the correct format to be event data. I wrote the following in the appropriate place within mytimeline's Javascript: -
    var WebHandler = "Example.xml"
    tl.loadXML(WebHandler, function (xml, url) { eventSourceFamily.loadXML(xml, url) });
    This worked fine with both Firefox and Internet Explorer. I then changed the assignment to
    var WebHandler = "GDBTimeline.ashx?Type=Family&Userid=" + getControlValue("input", "hdnUser");
    so that invoked a web handler that could look up the SQL database and return the XML that I wanted, and wrote this web handler.
    This works perfectly with Internet Explorer, but with FireFox the timeline band is blank. Yet when I examine the http traffic with Fiddler2 (http://www.fiddler2.com/fiddler2/) I see that with either browser there is a response from URL
    /GDB_pages/GDBTimeline.ashx?Type=Family&Userid=robertb
    that returns the XML that it is supposed to.
    I have previously used web handlers with Firefox before, with no problems. The Fiddler results conclusively show that the web handler is invoked, and returns the appropriate XML, and this XML is identical to the XML from the static test with Example.xml.
    Where do I start looking for answers? I don't even know if this is a Simile problem, a Firefox problem, or an ASP.NET problem.
    Thank you, Robert.

    Problem solved. The issue: Content Type was not correct.
    Visual Studio creates the web handler with dummy code like this: -
    Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
    context.Response.ContentType = "text/plain"
    context.Response.Write("Hello World")
    End Sub
    I wrote a database query that set a string variable to the XML I wanted: -
    Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
    Dim Outstring as string
    ' my logic to fill Outstring with XML
    context.Response.ContentType = "text/plain"
    context.Response.Write(Outstring)
    End Sub
    This works with Internet Explorer. However it's not strictly correct: to make it work with other browsers as well,
    context.Response.ContentType = "text/plain"
    should be
    context.Response.ContentType = "text/xml"
    It now works with IE, FF, and Chrome, and presumably all others.

  • Why does my WD Passport work on my Mac but Not on my PC?

    So i just bought a MacBook Pro and I have been a PC user forever. This is my 1st time owning a Mac and Im not sure if this is my bad or an issue with the hard drive... So heres what happened... I have a 160 GB WD Passport and I had it Windows formatted originally. When I got my MacBook Pro I decided to reformat the drive to use exclusively for data transfers of large files between my MacBook and my Windows desktop PC. I'm very computer savvy and have been building PC's for years now and as far as I can tell I formatted the drive into the correct format. I used my MacBook to do the formatting and using Disk Utility I erased and reformatted the drive into FAT as thats the only format thats the utility allows that is windows compatible. After I did that I made sure the drive was partitioned correctly and all was working on the MacBook. I was able to read and write file to the drive using the MacBook with no issues. When I went to plug the drive into my Windows PC the drive would not be recognized at all. The light on the drive turns on and just blinks on and off once every second or so. So now that you know the situation I guess the question is... Did I do something wrong? How do I fix this so the Hard Drive will be compatible on both Operating systems? if any body know the answer to this please help me because I cannot figure this out for the life of me. Thank you in advance for your help.

    Hi and welcome to Discussions,
    sounds to me like when you reformated the harddisk with Disk Utility the GPT (GUID Partition Table) was used.
    Check with Disk Utility to verify.
    Windows can not see/use harddisk that are using GPT.
    If possible, reformat the harddisk with Disk Utility, use MS-DOS (=FAT32) and use the 'Options' to set the partition table to be MBR (Master Boot Record).
    (Caution, this deletes everything that is on that harddisk
    That way both OSX and Windows can use the harddisk.
    You are aware that with FAT32 you have a single-file size limitation of around 4GB.
    Regards
    Stefan

  • HT204053 Why does my apple id work on my phone and not my ipad?

    Why does my apple id work on my phone and not my ipad?

    Try resetting the iPad and try again >  iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting

  • Why is my Apple id working on my MacBook but not my iPad?

    Why is my Apple id working on my MacBook but not my iPad? I can log in o.k. on my MacBook, but using the same user name and password on my iPad, I just get the Incorrect Apple ID or Password message.
    on my iPad, I have used the Forgotten Apple ID or Password link and reset the password. Even after I get the successfully reset password message it still gives me the Incorrect Apple ID or Password message!
    In desperation I have restored the iPad to Factory settings. It appears to be running OS 7. something.
    My Macbook is running 10.8.5.
    But the same problme persists.
    Please help

    I am having the same problem. Works fine on the website but telling me it's incorrect on my iPhone

  • SSIS package works in development environment but fails when job scheduler executes, file path invalid

    SIS package works in development environment but fails when job scheduler executes, file path invalid
    Relatively simple package to get OLE-DB connection to MS FoxPro 9.0 DB
    The failure in the job log states that the path is invalid its a network path (\\192.168.1.xxx\foldername) this has been run several ways with the remote computer being mapped as a network drive and through the \\ notation described above.
    Thinking it was a security issue between the SQL agent account and my account I tested by subsitution myself as a proxy account for the agent when running this job, again same result failed on network path.
    One issue I see is that the remote computer is running Server 2000 (legacy software incompatable with newer versions) 
    Is it possible that this is a security issue, since if i understand correctly the current MS domain security model didn't exist until Server 2003.

    Hi REIData,
    Have you got the issue resolved? Based on your description, please make sure the target folder is shared properly. If the computer on which the SQL Server Agent job runs doesn’t join the domain as the server that hosts the shared folder, you have to share
    the folder with everyone by adding “Everyone” to the people list on the File Sharing page of the folder and assign "Read/Write" permission to it.
    Regards,
    Mike Yin
    TechNet Community Support

  • Why does malloc operation fails on solaris 9 x86 but not on solaris 10 x86

    Hi:
    - We are building an application written in C
    on x86 Solaris 9, x86 Solaris 10, and sparc Solaris 9.
    - During testing, we noticed that
    when the application is built on x86 Solaris 9, it dies silently;
    when the application is built on x86 Solaris 10, it runs perfectly fine;
    when the application is built on sparc Solaris 9, it runs perfectly fine;
    when the application is built on cygwin, it runs perfectly fine.
    - The statement which causes the application to die silently is:
    /* Allocate space for procedure arguments. */
    if (( myArgv = (char **) malloc(( argc+1) * sizeof(char *))) == NULL)
    - My question is: how should I change our x86 Solaris 9 nightly build
    to build the application properly ?
    - Our build systems are:
    sparc Solaris 9
    ===========
    SunOS host1 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-5_10
    Solaris 9 12/02 s9s_u2wos_10 SPARC
    Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 05 November 2002
    x86 Solaris 9
    ==========
    SunOS host2 5.9 Generic_118559-11 i86pc i386 i86pc
    Solaris 9 12/03 s9x_u5wos_08b x86
    Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 21 November 2003
    x86 Solaris 10
    ==========
    SunOS host3 5.10 Generic_120012-14 i86pc i386 i86pc
    Solaris 10 8/07 s10x_u4wos_12b X86
    Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 16 August 2007
    Thanks
    JL

    You should never pass something to free that wasnt received from malloc.
    Although as a special case, free of the null pointer is allowed.
    Thats all clearly written on the malloc man page..
    So if your program is free'ing non malloc'ed pointers, then thats a bug in your program.
    So based on your code sample above
    free(ds_namv[j]) would be illegal.
    But free(data[j]) should be OK, since thats a null pointer.
    However, it should be perfectly fine to assign a new malloc'ed value to an existing pointer whether or not it was originally initialised using malloc.
    When you assign it, the original value is irrelevant.
    Additionally, the code fragment ds_namv[j] = (char**)"\0"; demonstrates some further conceptual problems.
    "\0" isnt of type (char **). It's of type (char*). And its a pointer to constant space. So writing to the area pointed to, would be illegal.
    As to why it works on sparc but not x86.
    The code appears to have a number of errors, and you just got lucky that it ever worked on sparc...

  • Report works on development machine, but not on distributed machines

    New to CR, I use VS2005 and have added a crystal report that works fine on the development computer. I use the one click deployment to distribute my application with the report on a form. When I try to populate the report, I get the following error:
    System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    File name: 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'  at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
    Etcu2026..
    Hope someone can help.

    I am looking into the merge modual from the link, hope thier are some install instructions. I am using the version of CR that is bundeled with VS2005. I did not see a serperate version for CR, Microsoft Visual here is the data from the VS2005 Help:
    Studio 2005
    Version 8.0.50727.762  (SP.050727-7600)
    Microsoft .NET Framework
    Version 2.0.50727 SP2
    Installed Edition: Professional
    Microsoft Visual Basic 2005   77626-009-0401054-41481
    Microsoft Visual Basic 2005
    Microsoft Visual C# 2005   77626-009-0401054-41481
    Microsoft Visual C# 2005
    Microsoft Visual C++ 2005   77626-009-0401054-41481
    Microsoft Visual C++ 2005
    Microsoft Visual J# 2005   77626-009-0401054-41481
    Microsoft Visual J# 2005
    Microsoft Visual Studio 2005 Tools for Applications   77626-009-0401054-41481
    Microsoft Visual Studio 2005 Tools for Applications
    Microsoft Visual Web Developer 2005   77626-009-0401054-41481
    Microsoft Visual Web Developer 2005
    Microsoft Web Application Projects 2005   77626-009-0401054-41481
    Microsoft Web Application Projects 2005
    Version 8.0.50727.762
    Crystal Reports    XXXXX-XXXXXXX-XXXXXXX
    Crystal Reports for Visual Studio 2005
    Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)  
    This service pack is for Microsoft Visual Studio 2005 Professional Edition - ENU.
    If you later install a more recent service pack, this service pack will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/926601
    Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB937061)  
    This Security Update is for Microsoft Visual Studio 2005 Professional Edition - ENU.
    If you later install a more recent service pack, this Security Update will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/937061
    Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB947738)  
    This Security Update is for Microsoft Visual Studio 2005 Professional Edition - ENU.
    If you later install a more recent service pack, this Security Update will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/947738
    Edited by: Jonathan Parminter on Mar 12, 2009 1:37 PM

  • Why does my computer say that its plugged in but not charging yet the battery is not reducing

    it says plugged in, not charging, 99% (battery life)
    but the battery life is not reducing & hasnt for 2 days. it just stays like that.
    hp pavillion dv5-2132dx    laptop
    windows 7 64 bit
    i have had a few weird occurences and im not sure what caused it. abruptly my speakers would stop working & my battery life would start reducing. that happened i think 3 times over the course of several months. this last time which was the 3rd is when i changed electrical outlets thinking that maybe that was the problem. and the power & speakers immediately went back to normal. its only been a few days since i changed outlets & everything is working as it should be however as mentioned the battery icon on the taskbar says that its plugged in but not charging & it remains at 99% for the last 2 days.

    Hi,
    First of all, shut down the notebook, unplug the AC Adapter, remove the battery, and then hold down the Power button for 30 seconds.
    Now, plug in the AC Adapter without the battery inserted, start the notebook, open windows Control Panel, open Device Manager, expand the entry for Batteries, right click on and the Microsoft ACPI Compliant Control Method Battery and select Uninstall - do not uninstall anything else here.  When the uninstall is complete, shut the notebook down, unplug the AC Adapter, re-insert the battery and then start the notebook on just the battery.  Windows will automatically reinstall the driver - leave Windows running for a few minutes. Shut down the notebook again.  Now plug in the AC Adapter ( with the battery still inserted ) and start the notebook to see if this has helped the charging issue at all.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Why would a rented movie work on the ground but not in the air?

    This is the craziest thing.  I rented a movie from my MacBook Pro and then transferred it to my iPad 2 for a flight.  However once I got on the plane each time I tried to open it I received a message that the movie could not be opened.  OK.  I figured I made a mistake in the transfer.  Once I got home I tried to open the movie again (in Airplane mode, just to be sure) and it loaded right up.  I didn't press play since I was leaving on another flight in two days.  Got on the flight and had the exact same problem.  Once I landed I tried it again and it loaded right up, but I didn't hit play because I have another flight on Friday.  What are the odds it will occur three times in a row?  I have 20 days left on the rental and about six more flights.  This could be fun.
    To lend a little irony to the situation the movie is "Up In The Air".  Anyone have any clue what the heck is going on?  The only variable among the two instances is that in the air I had headphones plugged in, but on the ground I didn't.

    Hi Dominique:
    First-if your mac can control the camera but not see the video,
    *Open Garageband
    *Play a note or two
    *Close Garageband
    *Open iMovie
    The camera will work now-REALLY!!
    If not, look here:
    http://docs.info.apple.com/article.html?artnum=43000
    Sue

  • Why does lightroom read my images on my laptop but not on my desktop from an external hard drive?

    I use an external hard drive for my Lightroom images. When I travel I take that external (plus a second identical one for back-up) with me and use my laptop. When I return home, I use that external to view and edit my images on my desktop. Suddenly about 350 images show up as missing or offline when I view that external drive on my desktop. When I return it to my laptop, everything is fine. Nothing is seen as offline or missing. What can have happened? I use the same external, the same catalog and do not understand why the images are seen only on one computer and not the other. I am an Apple user but can't see what difference that would make. This is the first time I have had this problem. Help would be appreciated.

    Thanks for your thoughts. I have compounded my problem now by upgrading my desktop's operating system. (I had upgraded my laptop and thought that that might be a problem...two different operating systems) Now my desktop cannot open Lightroom 4.2 for some reason. I have an appointment with the Apple people tomorrow so I will see what comes next. Right now it is from the frying pan into the fire for me.
    Check "New Images" Gallery at:
    http://Noffi.smugmug.com

  • Form on Table with Report works in one environment but not in another.

    Here's a short description of the problem:
    Created a form on a table with report (using the wizard) in an ApEx application. The form and report work perfect in development environment. Once the application is moved to the Test environment, the insert feature of the form does not work. We have verified that the underlying table the form is based on is there with all the fields, primary key, sequence and trigger.
    Any ideas?
    Marc

    Ben,
    I assume that apex_public_user has all the approporiate privilegesapex_public_user requires no privileges other than those it is created with during installation and the execute privileges on procedures it may acquire as URL-invokable procedures are developed and registered.
    Marc - What are the symptoms of the problem (insert does not work) ? What does the debug output show when you run the page in debug mode? Does the "request" value of the button (create button?) match one of the request values recognized by the DML process?
    Scott

  • Why does the Wi-Fi work on my iPod  and not my Macbook?

    The router is an arms length away and my Ipod#4 works great. but I cannot get my Macbook to get connected. Whats up?

    Does the iPod connect to other networks?
    Does the iPod see the network?
    Any error messages?
    Do other devices now connect?
    Did the iPod connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

Maybe you are looking for

  • SCVMM 2012 R2 - install fails on creation of resource group

    Hi, When I run the installation for SCVMM 2012 R2, I get the error below: 20200 Creation of the VMM resource group (%GroupName;) failed. Ensure that the group name is valid, and cluster resource or group with the same name does not exist, and the gro

  • Proper FCE for iBook G4

    I want to make the move to Final Cut Express, but I don't think that v.4 will work on my iBook correctly due to my 512MB of RAM. Will v. 3.5 be a acceptable candidate? Is there anywhere you can still purchase v.3.5? Thank you for your assistance in a

  • IPod crashed windows when I tried to use it as an external disk drive!

    My 30g iPod says it can be used as an external disk drive, but when I tried, I got the blue screen of Death. I need a flash drive for school but can't afford one. How can I make the external disk feature of my iPod work?

  • Making a Template for Adobe Contribute - without Dreamweaver

    Given  the task of making a web page that must exhibit regions editable with  Adobe Contribute CS5, and having only a plain text editor (not  Dreamweaver), exactly what needs to be done to the associated XHTML  file?  For example:  1.  Does the XHTML

  • Query data dinamically

    I want to execute a query that it is formed dinamically based in some text items that I have in the form; I want to use the Execute Query button on the default toolbar. My question is how to pass the text item content as a parameter to the where clau