LV 8.6 applicatio​n builder creates an empty installer

LV seems to create the installer O.K.  At least there are no error messages.  However, after I run the installer, the directory where the executable is supposed to be does not exist.  There are no error messages when running the installer.

Nisar F wrote:
Hi earl,
I hope you are doing fine. Here is the link that tells you how to build an installer. Particularly pay attention to step 3 -5 to see if you have set up the correct settings for source file to include in installer. Hope this helps
Best regards,
And step 6 shows you how to build a shortcut.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!

Similar Messages

  • I can not create an Installer, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...

    I can not create an Installer on LabView, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...
    Solved!
    Go to Solution.

     Hi Shada this can happen if you are including additional installers to your installer for example DAQmx. When you are doing this the installer has to include other files like MAX (Measuremente and Automation Explorer). Probably when you installed Vision Builder it updated MAX, so when your installer is trying to Include MAX, its asking for the source where it was installed in your computer in this case Vision Builder.
     Here you can cache the information so its not asked again, or you can download a newer version fo DAQmx, so it will update MAX and change de dependecy.
     You can find more details about this issue in this KB:
    KnowledgeBase 3S88PJMY: Why Do I Get A "Missing Distribution" Error When Trying to Build an Installe...
    And for keeping a copy here is more info:
     How Do I Stop the Missing Distribution Notification Each Time I Build An Installer?
    Best Regards
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • LV Applicatio​n Builder: solving "The system cannot find the file specified.​" error?

    Hello everyone,
    I don't mind banging my head off of something that feels complex but it's always frustrating to be stumped by something that seems simple... I have LabVIEW 2014 and Application Builder. I've built an program that runs flawlessly as a VI, then compiles and runs flawlessly as a .exe. But I can't seem to get the installer to work. I get the following error:
     Per the suggestions in this thread and this KB article, I created a new installer build spec, then a new application build spec, then a new project with all my VIs in it, building and testing the installer at each step. None of that seemed to make a difference.
    I ran the installer as admin, I created the install directories ahead of time (in case it didn't have the privileges to create folders), and built an installer without the Run-Time in it. None of that worked either. Lastly, I played around with putting all my subVIs in a library.
    So since the tutorial worked I'm assuming that it's some quirk in my program. Does anyone have any experience or advice as to what specific aspects of a program play nice with the AB installers? It's one primary VI, less than a dozen subVIs, a few Type Defs, and no hardware integration. Seems like a pretty straightforward and simple program but maybe something in there is persona non grata with Application Builder?
    Xander Cesari
    Automotive/Internal Combustion Test Engineer
    CLAD certified, mainly focused on data acquisition
    Been LabVIEWing for a few years, still a lot to learn
    Solved!
    Go to Solution.

    Hello,
    Thanks for the response. Nope, I'm running it from a regular directory, in the same folder as the rest of my project. Here's the project window showing the folder directory:
    Xander Cesari
    Automotive/Internal Combustion Test Engineer
    CLAD certified, mainly focused on data acquisition
    Been LabVIEWing for a few years, still a lot to learn

  • Applicatio​n builder error coder 21

    I get this error code when trying to build an application and include the visa runtime install files
    What can i do to fix this error
    CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi
    Loading product deployment information
    Loading product deployment information
    Loading product deployment information
    Loading product deployment information
    Loading product deployment information
    Loading product deployment information
    Adding files to installer
    Validating...
    Copying files...
    Scanning files...
    Updating files...
    Build complete successfully.
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    Copying distribution 'LabVIEW 2009, Media 1' from: \\dtads2\it_software$\Labview 2009\DVD 1 of 2\Distributions\LabVIEW\LabVIEW2009\ to: C:\Documents and Settings\brockmaa\Desktop\11164 Carnivore\builds\FVT1_4 test\My Installer\
    Copying distribution 'National Instruments Device Drivers - February 2010' from: C:\National Instruments Downloads\NI Device Drivers\Feb10\ to: C:\Documents and Settings\brockmaa\Desktop\11164 Carnivore\builds\FVT1_4 test\My Installer\
    Building deployment
    Copying setup files
    Setting merged database information
    Setting product information
    Setting developer part information
    Starting final build
    Validating...
    *** Error: An internal tool or library returned an error. (Error code -21)
    Error Messages
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\NI-VISA_Runtime' not found for part 'NIVISAruntime.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-VISA Runtime 4.6.2 {BEB32B6A-2984-40F3-B24E-DB29311A1DD2}.xml'.
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\NI-VISA_Runtime' not found for part 'NIVISAruntime64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-VISA Runtime 4.6.2 {BEB32B6A-2984-40F3-B24E-DB29311A1DD2}.xml'.
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\NI-VISA_Runtime' not found for part 'VisaSharedComponentsWrapper32.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-VISA Runtime 4.6.2 {BEB32B6A-2984-40F3-B24E-DB29311A1DD2}.xml'.
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\NI-VISA_Runtime' not found for part 'VisaSharedComponentsWrapper64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-VISA Runtime 4.6.2 {BEB32B6A-2984-40F3-B24E-DB29311A1DD2}.xml'.
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\TDMS' not found for part 'tdms.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI TDM Streaming 2.0 {3DAA4182-08B7-45D9-8620-6B0E13018670}.xml'.
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\TDMS' not found for part 'tdms64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI TDM Streaming 2.0 {3DAA4182-08B7-45D9-8620-6B0E13018670}.xml'.
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\VC2008MSMs\VC2008MSMs' not found for part 'VC2008MSMs_x86.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI VC2008MSMs {4219AAB9-43BA-4085-8A42-78644B9F96D2}.xml'.
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\VC2008MSMs\VC2008MSMs' not found for part 'VC2008MSMs_x64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI VC2008MSMs {4219AAB9-43BA-4085-8A42-78644B9F96D2}.xml'.
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\VC2005MSMs\VC2005MSMs' not found for part 'VC2005MSMs_x86.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI VC2005MSMs {63E19B33-DD24-4EAB-9E77-6735C2171CE4}.xml'.
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\VC2005MSMs\VC2005MSMs' not found for part 'VC2005MSMs_x64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI VC2005MSMs {63E19B33-DD24-4EAB-9E77-6735C2171CE4}.xml'.
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\NI-PAL' not found for part 'palSetup.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-PAL {79F90480-F2A2-463A-943C-29046520D6BC}.xml'.
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\NI-PAL' not found for part 'palSetup64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-PAL {79F90480-F2A2-463A-943C-29046520D6BC}.xml'.
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\NI-ORB' not found for part 'niorbi.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-ORB {F2D3406A-0A97-4EB9-9A09-F20A874C16F9}.xml'.
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\NI-ORB' not found for part 'niorbi64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-ORB {F2D3406A-0A97-4EB9-9A09-F20A874C16F9}.xml'.
    *** Error Details:
    Error in MDF API function: _MDFBuildDist_Build
    Error List
    .\InputParser.cpp(365): InstallerError 120
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\NI-VISA_Runtime' not found for part 'NIVISAruntime.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-VISA Runtime 4.6.2 {BEB32B6A-2984-40F3-B24E-DB29311A1DD2}.xml'.
    While validating input parts.
    .\InputParser.cpp(365): InstallerError 120
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\NI-VISA_Runtime' not found for part 'NIVISAruntime64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-VISA Runtime 4.6.2 {BEB32B6A-2984-40F3-B24E-DB29311A1DD2}.xml'.
    While validating input parts.
    .\InputParser.cpp(365): InstallerError 120
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\NI-VISA_Runtime' not found for part 'VisaSharedComponentsWrapper32.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-VISA Runtime 4.6.2 {BEB32B6A-2984-40F3-B24E-DB29311A1DD2}.xml'.
    While validating input parts.
    .\InputParser.cpp(365): InstallerError 120
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\NI-VISA_Runtime' not found for part 'VisaSharedComponentsWrapper64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-VISA Runtime 4.6.2 {BEB32B6A-2984-40F3-B24E-DB29311A1DD2}.xml'.
    While validating input parts.
    .\InputParser.cpp(365): InstallerError 120
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\TDMS' not found for part 'tdms.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI TDM Streaming 2.0 {3DAA4182-08B7-45D9-8620-6B0E13018670}.xml'.
    While validating input parts.
    .\InputParser.cpp(365): InstallerError 120
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\TDMS' not found for part 'tdms64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI TDM Streaming 2.0 {3DAA4182-08B7-45D9-8620-6B0E13018670}.xml'.
    While validating input parts.
    .\InputParser.cpp(365): InstallerError 120
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\VC2008MSMs\VC2008MSMs' not found for part 'VC2008MSMs_x86.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI VC2008MSMs {4219AAB9-43BA-4085-8A42-78644B9F96D2}.xml'.
    While validating input parts.
    .\InputParser.cpp(365): InstallerError 120
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\VC2008MSMs\VC2008MSMs' not found for part 'VC2008MSMs_x64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI VC2008MSMs {4219AAB9-43BA-4085-8A42-78644B9F96D2}.xml'.
    While validating input parts.
    .\InputParser.cpp(365): InstallerError 120
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\VC2005MSMs\VC2005MSMs' not found for part 'VC2005MSMs_x86.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI VC2005MSMs {63E19B33-DD24-4EAB-9E77-6735C2171CE4}.xml'.
    While validating input parts.
    .\InputParser.cpp(365): InstallerError 120
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\VC2005MSMs\VC2005MSMs' not found for part 'VC2005MSMs_x64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI VC2005MSMs {63E19B33-DD24-4EAB-9E77-6735C2171CE4}.xml'.
    While validating input parts.
    .\InputParser.cpp(365): InstallerError 120
    Input directory 'C:\National Instruments Downloads\NI Device Drivers\Feb10\Products\NI-PAL' not found for part 'palSetup.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-PAL {79F90480-F2A2-463A-943C-29046520D6BC}.xml'.
    While validating input parts.
    and so on

    Hi brockmaa, 
    It seems that the files it needs to include the VISA runtime are not being found on your system. Try re-installing the correct version of VISA you need from:
    http://www.ni.com/nisearch/app/main/p/bot/no/ap/te​ch/lang/en/pg/1/sn/catnav:du,n8:3.25.123.1640,ssna​...
    and try to build the installer again and it should be able to find the correct files.
    DylanC

  • "An unexpected error occurred while creating a custom installer."

    All;
    I—and I've seen several others in older posts—have been reported received the error "An unexpected error occurred while creating a custom installer" while attampting to build a customer ARD client installer.  My guess is that this is do to a issue related to 10.8.X (10.8.4, in my case) based console Mac but I cannot confirm this. I have verified that there are no outstanding OS, client or application updates or hot fixes, as well.
    Has anyone built an successful installer from Mountain Lion-installed Mac?  Is there any know workarounds?
    Thanks in advance, for any help. 

    Have the exact same problem.
    iMac running 10.8.4
    Got through the steps of creating a custom client installer.
    if I choose not to customize and just save an installer I don't get the error but it creates a file of Zero bytes in size.
    If I chose to configure, when I try to save I get:
    An unexpected error occurred while creating a custom installer. Please try again....
    Console log reports:
    9/1/13 12:32:29.603 AM Remote Desktop[1306]: open on /private/tmp/RemoteDesktopClientInstaller_HEATyAJ5CR/extracted/RemoteDesktopCli ent.pkg/Scripts/RemoteDesktopClient.pkg: No such file or directory
    I have tried to save this in several location, with no effect on the error or the information logged, with the exception of the name of the temp directory that DOES contains the file (zero bytes):
    RemoteDesktopClient.pkg
    Need help with this someone...!
    APPLE...I JUST purchase this Applciation for $80.....it just flat out does not work....

  • When creating an application installer in LV, what run-time engine or driver must be installed to install the VISA interactive control?

    I've created an application installer using LabVIEW's application builder and use it to install NI MAX.  However, after running the installer, the VISA interactive control is disabled in NI MAX.
    The installer installs the following NI components:  NI LabVIEW Run-Time 2014 SP-1(64-bit), NI LabWindows/CVI Shared Run-Time Engine 2013 SP2, NI Measurement & Automation Explorer 14.5, NI-488.2 Application Development Support (includes run-time), NI-VISA Configuration Support 14.0.1, NI-VISA Runtime 14.0.1, NI-VISA Server 14.0, NI Systems Configuration Runtime 14.5.0, vision run-time, dc-power run-time.
    If I download and run the 488.2 installer, the VISA interactive control is enabled in NI MAX.  But, the installer created with the application builder does not seem to install the necessary components.
    What needs to be added to the installer to enable  the VISA interactive control (VISAIC)?
    Thanks.
    Solved!
    Go to Solution.

    From Pedro Munoz, Applications Engineer, National Instruments
    Sorry for the confusion with the forum post that Jon sent you. I did some research on our internal database and I found out the component will not be installed by any of the components added from the additional installers section on the configuration of the installer. As you have already found out you need to install the full installer in order to enable this feature.
    I know that this might be an inconvenient for you because you wanted to have one installer to run. On this case may I suggest using the NI Batch Installer Builder.
    The NI Batch Installer Builder allows building installers that contain National Instruments software from several products. That way you can create an installer for you application in LabVIEW (and not include the drivers in the additional installer section), then use NI Batch Installer Builder to include the installer for your application and the full version of the drivers that you mentioned.
    Here is the download link:
    http://www.ni.com/download/ni-batch-installer-builder-14.5/5193/en/
    And in here you can find instructions on how to get started with it:
    http://zone.ni.com/reference/en-XX/help/374206A-01/
    Let me know if you have any question.
    Regards
    Pedro Munoz
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Created CS5.5 Installer (with AAMEE) wont install Adobe Acrobat X

    Hi,
    since two days I am "fighting" with the new Design Std CS5.5.
    I downloaded it from our Adobe licensing portal and unpacked the zip-File.
    Like the CS5.0 before I used AAMEE to create a silent installation. But whatever I do there, it wont install the Adobe Acrobat X. I can see it in AAMEE while creating, and when it is finished it also shows the symbol there, and that everything is fine.
    I tried without updates, and I even tried a 32-bit installer - but with that, it installs the Suite and after 20 minutes (or so) of installation, everything is removed again.
    I really dont know whats going on, since all other adobe products were always working fine with AAMEE. I even upgraded to the newest version, but nothing helps.
    Any ideas here?
    Nina

    When you package from AAMEE then there are twop folder craeted ,
    1) Builds
    2) Extension
    Builds folder have the MSI file to install teh suite however the acobat is not included in it , the acrobat MSI for installation is included in the extensions folder.
    Now , once you have the MSI for acrobat , tere is a specific command to run the Acrobat installation , it is not the same as of the Suite,
    The command is present in the text info file in the extensions folder , the last few lines will be the command . you need to replace acropro.msi in teh command with the location of the MSI actually present.
    Are following the same method to install Acrobat i.e running the command seperatly?
    For details you can refer to :- http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/Ad obeApplicationManagerEnterpriseEditionDeploymentGuide_v2_1.pdf

  • Problem creating an AIR installer (.exe) from a .fla file.

    Hey everyone,
    I am trying to create an Adobe AIR installer(.exe). I already
    created the .fla file and tested it. It didn't seem to work and
    gave me the error of
    "You cannot debug this SWF because it does not contain
    ActionScript" and acc. to this link
    http://www.actionscript.org/forums/archive/index.php3/t-168154.html
    I created a new environment variable called JAVA_TOOL_OPTIONS
    of -Xmx256M. And then the .fla file seemed to work . Apparently
    there is too much code in my .fla file with as many as 20 videos
    (.flv) and lot of radio-buttons ( I mean A lot of them !!! )...
    Now with the .fla file working, when I am trying to create an
    AIR installer it is throwing the error,
    " Error creating AIR file. Picked up JAVA_TOOL_OPTIONS: -Xmx256M
    so I am not able to create the AIR Installer. and If I change
    back the -Xmx 256M then my .fla file won't work. So what do I do
    now ? I somehow removed the above -Xmx 256M variable and created a
    AIR installer with a self-signed certificate and when I try to
    install that AIR installer, I get another error message,
    "The application could not be installed. Try installing it
    again. If the problem persists, contact the application author.
    Error# 0".
    So I have 2 questions:
    1. how do I create this AIR installer(.exe) and make it work
    as a .exe file and run it without having Adobe flash CS3 installed
    on another computer and please help me in my case as above.
    2. Also, would I need to buy a digital certificate to create
    the AIR installer or can I use a self-signed certificate to create
    an AIR installer and use it to install the AIR application on a few
    computers ? Please help
    Axe

    "Axe_AP" <[email protected]> wrote in
    message
    news:gqs5k7$cjp$[email protected]..
    > Hey everyone,
    >
    > I am trying to create an Adobe AIR installer(.exe). I
    already created the
    > .fla
    > file and tested it. It didn't seem to work and gave me
    the error of
    >
    "You
    > cannot debug this SWF because it does not contain
    ActionScript" and
    > acc. to
    > this link
    >
    http://www.actionscript.org/forums/archive/index.php3/t-168154.html
    >
    > I created a new environment variable called
    JAVA_TOOL_OPTIONS of -Xmx256M.
    > And
    > then the .fla file seemed to work . Apparently there is
    too much code in
    > my
    > .fla file with as many as 20 videos (.flv) and lot of
    radio-buttons ( I
    > mean A
    > lot of them !!! )...
    >
    > Now with the .fla file working, when I am trying to
    create an AIR
    > installer it
    > is throwing the error,
    " Error creating AIR file. Picked up
    > JAVA_TOOL_OPTIONS: -Xmx256M ? .
    > so I am not able to create the AIR Installer. and If I
    change back
    > the -Xmx
    > 256M then my .fla file won't work. So what do I do now ?
    I somehow removed
    > the
    > above -Xmx 256M variable and created a AIR installer
    with a self-signed
    > certificate and when I try to install that AIR
    installer, I get another
    > error
    > message,
    "The application could not be installed. Try installing it
    > again.
    > If the problem persists, contact the application author.
    Error# 0".
    >
    > So I have 2 questions:
    >
    > 1. how do I create this AIR installer(.exe) and make it
    work as a .exe
    > file
    > and run it without having Adobe flash CS3 installed on
    another computer
    > and
    > please help me in my case as above.
    >
    > 2. Also, would I need to buy a digital certificate to
    create the AIR
    > installer
    > or can I use a self-signed certificate to create an AIR
    installer and use
    > it to
    > install the AIR application on a few computers ? Please
    help
    This forum is for people seeking help with the Flex Framework
    and/or Flex
    builder. You might want to try one of the Flash forums.

  • How can I create an empty row on a #TempTable based on an input parameter

    So if my Line of Business is 'MC' or 'MG', I have to go over to Oracle and get its data accordingly. Then, when I create my final report result set, I think I'll want to UNION in that result set if my Parameter is 'MC' or 'MG'. I don't think I can UNION
    based on the value of the Parameter. So my thought process was to create an empty row on my #TempTable so when I UNION and my parameter is NOT 'MC' or 'MG' then it will have nothing to UNION in. My struggle is how do I create an empty row in my #TempTable
    if my parameter is NOT 'MC' or 'MG'
    If I am wwwaaayyy off here, please tell me so.
    This is my #TempTable Creation SQL...
    IF EXISTS
    (SELECT 1
    FROM [#TempTable_LineOfBusiness_Parameter]
    WHERE [#TempTable_LineOfBusiness_Parameter].[RESULT] IN ('MC','MG'))
    BEGIN
    SELECT *
    INTO [#TempTable_Market_Prominence_Member_Data]
    FROM OPENQUERY
    (RPDMHF,
    'SELECT HCFA_NAME_ORG.NAME_ID,
    HCFA_NAME_ORG.MEMBER_ID,
    HCFA_NAME_ORG.HIC_NUMBER,
    MEMBER.NAME_FIRST,
    MEMBER.NAME_LAST,
    HCFA_DATE.START_DATE,
    HCFA_DATE.END_DATE,
    HCFA_NAME_ORG.COUNTY_CODE,
    HCFA_NAME_ORG.PART_A_PAYMENT,
    HCFA_NAME_ORG.PART_B_PAYMENT,
    HCFA_NAME_ORG.STATUS,
    HCFA_NAME_ORG.ORG_ID,
    HCFA_NAME_ORG.PLAN,
    HCFA_NAME_ORG.ENROLL_DATE,
    HCFA_NAME_ORG.PBP_ID,
    HCFA_DATE.VALUE
    FROM SC_BASE.HCFA_DATE
    LEFT JOIN SC_BASE.HCFA_NAME_ORG
    ON HCFA_NAME_ORG.NAME_ID = HCFA_DATE.NAME_ID
    LEFT JOIN AMIOWN.MEMBER
    ON TRIM(MEMBER.MEMBER_NBR) = TRIM(HCFA_NAME_ORG.MEMBER_ID)
    WHERE HCFA_DATE.INDICATOR = ''plan''
    AND HCFA_DATE.START_DATE >= ''2015-01-01''
    END
    If I add an ELSE, it always comes back and tells me the #TempTable_Market_Prominence_Member_Data already exists. As if it's creating it regardless of the Top IF.
    Thanks for your review and am hopeful for a reply.

    Hi ITBobbyP,
    The error came back from your ELSE Statement most probably caused by the reason mentioned in Hoffmann's post.
    Regarding your requirement, I would suggest you CREATE the [#TempTable_Market_Prominence_Member_Data] explicitly.
    CREATE TABLE [#TempTable_Market_Prominence_Member_Data]
    NAME_ID INT,
    MEMBER_ID INT,
    HIC_NUMBER VARCHAR(99),
    NAME_FIRST VARCHAR(99),
    NAME_LAST VARCHAR(99),
    START_DATE DATE,
    END_DATE DATE,
    COUNTY_CODE VARCHAR(99),
    PART_A_PAYMENT MONEY,
    PART_B_PAYMENT MONEY,
    STATUS VARCHAR(99),
    ORG_ID INT,
    PALN VARCHAR(99),
    ENROLL_DATE VARCHAR(99),
    PBP_ID INT,
    VALUE INT
    IF EXISTS
    (SELECT 1
    FROM [#TempTable_LineOfBusiness_Parameter]
    WHERE [#TempTable_LineOfBusiness_Parameter].[RESULT] IN ('MC','MG'))
    BEGIN
    INSERT INTO [#TempTable_Market_Prominence_Member_Data]
    SELECT *
    FROM OPENQUERY
    (RPDMHF,
    'SELECT HCFA_NAME_ORG.NAME_ID,
    HCFA_NAME_ORG.MEMBER_ID,
    HCFA_NAME_ORG.HIC_NUMBER,
    MEMBER.NAME_FIRST,
    MEMBER.NAME_LAST,
    HCFA_DATE.START_DATE,
    HCFA_DATE.END_DATE,
    HCFA_NAME_ORG.COUNTY_CODE,
    HCFA_NAME_ORG.PART_A_PAYMENT,
    HCFA_NAME_ORG.PART_B_PAYMENT,
    HCFA_NAME_ORG.STATUS,
    HCFA_NAME_ORG.ORG_ID,
    HCFA_NAME_ORG.PLAN,
    HCFA_NAME_ORG.ENROLL_DATE,
    HCFA_NAME_ORG.PBP_ID,
    HCFA_DATE.VALUE
    FROM SC_BASE.HCFA_DATE
    LEFT JOIN SC_BASE.HCFA_NAME_ORG
    ON HCFA_NAME_ORG.NAME_ID = HCFA_DATE.NAME_ID
    LEFT JOIN AMIOWN.MEMBER
    ON TRIM(MEMBER.MEMBER_NBR) = TRIM(HCFA_NAME_ORG.MEMBER_ID)
    WHERE HCFA_DATE.INDICATOR = ''plan''
    AND HCFA_DATE.START_DATE >= ''2015-01-01''
    END
    Explicitly creating the temp table will offer below benefit in this case.
    The ELSE statement is no longer needed, if the no rows get inserted into that table, it has nothing to union an empty table.
    With the column datatype defined, you can avoid such conversion error
    SELECT NULL AS COL1,NULL AS COL2 INTO #T
    SELECT COL1,COL2 FROM #T
    UNION
    SELECT 1,'ABC'--Conversion failed when converting the varchar value 'ABC' to data type int.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Can't create a custom installer ARD 3.6.1 + OSX 10.8.3

    Hi guys,
    I am new to ARD, and straight out of the gate I've got issues!!
    I can't create a custom installer, its giving me the following error:
    "An unexpected error occurred while creating a custom installer."
    I've done some searching and the only issues I can find are form older versions back in 2007!
    If I choose to not customise an installer is saves fine, but as soon as I customise one I get that error.
    Any assistance would be much appreciated!
    Thanks,
    Ben

    Hi,
    Just install the lastest Client version ...
    http://support.apple.com/kb/DL1594?viewlocale=fr_FR
    And it works again !!
    Julian

  • I want to Create an Single Installer (My Application + DSC Run Time License )

    Hi,
       I want to create an single installer by including my Application and DSC RTL, So by using this i will give an single installer to my clients where they dont have any Lab VIEW components. Even though i seen some similar post, but its doesnt give me a proper solution for this. Please do the needfull.
     With Regards,
    Vijayakumar.V

    Hi Vijay,
    I think, there is no seperate RTL for DSC (for that matter, for any of other NI addons/toolkits) to be included in the installer.
    You need to select the appropriate installer from the Additional Installers category while creating the installer.
    Please see the attached pic.
    - Partha
    LabVIEW - Wires that catch bugs!
    Attachments:
    NI DSC 8.6 Deployment.PNG ‏43 KB

  • I can't create a empty project in Sun Java Studio Enterprise 8.1

    Hello, i have a problem, i can't create a empty projects because the option is not in wizard, i only have a option "Web Application with Existing Ant Project"
    Why? What can i do?
    I only have one template!!! In other PC work OK with all templates.
    I reinstall, uninstall, install, all!!!
    Regards.
    Edited by: Crainar on Feb 25, 2008 1:26 PM

    I am having same trouble. Installed JDK 5.0 Update 5. Installed the Studio. Ctrl+Shift+N, the only option I have is Web Application with Existing Ant Script.. Please advise how to solve this problem. thx

  • Hi,  My IMac Superdrive has gone bust and i need to re-install Adobe CS5.5 design premium middle east version.   I have the original version DVD with me.   But i am unable to install.   Can i create an USB installation drive from the DVD or can you please

    Hi,  My IMac Superdrive has gone bust and i need to re-install Adobe CS5.5 design premium middle east version.   I have the original version DVD with me.   But i am unable to install.   Can i create an USB installation drive from the DVD or can you please send me a link to download the Middle east version of Adobe CS 5.5 design premium.   After downloading i can enter the product key which i had bought.  appreciate if anybody can offer a solution urgently.   All my jobs are held up. thanks

    Download CS5.5 products
    Mylenium

  • How to create an Empty Playlist File on Mac?

    Hello everyone, I'm working on a Music Player script, I was able to play a file via the default player as when we doubleclick on a file. The problem is I have no control over the Player, so to "stop" a file I could play a "silent" mp3, one with 1 second of silence in it for example. I discarded the idea since I had to distribute this silent.mp3 file along with the script. A better option is to play a "playlist", since playlist files are text only, I could create them an empty playlist file on the fly...
    so, the question is, what's the default playlist extension on a mac? and how to create one on the Mac?
    in windows the default player is Windows Media Player, the default playlist file extension is *.wpl.
    here's the contents of an empty playlist
    <?wpl version="1.0"?>
    <smil>
        <head>
            <meta name="Generator" content="Microsoft Windows Media Player -- 12.0.7601.18150"/>
            <meta name="ItemCount" content="0"/>
            <title>empyPlaylist</title>
        </head>
    </smil>
    here's the script, so far Windows only, at least to stop the file being played.
    //  script.name = musicPlayer_Windows.jsx;
    //  script.needs = I need to create an Empty Playlist File for the Mac, that will play on the default music player when executed
    // carlos canto, 10/12/2014
    var w = new Window('dialog', 'Music Player');
    var btnFile = w.add('button', undefined, 'Select an *.mp3 file to play...');
    var lblSong = w.add('edittext', undefined, '');
    lblSong.characters = 30;
    var btnPlay = w.add('button', undefined, 'Play');
    var btnStop = w.add('button', undefined, 'Stop');
    var btnClose = w.add('button', undefined, 'Close');
    btnPlay.enabled = btnStop.enabled = false;
    var emptyPlaylist = getEmptyPlaylist ();
    btnFile.onClick = function () {
        var file = File.openDialog ("Select File to Play...", '*.mp3', false);
        lblSong.text = file.displayName;
        lblSong.file = file;
        btnPlay.enabled = btnStop.enabled = true;
    btnPlay.onClick = function () {
        lblSong.file.execute();
        $.sleep (300);
        BridgeTalk.bringToFront('estoolkit');
    btnStop.onClick = function () {
        emptyPlaylist.execute();
        $.sleep (300);
        BridgeTalk.bringToFront('estoolkit');
    btnClose.onClick = function () {
        w.close();
    w.show();
    // this function creates an Empty Playlist file (Windows) on the fly, this file will be used to "stop" a playing file
    // I need a similar function for Mac
    function getEmptyPlaylist () {
        var desk = Folder.desktop;
        var f = new File(desk+'/emptyPlaylist.wpl');
        if (!f.exists) {
            var s_emptyPlaylist = (new String("<?wpl version=\"1.0\"?>\n<smil>\n    <head>\n        <meta name=\"Generator\" content=\"Microsoft Windows Media Player -- 12.0.7601.18150\"/>\n        <meta name=\"ItemCount\" content=\"0\"/>\n        <title>empyPlaylist</title>\n    </head>\n</smil>\n"));
            f.encoding = 'utf-8';
            f.open('w');
            f.write(eval(s_emptyPlaylist));
            f.close();
        return f;
    thanks in advance
    Carlos

    hmm...I think it's going to be more complicated than I thought.
    correct, this script targets the ESTK, it is part of a larger Illustrator script, which doesn't have doScript either...I would go with applescript as last resort. I think going with the playlist file is easier.
    based on your comment I realized users might change their default players, so on Windows I'm going to change the playlist file from *.wpl to the more universal *.m3u, I guess whatever decent player made the default, supports this file.
    so, will an *.m3u playlist file play on the default mac player (itunes) when executed?
    File("~/Music/iTunes/iTunes Media/Music/emptyPlaylist.m3u").execute(); // will this play on itunes?
    I noticed that the *.m3u file can be blank, it will still "play" when executed() and effectively "stops" any music file currently being played...if this happens on Mac also, that's what I'm after.
    thanks for helping Dirk.

  • What is the password for 'oracle' user created during XE installation?

    Hi,
    What is the password for 'oracle' user automatically created when XE is installed?
    I installed XE on Linux and it's created under 'oracle' user, but I don't know 'oracle' password. So, I cannot stop TNS listener.
    During configuration, it prompted me to enter SYS and SYSADMIN password but it didn't ask me to enter 'oracle' user password.
    Please let me know or point me to the document.
    Thanks,
    N

    Hi Jari,
    I tried your suggestion, but it didn't work unfortunately.
    When I type (sudo su -oracle) as follows, it still prompts the password. When I hit Enter key w/o anything, it seems to proceed and the prompt shows up in the following line. So, I thought it was successful, but when I checked 'whoami', it's not logged in as 'oracle'.
    So, I created the password for 'oracle' and logged in as 'oracle' using a new password. Then, I stopped TNS listener to uninstall XE.
    It would be nice if it's documented in XE document somewhere... since it's created by XE installation, I assumed some kind of default password was used.
    Thanks,
    N

Maybe you are looking for

  • Table to find serial number for the stock of a material

    Dear All, I have a requirement in which i want to find the serial number for the stock of a material. in Equi i have serial number with material. But i want it with plant also. pl. suggest me in which table u have serial number,material , plant and s

  • Has anyone highlighted a word in online text, and it defined the word automatically?

    i accidently clicked some buttons while reading online text, and the next thing i know, the word "meeting" is highlighted and being defined in a dictionary window that popped up.  id like to know how to replicate the mistake i made because this is a

  • I have Trouble Connecting To WiFi Network with My Mac, while the rest of the technology connects to it perfectly...

    I have used my Mac for almost a year now, and I've always had no problem connecting to WiFi, but today - suddenly I've lost the connection and now I can't see the WiFi Network in the list... I have 2 WiFi's connected together at home - TP Link and Ne

  • To include po and pr action history

    hi i have created this query as i need report with the followiing columns po#          description           line_num           pr_Action_history(ie action date ,action_code)            po#              po_action_history(po_actioncode,po_action_date)

  • Syetem.getEnv

    hi I need to keep the path of the application location in the System path. I know i could have use this funcetion but it is deprecated. the return value of Syetem.getProperties(key) is always null. How can i get this information?