05-22-2012 12:36 PM
That should read error 1502, not 1503.
06-02-2012 04:21 AM
Had same problem trying to build Exel reporting Error, Enable debugging worked for me....?
06-02-2012 07:40 PM - edited 06-02-2012 07:43 PM
Enable debugging is treating the symptom and not the solution. You don't want to leave this enabled if you plan on distributing your application.
Edit: My point is, this seems to be a patch and not a good fix. I have gotten similiar erros myself with LV 2010 (although not the one described here). This appears to be a bug. Mine crops up every now and then with new builds. I close out LV, go back in and the problem clears up. Yours seems to be a bit more involved, but enabling debugging would be an inefficient method to "resolve" the issue.
06-03-2012 01:34 AM
Hi
Agreeed it is treating the symptom,
It used to work on LV8 but PC crached and I rebuild on 2011 I get error
If I enable debugging it builds without error and runs on system with a development system, If and once deployed to a clean machine, with all drivers installed it fails with Report 1.0.0.0 as encountered a problem and is shutting down dump and log file...
Installing labview development on PC get application running if build with debug, I presume Clean machine has not debug libs installed....
Their is defenitley something that needs to be added before build is made to include some extra library.... but what>
It is simple Vi that makes use of exel reporting I have include the class and excel lib as I said worked perfect on LV8
06-04-2012 07:30 AM
Have you tried the solution here.
Or the suggestion here.
http://forums.ni.com/t5/LabVIEW/Build-Errors-1502/m-p/1301220/highlight/true#M536545
or here.
http://forums.ni.com/t5/LabVIEW/Error-1502-occurred/m-p/1712466/highlight/true#M604492
Doing a search for "error 1502" returned many hits.
06-20-2013 02:00 PM
I am having the same problem.
But The Default Build path did work the first time around.
What I found is UNC paths don't work in Appbuilder, you need a mapped drive.
eg; use z:/project/buildspecname not \\server/project/build
LV2012 SP1 12.0.1F1
Martin
08-20-2013 09:27 AM
I had this issue in LV 2011. My simple application was calling a source code library that had a polymorphic VI as it's interface. The build was failing because for some reason it could not find one of the polymorphic members. Everything worked fine in the development environment but failed in the build.
Solution: In the build specification under the Additional Exclusions category, I deselected the "Remove unused polymorphic VI instances".
Everything compiled fine after that and the executable ran correctly.
08-21-2014 03:08 PM
@richard.koo wrote:
Upon searching for error 1502, I found this Know Issue link:
http://www.ni.com/white-paper/11869/en. Issue ID 255617 stated:
Error 1502 can occur if dependencies are placed in non executing case structures
In previous versions of LabVIEW you could place VIs in a case structure with a constant wired the the case selector. This would load the VIs at runtime. If you have this pattern and attempt to build an executable you could receive error 1502
Workaround: Don't use unreachable code
So the issue is I have an case structure with hard coded boolean, so the other case is unreachable.
CAR 425753 discussed in this thread was fixed in LabVIEW 2014. For a more complete list of bugs fixed in LabVIEW 2014, check the LabVIEW 2014 Bug Fixes. You can download an evaluation copy of LabVIEW 2014 at http://www.ni.com/trylabview/ or if you have an earlier version of LabVIEW installed and an active SSP subscription, you will be able to download the latest version of LabVIEW through NI Update Service.
Note that there are still other ways to encounter error 1502, see this KnowledgeBase Article for steps to troubleshoot this error.
Regards,
Jeff Peacock
Product Support Engineer | LabVIEW R&D | National Instruments | Certified LabVIEW Architect