"an external subroutine required for execution can not be found."

My application Intermittantly displays "an external subroutine required for execution not be found." The exe file is located on a local server. The missing file is a call to hostname.dll . If I run the exe file on the local machine the error message is not diplayed.
Why?

It sounds like an intermittent problem with the connection to your local server. It also sounds like there's a lot of traffic on the network every now and then, which is most often true on most networks.
Are you calling this external subroutine as fast as you can? If you are, try slowing it down. Adding some delays might take the problem away.
The second suggestion is to not be dependent on network files. If you do, add some sort of error checking capabilities to your program so that it will know to try again if the file cannot be loaded fast enough.
Must the .dll be located on the server? If you're planning on running your application fast, you definitely want to keep everything on the local machine.
Just my suggestions. Hope that helps.
Shan Pin Koh

Similar Messages

  • Installer LV7.1 - LabVIEW load error code 21: An external subroutine required for execution could not be found.

    Bonjour,
    Je cherche à créer un installer portatif utilisant les drivers NI-DAQmx 8.7.1 et NI-CAN 2.6.0.
    Je dispose d'un code LV 7.1 et j'ai installé l'application builder 7.1.
    Mais une fois l'application installé sur un PC vierge de Labview, j'obtiens le message suivant:
    load error code 21: An external subroutine required for execution could not be found.
    Ce message est répété plusieurs fois (pour différents VIs) puis le programme ne se lance pas.
    J'ai bien veillé à installer les drivers NI-CAN et NI-DAQmx correspondant au préalable sur la machine cible.
    En chercant sur le forum, plusieurs pistes m'ont été proposé:
    La version NI-DAQ
    L'intégration du Run time Engine
    Un problème de DLL
    J'ai vérifié ces 3 points mais cela n'a pas règlé mon problème.
    Résolu !
    Accéder à la solution.

    Bonjour,
    Merci de ta réponse.
    En fait, j'ai bien inclu le runtime engine de Labview qui était effectivement la source de l'erreur.
    L'installation de NI-DAQmx v 8.7.1 provoque la mise à jour de la version du runtime engine (passage de 7.1 à 7.1.1).
    J'ai donc désinstallé Le runtime engine 7.1.1 (ce qui a provoqué la désinstallation de labview et NI-DAQ).
    Puis je suis passé par une version plus ancienne de NI-DAQ (7.2) que j'ai adapté (inclusions de DLL et de VIs).
    Les messages d'erreurs ont alors tout simplement disparus!

  • The required disk space can not be found

    when i try to connect my newly restored(no music on it) ipod i get an error message that says "this ipod cannot be synced because the require disc space can not be found" i tried changing the settings to manually managing music as well as syncing only checked songs. nothings works!

    Try the solution from this topic thread (posted by jasctt )
    http://discussions.apple.com/thread.jspa?messageID=8124743
    The solution seems to be to make Windows scan for connected USB devices while iTunes is syncing. In another forum, one suggestion was to unplug any connected USB device (such as a mouse) after initiating a sync in iTunes. This apparently serves the same purpose because it makes Windows scan for changes in connected USB devices.
    You should have to do this every time, just one time to establish the connection.
    Hope that works for you.

  • The volume for "Downloads" can not be found

    i keep getting this message when i click downloads in the finder sidebar menu. if i want to see something i downloaded i have to actually find the folder and that takes too long. Is there anyway i can stop this message from coming up (The volume for "Downloads" can not be found) when i click on it from the sidebar?

    That's a very good question. I have a hunch that it might be the plist file com.apple.sidebarlists.plist which you will find in <home>/Library/Preferences.
    The only thing is that I do not know if you can simply move that file to the desktop, close the current Finder window, then open a new Finder window and add the items you need back into the sidebar. Because Finder is running all the time, I would be very wary of doing that just in case it causes drama . Perhaps one of the other Guru users might have a comment on that.
    Alternatively search the discussions for possible clues along those lines.
    Chris

  • THE VOLUME FOR "MOVIES" CAN NOT BE FOUND

    Not sure if I posted this in the right place. I would appreciate anyone that can help.
    I installed iLife 08 yesterday and everything seemed to go fine.
    When I go to open my MOVIES folder I keep getting a : "THE VOLUME FOR "MOVIES" CAN NOT BE FOUND" message?
    What happened??
    More importantly....
    On the left hand of my Finder window where it lists DEVICES, PLACES, and SEARCH FOR.... if I click on SEARCH FOR and go to ALL MOVIES....
    I was relieved to find all of my movie files still in there.
    BUT HERE'S THE PROBLEM:
    I was watching some of the movies... and I noticed as soon as I clicked off and started viewing a new movie... the previous movie would disappear from the ALL MOVIES FOLDER... and the number tally would decrease.
    I finally realized after 10 movies that files were disappearing... or perhaps being deleted.
    I used FIND to try to locate the lost files but no such luck. I can't find them anywhere.
    It also appears to be only my WINDOWS MEDIA PLAYER FILES that are disappearing.
    What happened to my MOVIES folder? and where are these lost files going? Are they being deleted? UGH UGH UGH!
    If anyone can help I'd greatly appreciate. I'm very frazzled.

    Welcome to Discussions - This is the G5 forum, you seems to have a G4. I suggest you post in the [iMovie|http://discussions.apple.com/category.jspa?categoryID=141] forum, where you will get better informed help.

  • When i sync my iphone i get the error message. The iphone "patrick's iphone" can not be synced. the required disk can not be found.

    when i sync my iphone i get this message. The iphone "patricks iphone" can not be synced. The required disk space can not be found.

    The Basic Troubleshooting Steps are:
    Restart..  Reset..  Restore from Backup..  Restore as New...
    Try a Reset of the Phone... You will Not Lose Any Data...
    Turn the Phone Off...
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    The Apple logo will Appear and then Disappear...
    Usually takes about 10 - 15 Seconds...
    Turn the Phone On...
    If that does not help... See Here:
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414

  • Can't update ipod because required file can not be found! HELP!!!!!

    about a week ago i was deleting files on my computer to free up space. when i tried to update my iPod later it said that...
    The iPod can't be updated. The required file can not be found...
    i do not know what to do and i bought a lot of songs but i can't put it in.
    HELP!!!!!
    iPod Nano   Windows 2000  

    Welcome To Discussions 30STMrOcKs!
    You have posted your inquiry, in the Discussions Forum, that is intended for discourse about the use of Apple Discussions.
    If you would like responses in addition to Peter Miller's, you will get more focused attention to your issue, if you select a more appropriate location from this page Discussions Forum Home.
    For example,
    From the Forum Home Page, select the Category iTunes.
    Then choose the Forum Using iTunes for Windows.
    Or from the Forum Home Page, select the iPod Category Page.
    From that Category page, choose an appropriate iPod Forum.
    For example Using your Fifth Generation iPod.
    or Connecting the Fifth Generation iPod to Windows.
    There are similar forums for each iPod model. Fifth Generation is just the first listed.
    Here is the iPod nano, Category page.
    On Forum pages, there is an option to Post New Topic.
    Good Luck!
    ali b

  • When Syncing, got error msg "iphone4 can not be synced as the required file can not be found", When Syncing, got error msg "iphone4 can not be synced as the required file can not be found"

    i've upgraded to IOS5 and also my iMac to latest iTunes.
    i now found Itunes frequently issued a error during syncing "iphone4 can not be synced as the required file can not be found".   i have connected the iphone4 to my iMac using USB (i.e., wired).   but without doing any thing further, i go to iTunes and just hit the button to "SYNC" the iphone4 again, it will work.
    so, why am i getting that error usually first time around when i connect the iphone?

    Hi folks. Am REALLY struggling here and hoping for some help. I too am constantly getting the 'iPhone can not be synced' message since upgrading to a new MacBook and trying to sync my iPhone 3GS. Have tried updating to latest iPhone software and hasn't helped. Have tried all the stuff mentioned above (dumping that file etc) and no luck. When I go to my sync page for photos, even if i un-tick the sync photos option altogether, this error keeps appearing. Very odd and very frustrating. Can't sync - seems to stall at last step of the process every time.
    I'm guessing it is photo related as the pics on my iPhone are now all lowres and blurry, and it is asking for sync to iTunes to get high res images onto the phone.
    Also have problem going the 'other way'! WHen I go to iPhoto on Mac and try to download new photos taken on iPhone.. I keep getting the message 'The following file could not be imported. The file is an unrecognized format."
    help please
    Nick

  • I restored my ipod, when I went to put everything back on it, I got a message that said, "an error writing to the device, can not sinc.  Then it said the required disc can not be found.  Now what do I do, I have all of this music and apps that I can't get

    Before I restored my ipod, I backed it up then I updated and restored.  The problem is when I went to put everything back on it, I got a message saying that an error writing to the device, can not sync.  Then another message appeared saying that "the required disc can not be found.  Now what do I do?

    Try resetting the iPOd. Nothing will be lost.
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Also, delet the iPod Phot Cache folder for the second error. For its loation see:
    iTunes: Photo sync creates iPod Photo Cache folder

  • The folder "itunes"can not be found or created and is required

    I am getting this error message when I try to open Itunes on my pc. The error message reads:
    The folder "itunes" can not be found or created and is required. The default location for this folder is in "my music" folder.
    I can see it there and I open it and hit agree to contract and this error message come up. I have deleted the program reinstalled the program. Please if you have any suggestions on how to fix this I would appreciate the help.
    Thanks Mkitz

    the best place to start with that one is with the following document:
    iTunes for Windows: "Disk is locked" or "iTunes folder cannot be found" when installing or opening iTunes
    ... but if you run into the complication where "My Music" doesn't appear as an option in TweakUI, perhaps try the alternate procedure from the following Nigel Carpenter post:
    Nigel Carpenter: re: Itunes problem

  • HT201413 I am receiving a message saying the iPod "TRACER's iPod" can not be synched. The required file can not be found. I ran the iTunes program repair and restarted both the computer and the iPod. Any suggestions on what else to try?

    I am receiving a message saying the iPod "TRACER's iPod" can not be synched. The required file can not be found. I ran the iTunes program repair and restarted both the computer and the iPod. but still receive the same message. Any suggestions on what else to try?

    That can sometimes be caused by a damaged ipod photo cache.
    If you remove the current ipod photo cache, does that get you past the error?
    For instructions on where to find it, see the following document:
    iTunes: Understanding the iPod Photo Cache folder

  • This application requires a version of Adobe AIR which can not be found

    After installing Adobe AIR 3.7 on a new computer with Windows 7 Ultimate 64 bit and try to use applications that need this program, I get a warning window with this message: This application requires a version of Adobe AIR which can not be found. Download the latest version of runtime at http:// .......
    When trying to uninstall it stops me with the same message described above. I managed to uninstall it by using a specific software to uninstallations, which it does, but to re-install the same thing happens. Also try it with AIR 2.6. Can anyone help me with this problem?
    The install.log file:
    [2013-05-11:01:07:44] Runtime Installer begin with version 3.7.0.1530 on Windows Vista x86
    [2013-05-11:01:07:44] Commandline is:
    [2013-05-11:01:07:44] No installed runtime detected
    [2013-05-11:01:08:36] Relaunching with elevation
    [2013-05-11:01:08:36] Launching subprocess with commandline c:\users\provini\appdata\local\temp\air6057.tmp\adobe air installer.exe -ei
    [2013-05-11:01:08:38] Runtime Installer begin with version 3.7.0.1530 on Windows 7 x86
    [2013-05-11:01:08:38] Commandline is: -stdio \\.\pipe\AIR_4720_0 -ei
    [2013-05-11:01:08:38] No installed runtime detected
    [2013-05-11:01:08:38] Starting silent runtime install. Installing runtime version 3.7.0.1530
    [2013-05-11:01:08:38] Reinstalling c:\users\provini\appdata\local\temp\air6057.tmp\setup.msi
    [2013-05-11:01:08:40] Runtime Installer end with exit code 0
    [2013-05-11:01:08:40] Elevated install completed
    [2013-05-11:01:08:44] Got an unexpected fatal error while quitting: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception TypeError: Error #1009" errorID=1009]
    [2013-05-11:01:08:44] Runtime Installer end with exit code 5

    I'm sorry you're running into installation issues with AIR.  Microsoft has released a utility that can help resolve installation problems.  Would you mind giving this a try and let us know how it works for you?  When running the Fix it, go through the uninstall process and try to remove Adobe AIR from your system.  Once finished, download the latest version of AIR and install again.
    Microsoft Install and Uninstall Fix It
    Another alternative is to create a new, temporary user account and install AIR from there.  Once installed, go back to your normal account and try running your AIR app again.

  • Absence error "required screen changes can not be made"

    Hello gurus,
    I am having issue with absence IT2001,
    When I create absence on today's date it is fine ,if I select previous /future date  then I am getting error msg " required screen changes can not be made"
    I did check the quota and basic check and everything is fine.
    any help one this please?
    Thanks,
    Ravi

    Hi,
    Check the table V_554S_O for the particular Absece type which u might wrong screen Number
    Change that field to 2001..
    Or it may have happened that some mandatory field has been changed / hidden by screen modification in T588M and T588N tables for IT2001.
    Hope this helps.

  • "The folder "iTunes" can not be found or created, and is required. The defa

    Hi all,
    I am using a 80GB ipod classic for some time now. I recently bought a new hard drive and am in the process of repopulating my files. My problem is with this error message, "The folder "iTunes" can not be found or created, and is required. The default location for this folder is inside the "My Music folder."
    My old hard drive is intact but when I place the My Music/iTunes file on to the hew hard drive I get the same message over and over. I have Googled the heck out of this one to no avail. I have tried many approaches to this issue and am beyond aggravation. Am I simply to accept that 42GB of music is gone? Or that I have to revert to my old hard drive just for iTunes...
    Thank you...

    Hello, Welcome to Apple Discussions.
    You may wish to try
    iTunes for Windows XP: "Disk is locked" or "iTunes folder cannot be found" when installing or opening iTunes
    http://support.apple.com/kb/HT1866?viewlocale=en_US

  • "required folder can not be found"?

    My 5th generation iPod nano would not let me add new artists and sync with itunes.  I tried everything.  My son's 5th gen works fine on the same computer, as does my iPhone.  I have uninstalled (with itunes support help over the phone) and reinstalled itunes.  My ipod nano would not even "restore".  It kept coming up with error 1436.  So I managed to restore the iPod on our new computer so now it has no music on it.  I have plugged it back into my computer that has all our itunes content and now it will not do anything.  It says "required folder can not be found".  I have spent so much time trying to figure this out.  Any help would be appreciated.

    It says "required folder can not be found".
    That can sometimes indicate a photo cache issue. If you remove the current ipod photo cache, does that get you past the error?
    For instructions on where to find it, see the following document:
    iTunes: Understanding the iPod Photo Cache folder

Maybe you are looking for