Error -2147217887 occurred at DB Tools Open Connec(string).vi

LabVIEW 7.1 with db connectivity toolkit is returning this error every few days.
Error -2147217887 occurred at DB Tools Open Connec(string).vi -> ...
Possible Reason(s):
API Error: USER LIMIT EXCEEDED. In DB Tools Open Connec(string).vi -> ...
I use the db toolkit to open four separate connections in a polymorphic sub vi every minute and retreive new data.  The connections are opened and closed each time in the sub.vi.  This vi needs to run indefinitely. 
Does anyone have any ideas on how to resolve this issue?
Thanks,
dgw

There are usually 1-3 users on this db.  This is not really a db, it is a process historian with an OLEDB interface.  I am going to check to see how many connections it supports.

Similar Messages

  • DB tools open connec.vi Invoke node connection string broken

    I'm running an old version of LabVIEW (LV7.1) on my PC (I have no choice - I have to maintain this one application in this specific legacy version, due to maintiaining consistency with another plant running the same app).  Anyway, we are running it on a Win 7 (64-bit) Office 2010 PC. I'm gettting errors related to database connectivity, so I just created a new VI, just to take a look at the db connectivity by itself.  When I create a brand new VI, and just drop the DB Tools Open Connection.vi function into it, I get an error "SubVI 'DB Tools Open Connec (String).vi': subVII is not executable". After digging down, I get a "No properties" error on the Property Node.  If I click on the connection string, I get "No Properties".  Any ideas?
    Attachments:
    db connect error.jpg ‏145 KB

    I am trying to remember but i think in newer versions of Windows (especially 64bit), the ADODB library was modified, which broke all of the database VI's in older versions of LabVIEW.   I would recommend going back to an older version of Windows if you must continue using LV7.1

  • "An error (1502) occurred during the action Open." when opening original .VSD files, but NOT copies!?

    We have a weird situation we're trying to troubleshoot for quite a while: We have multiple .vsd files stored on our network in DFS shares.. We have multiple users who cannot open the files, when they try by navigating to the file and double-clicking it,
    they get "An error (1502) occurred during the action Open. File not found"
    However, if they copy and paste the file to the same exact network folder, THAT file they can open with no problem!
    The problem is very bizarre. I've checked obvious things such as file/folder permissions, versions of Visio installed, things in common between people who can and can't open the files.. I even did some testing today with some strange results...
    Windows 7 x64 machine with Visio 2010 Pro installed (x86):
    1. Opened file by double-clicking it in explorer, "Got the 1502 error"
    2. Tried it again, this time I just get "File not found"
    3. Opened Vizio, did a File --> Open --> navigated to the file and opened it that way... 1502 error.
    4. Copy/pasted the file into the same folder where it's stored, then double-clicked the copy and it opens fine.
    5. Closed the copy, tried to open the original, still get file not found / error 1502.
    The file does exist, it IS there.. sometimes the user just copies it to their local desktop (well, it's not really local, it's redirected) and it opens fine there.. other users email themselves a copy of the file and then open it that way.. it works for
    some, not for others.. and there's no discernible pattern yet to identify who this is affecting. Anyone have any ideas?
    -Keith
    -Keith Elkin

    Hi,
    Based on the error message, the issue may be caused by the Visio file is occupied by some other program in DFS.
    >>4. Copy/pasted the file into the same folder where it's stored, then double-clicked the copy and it opens fine.<< If you did this step, the Visio file would rename in the same folder, like file1.vsd. Thus, it opened well.
    Thus, I recommend you check the file's status in computer management in DFS server, see the below image:
    If the affected Visio files were occupied, please try to clean them(right click>close the file) to test.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Sorry,
    This didn't help, the files are not open, locked open, and the issue still persists. Any other suggestions?
    -Keith
    -Keith Elkin

  • When trying to work with Agilent 34401A multimeter (serial RS-232 connection), HP34401A Getting Started.vi gives always the message: "Error 1073807369 occurred at Old VISA Open ".

    Baud rate and parity are set correctly, RS-232 cable is also connected correctly. My QuickBasic program has no problems to read and write to the Multimeter. It is obviously a software problem: the same error is persistent if I disconnect RS-232 cable.
    I downloaded NI-VISA 2.6 for Windows 95/98/NT/ME/2000/XP frorm digital.ni.com and installed it. But it did not help.
    Thank you in advance
    Best regards
    Alexei Soloviev

    Hi Steve
    I have problems with the 34401A and serial communication. Do you remember
    where the error was in the code ?
    Thanks
    Klaus
    wrote in message
    news:[email protected]..
    > Alexei,
    > This may or may not help, I was tasked to do something similar
    > recently and found an error in their driver. The GPIB VISA worked
    > fine, but when I tried it on serial it played up. There was an errant
    > carriage return (or CR/LF I can't remember). GPIB liked one and Serial
    > liked the other. It always amuses me that we never have problems with
    > Quickbasic!.
    > If you want me to dig deeper give me a shout.
    >
    > Steve Watts
    >
    > On Thu, 24 Jan 2002 06:16:55 -0800 (PST), "Alexei V. Soloviev"
    > wrote:
    >
    > >When trying
    to work with Agilent 34401A multimeter (serial RS-232
    > >connection), HP34401A Getting Started.vi gives always the message:
    > >"Error 1073807369 occurred at Old VISA Open ".
    > >
    > >Baud rate and parity are set correctly, RS-232 cable is also connected
    > >correctly. My QuickBasic program has no problems to read and write to
    > >the Multimeter. It is obviously a software problem: the same error is
    > >persistent if I disconnect RS-232 cable.
    > > I downloaded NI-VISA 2.6 for Windows 95/98/NT/ME/2000/XP frorm
    > > digital.ni.com and installed it. But it did not help.
    > >Thank you in advance
    > >Best regards
    > >Alexei Soloviev
    >

  • Error -354809 occurred at VBAI Interface - Open Inspection.vi

    I am using a NI Smart Camera 1722 and am stuck at Open Inspection.vi of my code.  It throw this error:
    Error -354809 occurred at VBAI Interface - Open Inspection.vi
    Possible reason(s):
    Vision Builder AI: (Hex 0xFFFA9607) The validation of the inspection returns errors.
    Very basic code here.  Not sure what the path is supposed to be for the .vi to work correctly.  I do not have Real-Time so I need a full path name.  Any help on this issue would be appreciated.
    Attached is the simple test vi.
    Attachments:
    NICameraTest.vi ‏20 KB

    This typically happens if the inspection you try to open is using resources (cameras, frame grabbers, serial ports, etc.) that are reserved by another process (or the simulate acquisition step can't find the image file to open). Try opening the inspection in the regular VBAI executable, which may provide more detailed information about which step in particular is failing. If this works without errors, make sure to shut down VBAI, it may be reserving the device the inspection needs to open. Make sure MAX is shut down as well. Once no other process is using resources the inspection needs to reserve, it will work. You can also try opening one of the shipping examples that don't use any resources.
    Hope this helps,
    Brad

  • "an internal error has occurred" in trying to open newly installed Adobe Reader 10.

    unable to open Adobe Reader 10.1 ; says "an internal error has occurred", I'm using windows Vista 32 bit. Any know fix, or must I go back to using an older, more stable version like 8.1.2.  What's with Adobe if they can't create a better, more stable program? I've seen other have had the same problem and they and I both have trouble trying to find a FREE fix, and nothing found on Adobe site as a clear answer either.

    I was frustrated by this problem as well. I even uninstalled and then resinstalled a fresh download: SAME Problem.
    Now the problem seems to have been RESOLVED on my Windows Vista Laptop.
    Instead of trying to open by double-clicking on file icons, I opened the Adobe Reader from the Windows Explorer. On the first screen appeared the usual Adobe Licence & Terms that I had to ACCEPT. This screen NEVER showed up before after either upgrading to the Adobe Reader X or after reinstalling. After accepting the License and TERMS. this problem does NO longer reproduce.
    I have successfully opened fewer than 10 PDF files without the annoying error so far. I hope others will reproduce this "FIX" before claiming this was the root cause of the problem.
    Hopefully Adobe will display a more meaningfull error message for such a problem.

  • An unknown error has occurred (-42408) when i open itunes

    when i first open iTunes it says "an unknown error has occurred (-42408)" but it plays music fine...it just wont recognize my iPod. i have uninstalled iTunes and reinstalled it and it still keeps giving me the same error.

    ok..so upon reading other issues with this...i no longer get that message...but my iPod still will not show up in iTunes. please help!

  • Db tools open connection.vi does not get password from dsn file

    I am

    The database is a Microsoft SQL server database.  Again, my IT group does not want the password hard coded into the application.  Their preference would be for the password to be extracted from the dsn.  I have tried both a file dsn and a system dsn which were created in the data sources app in control panel --> administartive tools.  Neither dsn works (unless I wire the password to the databse tools open connection vi).  Both dsn's work fine from the windows data sources application.  I have not been able to figure out how to attach graphics to a post on the board here, so I 'm not sure how to attach the error message (or my block diagram).  The text from the error message is below.  Wiring in the password causes the error to go away.
    Error -2147217843 occurred at DB Tools Open Connec (String).vi->DB Tools Open Connec (Path).vi->FindShiftNumber.vi
    Possible reason(s):
    Exception occured in Microsoft OLE DB Provider for ODBC Drivers: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'eslprodsproc'. in DB Tools Open Connec (String).vi->DB Tools Open Connec (Path).vi->FindShiftNumber.vi

  • Error 2147467259 DB Tools open connection

    I wrote a program in labview 2014 32 bit to pull data from a MS SQL Server database.  I used the 32bit ODBC datasource program to generate a DSN file.  The code works just fine when I run the VI from labview, but when I build the program and run the executable, I get an error: 
    ADO Error: 0x80004005
    Exception occured in Microsoft OLE DB Provider for ODBC Drivers: [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied. in NI_Database_API.lvlib:DB Tools Open Connec (String).vi->RecipeSelect.vi
    I created a UDL file with the labview "Create data link" tool and I still get the same error even though the VI runs fine.  I have also tried a connection string.  All the searches I have done on this error suggest a problem between 64bit and 32bit data sources.  I've tried creating them both ways and still get the same error, yet the VI always runs fine on the same computer from labview.
    Any suggestions on what to try next?  Thanks in advance.
    Solved!
    Go to Solution.

    The file path was hardcoded.  I tried running it on multiple machines with the same error.  I have since created a new project and started rebuilding the code from scratch.  I think something in my old files are corrupted as the new code is working after I build it.  *fingers crossed*  Thanks for taking the time to respond and try and help!  Much appreciated
    Edit:  I had tried changing so many things to get my project to work that I don't know what I might have messed up in the process.  Marking this as solved because the original problem is so convoluted it was likely my own mistake with the creation of the DSN/UDL file or maybe even a glitch with our SQL Server.  It has since been rebooted.

  • Unknown Error Has Occurred

    I used my illustrator CS4 just find for who knows how long, at least a year, and then yesterday I went to create a new file upon opening the program and when I clicked new website or even new print document I get an error message that an "Unknown Error Has Occurred" I tried to open an Ai document and I got the same thing. I've looked online and I see this message most of the time with a specific file, but I didn't even have a file. I was just trying to start new. What could have happened? And, what can I do to get my Illustrator working again?

    Erika,
    For rarer cases where the advice given by Monika fails to bring relief, you may
    look through and try out the relevant among the Other options;, maybe with special attention to the font cashes (item 11).
    Even more seriously, you may: uninstall, run the Cleaner Tool, and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html
    Hi Monika.

  • FW  "An Internal Error Has Occured"

    Talk about frustrating!!!  Adobe Support? What is that?
    I am a newbie, that doesn't mean bend me over?  I have been working on not only learning the Adobe Web Premium software "which is a totally different conversation" but WTF. Back in October I started this new website I am rather passionate about, down loaded Trail Versions from the web. Yea, I know I have alot of programs out there I could have chosen but I wanted the BEST, well that was my thought anyhow. After starting completely backwards I finally got on track to start using the software as it was designed. No thanks to Adobe I found my way through many different articles and blogs and videos. You would think that if they are willing to sell you something for $2,000 they would at least give you direction on how to use this software. Yes I was amazed there was nothing too. Never the less I muddled through it and got beyond the BS. Got through AI with little to no problems then came Fireworks.
    Since, November I have watched all the lessons on how to use it and not once did the the issues that came up ever, and I mean was never  discussed. I got up to maybe 20 pages. I counldn't tell you the exact number because the file won't open. Of course restarted the web design a few times when I found tips on how to make things better. Never the less I WAS IN LOVE, I told everyone I knew that this was the sweetest idea to come along. Develop Complex Graphics in AI and Photoshop and Design Pages with a Master copy in Fireworks all before exporting the whole enchilada to Dreamweaver or Flex Builder. Then it happened.
    About 2 weeks ago a friend of mine call me up and ask me to make a quick Sqeeze Page for him, it took me about 6 hours from start to finish and I was done. Then that same evening I went back to my Original Project. Tried to load it up. HMMMM not enough memory??? Whats that? I have been working on this file and never had problems before. So stupid me thought Hey I know I will just get in contact with the ADOBE SUPPORT TEAM.  Hello, thats where I purchased this program RIGHT? Chirp Chirp Chirp.
    Gave them a complete description of what I just explained here and I got a response back.  It took them 2 days to respond and the response was " CAN YOU SEND ME A SCREEN SHOT OF THE ERROR" your kidding right. OK, I sent them a screen shot "Not enough memory to open file". Again 2 days later I got another response " Have you checked the Forums for your answers yet?" What is That? Are you kidding me. Has ADOBE gotten so big that they are unwilling to help their customers who spend a boat load of money on their software.
    So Here I am. The proud father of a six month endever to sit around and wait.... After reading some forumns and learnig about all the things ADOBE didn't want to know. After searching and deleting fonts I know get FW "An Internal Error has Occurred" while trying to open the file. I know this happened to me awhile ago when I was still using the Trail Version and I just opened a smaller file first and then opened the file without any problems. So I tried that and the earlier version of my file opened just fine. But when I tried it this time, opening the Latest Version the Final Draft of all my revisions countless hours of modifications I simply get " An Internal Error Has Occurred" Simple yet effective, no other information or debugging information just an "Error"
    This is what I have done so far:
    I have moved/delete and modified the following:
    1. FW Preference file
    2. Restarted my stupid machine to clear memory.
    3. Moved or deleted the Adobe Fonts that where installed.
    4. Even Ran My Vista with 3gigs of memory in a lower performance setting to hopefully resolve this problem.
    What am I missing besides buying a really great software from a Company that doesn't have time for its customers that keep them in BUSINESS. 
    Seriously, I have NEVER purchased a program that I was ot able to fix nor was not able to get the Vendor to fix. New experience for me.

    Oldhammer wrote:
    P.S.S. I would like to send this file on an open forum like this one. However, I don't think it a wise idea to openly share any web concept openly (bad business). Any other ideas?
    Put your .png on a Web site or document file share (I like drop.io, myself) and then send a link to the file in a PM to Linda, Michel, or me. I'm still using CS3, so I could have a go at separating your pages. (That would be new for me, though, as I don't use the pages feature.)
    Linda is an Adobe Community Professional and Michel and I try to help out when we can. You can look back in the forums for posts by all of us.
    I've been designing sites for...well...years. I have my own styles and ways of working. I might admire your work, but I won't steal your art. When I want to browse other designers' ideas, there are many great (and guilt-free ) places to go, starting with Smashing Magazine and Design Meltdown:
    http://www.smashingmagazine.com/
    http://www.designmeltdown.com/

  • Error 42 occurred at Open Applicatio​n Reference in DynamicDow​nload.vi

    Hi! 
    I want to create an executable from a VI wich calls a dll created by Simulink and Simulation Interface Toolkit.
     After I compile the simulink module with MSVC++ 6.0 in MATLAB,and then use this dll in LabVIEW, 
    the following message appears:
    Error 42 occurred at Open Application Reference in DynamicDownload.vi->SIT_InitEstablishTCPConnection​.vi->SIT Initialize.vi->Untitled.vi
    Returning to Select Host dialog.
    Possible reason(s):
    LabVIEW:  Generic error.
    What should I do to have an executable which works correctly?

    I have the same Problem here with the Error 42 on open application reference.
    Can someone pleas explain what this error means, and what the reasons are for this error?
    I have two exe files, and i am trying to open the application reference of the other exe when i get this error.
    First i thought it has something to do with the .ini file settings, which by the way is nowhere explained...
    here my entries:
    server.tcp.acl="290000000A000000010000001D00000003​000000010000002A10000000030000000000010000000000"
    server.tcp.enabled=TRUE
    server.tcp.port=3360
    server.tcp.serviceName=Image Monitoring
    server.tcp.access=+*,"+*","127.0.0.1","Localhost"
    server.vi.access=+*
    server.vi.callsEnabled=TRUE
    server.vi.propertiesEnabled=TRUE
    server.ole.enabled=TRUE
    server.tcp.paranoid=TRUE
    server.tcp.servic=My Computer/VI Server
    tcpServer.log=TRUE
    tcpServer.logPath=c:\TestStand\Tools\Image Monitoring PC\serverlog.txt
    server.app.propertiesEnabled=TRUE
    if i build a simple exe with call on open applicationr eference it works. but not with my main application,
    so this is why i need to know what causes the Generic Error???
    Is there a possibility that there have to be certain entries in the ini file of the calling exe? and what would those entries be?????????

  • Folio Builder: An error has occurred opening the source file for the article layout.

    I have been working on a Folio. When I sat down to work on my folio, I was instructed by indesign to update my Folio producer tools, which I did.
    Since then I can no longer view any article layout from that folio in indesign. Indeed any folio that I create that does not reside on my desktop give the same problem. I can import articles, add articles and they all upload to the proper place at adobe and I can view them. But I simply cannot open them up through folio builder as I previously.
    The exact error message is as below:
    An error has occurred opening the source file for the article layout.
    The InDesign file for the layout cannot be found.
    Another strange thing that seems to be happening is that the folio will randomly reoder the articles in the folio.
    I have dumped my indesign prefs, tried creating an entirely new project, made a new account and even reinstalled the entire software.
    But the problem of opening an article that I have imported or added to a folio, simply not being found to open has got me stumped. I can't proceed with a major project until I can sort this out.
    Can anyone help.
    Many thanks
    Steve
    The problem initially seemed very similar to the one linked below, but I dont get the content generation error
    http://forums.adobe.com/thread/901804?decorator=print&displayFullThread=true

    Questions about the Adobe Digital Publishing Suite should be posted in the DPS Forum.
    http://forums.adobe.com/community/dps

  • I transfered my iWork '09 to my new Mac Air. Now my Keynote won't open. I get message, "An unexpected error has occurred, please quit and reopen Keynote." This doesn't work.

    I transfered my iWork '09 to my new Mac Air. Now my Keynote won't open. I get message, "An unexpected error has occurred, please quit and reopen Keynote." This doesn't work.

    so Keynote still isnt working after installing, I thought you had it sorted from your last post.
    If you have not done so remove any files relating to iWork and Keynote and reinstall iWork
    files that must go are:
    the iWork ’09 folder from the main HD > Applications;
    the iWork ’09 folder in HD > Library > Application Support
    the individual iWork application plist files found in HD > Users > (your account) > Library >
    There are a number of free application removal tools  that will do this for you:
    trashme       webpage
    apptrap        webpage
    appcleaner   webpage

  • An unknown error has occured - opening file

    Hi, I'm trying to open a few different AI files that I created and saved a few days ago. They are both giving me an "an uknown error has occurred" message and won't let me open them. I've tried restarting and updating illustrator. Any ideas what is wrong? Thanks.

    cskdr,
    It the issue is limited to specific files:
    One thing often tried first is to create a new document and File>Place the corrupted one to see how much may be rescued that way (remember to tick Paste remembers Layers in the Layer palette flyout/dropdown first, and to untick it afterwards).
    Here are some websites where you can see whether it can rescue the file, and if it can, you may pay for a subscription to have it done,
    http://www.recoverytoolbox.com/buy_illustrator.html
    http://markzware.com/adobe-software/fix-illustrator-file-unknown-error-occurred-pdf2dtp-fi le-recovery/
    http://www.illustrator.fixtoolbox.com/
    As far as I remember, the first one is for Win and the one is for Mac, while the third one should be for both.
    Here are a few pages about struggling with it yourself:
    http://daxxter.wordpress.com/2009/04/16/how-to-recover-a-corrupted-illustrator-ai-file/
    http://helpx.adobe.com/illustrator/kb/troubleshoot-damaged-illustrator-files.html
    http://kb2.adobe.com/cps/500/cpsid_50032.html
    http://kb2.adobe.com/cps/500/cpsid_50031.html
    http://helpx.adobe.com/illustrator/kb/enable-content-recovery-mode-illustrator.html
    If the issue applies to all files:
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save curent artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to at least 5 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

Maybe you are looking for

  • Is there a way of excluding Time Machine from drives list?

    Every time I save a file or an application scans the drives on my iMac, the Time Machine drive is included. But because the HDs in the external drive (Iomega) go to sleep between Time Machine back ups, they have to spin up (2 HDs in a RAID setup, so

  • Reformatted disk but nothing appears in Mac OS X Installer

    Hello, Please help. I am stuck in a situation where I have erased the disk on my iBook G3 but the Mac OS 10.2 Installer doesn't recognize any destination disk or volume on the iBook so I can't reinstall the Mac OS. Background: I formerly had Mac OS 1

  • Backspace key is a bit lifted

    Hi I had my HP G61-420CA laptop for a week now, I noticed that my backspace key is not flat with other keys on the keyboard. I'm wondering if it'll hurt the LCD and is there a solution to it. Thank You

  • Charging switches on and off repeatedly

    Hi, I have the following problem: Sometimes when I connect my iphone4S, ipad2 or ipadair with a USB to my MacBook Pro (Jan 2014, OSX Mavericks), it does not charge properly. What happens it that the charging signal seems to appear and immediatly to v

  • TS4027 mainstage 2.2.2 addtional content wont download.

    I have the old Logic 8 and the new mainstage 2.2.2 that was downloaded from the app store recently. I've managed to download all of mainstage apart from the addtional content. Everytime I open Mianstage it asks me if I want to download this but It fr