Problem of security using ADO from Labview to connect to Access 2000 Data Base

I have a problem using ADO from Labview to connect to Access 2000 Data Base.
First I open a ADO_DB_Engine and create a Workspace as an ODBCDirect. After I execute the open_data_base using the workspace. Here you can specify the parameter connect with /type of connection / user / password.
The problem is the following:
Although you configure a password for the Administrator user in Access, you can read/writte to data base from Labview using ADO without any security and without putting the user and password in the parameter connect. I need to access with security to data base using users and permissions but it seems that the parameter connect does not operate.
I attach
you a example of the vis and database. Remember create a ODBC connect with BD3.mdb
Thanks a lot
Peter Mst
Attachments:
SECURITY.zip ‏70 KB
BD3.mdb ‏112 KB

Hi Kahn,
If you use ADODB_connection -> Connection.Open and set in connection string :
"Provider=Microsoft.Jet.OLEDB.4.0; Jet OLEDBystem Database=c:\.....\Protegida5.mdw; Password=pepe;user ID=jose; Data Source:c:\......\BD5.mdb";
and after connection.execute ->
INSERT INTO tabla1 VALUES (5,'XXX'
you will be able to access to the database with security using the provider=Microsoft.Jet.OLEDB.4.0. With this provider you have to use the path and the name of the database file c:\.....\mdb file. From this way the problem is solved. (SEE SAMPLE_ADO_W2_JET.VI).
BD5.mdb have the following administrator user: user:jose / passwordepe (Protegida5.mdw)
The problem is when you want to
use ODBC and DSN. The name of this ODBC Provider is MSDASQL;. If you use this type of connection you can not enter to the database I attach you.
This database has a new administrator owner. I deleted the default administrator. If you support the default administrator you can connect to database by ODBC / DSN but the security disappear because you can always enter to database with any password, user o PC.
FINALLY I HAVE 3 QUESTIONS FOR Application Engineers of National Instruments or someone who knows these subjects before deciding the best way to connect locally o remotely with security to Access from Labview:
1.- Is it possible to enter to Database BD5.mdb from ODBC and DSN with this owner?
2.- I want to connect remotely to Access database too. Is it possible to use Microsoft.Jet.OLEDB.4.0 using the path (.mdb file) without DSN?
3. Which is the optimal Provider for Microsoft Access?
I thank you beforehand for your technical support.
Peter Mst.
Attachments:
BD5.mdb ‏116 KB
Protegida5.mdw ‏112 KB
sample_ADO_W2_JET.vi ‏45 KB

Similar Messages

  • Problems with project when switched from Labview 8.2.1 to Labview 10

    Hi everyone,
    I recently switched from Labview 8.2.1 to Labview 10.
    Before I can run the project I get the error which you can see in the attachment.
    (The project is running well in Labview 8.2.1)
    I did already check if variables end with a space, but none of them are.
    The variables are also without any slashes, so that couldn't be the problem either.
    Does anybody has any idea what the problem can be, please let me know.
    I hope to hear from some of you soon.
    Regards,
    Kenny
    Attachments:
    Error Labview 10.JPG ‏19 KB

    Your other post in the other thread indicates you've looked at that thread. Based on that have you checked your variable names to see if any of them are multi-line? The error message is basically telling you that you have illegal characters. A carriage return (\r) or a new line (\n) is an illegal character.

  • How to freeze and unfreeze panes in window by using Excel from LabVIEW

    Hello
    I am creating an Excel Report file programmatically using LabVIEW. I make the row headers for the sheet and store data using the program.
    The requirement that i need is that when the user opens the Excel sheet, the row heading should remain fixed at top, as the sheet is scrolled down by the user.
    This is possible in Excel, by clicking on Window in the menu bar and then select Freeze panes/Unfreeze panes. The same operation i need, to be done from LabVIEW. Please let me know how this can be done.
    I use LabVIEW 2009
    Thank you.
    Solved!
    Go to Solution.

    Please see this discussion. TCPlomp has an example of how to achieve this.
    Cory K

  • Can't connect to Access 2007 data with password using OLEDB

    Hi there,
    I am seeing the below error when trying to Connect to Access 2007 with password using Crystal XI or Crystal 2008, when using the OLEDB to connection Access data.
    Logon failed
    Details: DAO Error Code: 0xd0f
    Source: DAO.Workspace
    Description: Unrecognised database format 'path to database\crs project database.aaadb
    Get though when I use Access 2007 without password setup.
    Many Thanks for any one can help.
    Daphne Li

    Hi Daphne,
    Crystal can only use the top level password. If you have a system password I don't believe that will work, never has.
    Thank you
    Don

  • Can't search photos using more than one word.  Ruined ability to data base

    I've spent hundreds of hours cataloging my photos by keywords and image titles and created a data base that is critical to my business. After installing iPhoto 11 I can no longer search using multiple words. This has made my data base useless. The "Faces" and "Places" fields will not help because those are not part of the search criteria. Is there a way to make this work? If not how do I go back to the old version of iPhoto?
    thanks for your help!

    How were you searching previously? Adding both keywords and title text to the search box? Why can't a smart album do the trick?
    You might consider using a DAM (digital asset management) application like Expression Media. It's a professional grade image management app that can be searched for any combination of keywords, description text, title text, etc.
    Click to view full size
    You can learn about EM and the other pro DAM apps at the The DAM Forum. I strongly suggest you consider a more robust DAM app for your professional work.

  • How to access Oracle Data Base on Unix using Visual Basic ?

    Hi !
    I want to use visual basic and access the Oracle Data Base on Unix server. How can i do that ? Do i need any software?
    .Prashant

    You need an oracle client installation and setup your TNS names.

  • I am having problems setting the gain programatically from Labview 6, using the Hardware Config vi, for a PCI6110E DAQ board.

    NB: This has also been posted to High Speed Digitizers forum.
    Changing the "gain" (part of the "alternate input limits" cluster) appears to affect the group settings, but when I pass a signal outside the supposed new voltage range, the signal doesn't clip as I would expect. This doesn't happen when I use MAX (where clipping is clearly visible), but unfortunately that is not an acceptable long-term solution. Any thoughts? I am only using allowable gain settings for the 6110E.
    Additionally, I am saving my data in hsdl format, and to get the actual true voltage from the binary numbers (after uncompressing and converting back to standard binar
    y format) I need to multiply the final number by the gain. Should this be correct? I thought the "scale multiplier" (part of "group settings cluster") compensated for "gain", but it doesn't seem to do so. Is this part of the same problem?

    Thanks Spencer. I do call Hardware Config.vi in several different places, so maybe its the multiple calls that is stuffing things up. I will investigate further.
    As for the multiplier, which bit sounds correct? The fact that I have to multiply by the gain, or that it should take this into account automatically and therefore not have to muliply by the gain (which is what the default hsdl code does). What do you do to convert from binary to real?
    Thanks for your help,
    Jo

  • Problems, trying to use backup from 5.1.1 iOS Gen 3 iPod does not sync music to 4th gen iOS 6 iPod.

    My 3rd Gen iPod's headphone connector is basically shot, I've had it for around if not over two years now; sometimes I'm surprised it lasted this long; since I am not one who usually listens to her music without headphones, this is problematic, .
    Luckily, a family memberI know had a gen 4 iPod, 32g, same space amount as my old one, lying around that they don't use anymore, thank goodness.
    Well, in one case, not so much. First of all, said iPod was locked with a passcode (the passcode was guessed so many times because no one could remember it, it locked permenantly) so I had to completely wipe it. However, it wasn't so bad, though all the information was lost, I could finally use iOS 6 on an iPod.
    Well, iOS turned out to be a huge problem, in the way of synicing my old backup. I have about, um, an estimated 3000 songs on my 3rd gen iPod, that of which are not all on one computer, and are from multiple computers (my desktop / laptop); I thought all the songs would transfer over with the rest of my things. I didn't think the iOS made a difference.
    Lo and behold, I was dead wrong.
    When my iPod was restored to my previous backup, it had no music, only my pictures and apps were added. I'd call 'it annoyed me' an understatement. I waited all that time for the ipod to restore and the backup to finish, only to get my one hundered pictures and two apps.
    I have tried to look up how to extract music from my iPod, but to no avail, my computer recognizes it as a camera and I can only access the picture files; the way I read you have to do it online, you must be able to actually get into the iPod's folders, besides the picture folders, and I can't seem to do that; there was an option in earlier versions of iTunes that allowed the iPod device to be displayed as something other than a camera but it no longer seems to be an option in the new iTunes.
    All the programs for extracting files, specialized for iPod file extraction, actually, cost money, which at the moment, I don't have much of, this iPod was given to me by a family member, and I'm lucky I even have it. Manual extraction is also something I've tried but failed miserably at, as mentioned earlier.
    I'm really not up for re-synching one by one, I want this to be as quick and painless as possible. I have the available GB for my 3000 songs (I checked). Most of my songs are mp3s, and some are m4as. Not everything is bought, and not everything is going to be able to be downloaded through iCloud on account of the fact that there are, uh, over 2GB worth of songs, so does anyone have any solutions to my problem here? I have over 50gb in my desktop library alone, loads more in my laptop library, and I really don't feel like separating all the songs from my previous iPod into a single playlist, if there's a more efficient, free solution out there....
    This would not have been a problem in the first place, if the passcode was not there; but blame the previous owner of the 4th gen iPod for that. She typed it so many times it locked her out. And so, I had to reset, but not without an automatic update for iOS 6, which my gen3 can't update to, because it's, well, outdated.

    Connect the iPod to your computer and update to iOS 6.1.3. You need iTunes 10.7 or later on the computer.
    iOS 4: Updating your device to iOS 5 or later

  • Using Fieldpoint from Labview RT on a PXI System

    I have a PXI system with Labview RT (PXI 8186 controller with LVRT ver 7.1).
    I wanted to connect a FP remote I/O system to this controller. The Fieldpoint system I have has a FP-1000 RS-232 Network module.
    I was hoping to be able to connect the FP-1000 to the serial port of the PXI-8186, and use the standard Fieldpoint VIs to write/read data (as you would from a Windows-based Labview app).
    It doesn't seem to be that easy, trying to download any code with a Fieldpoint VI down to my RT target gives an error ("failed to load shared library FPLVMgr.dll on RT target device"). Looking through MAX I see that Fieldpoint drivers are not loaded on the RT target, and there is no option to load them there either.
    So: Ho
    w do I control my Fieldpoint units from my PXI System using Labview RT?
    Any help would be much appreciated.
    Thanks,
    Ravid

    Hi, Ravid.
    Effectively, under LabVIEW RT, you cannot use the standard FieldPoint VIs to communicate to a FieldPoint module, since they are not supported. If you have a serial module, like the FP-1000 or FP-1001, you need to use Optomux commands to interface and communicate to it. You can find great examples on how to do the communication in the Example Finder of LabVIEW >> Hardware Input and Output >> FieldPoint >> Optomux >> and use any of the examples that use VISA to communicate to the modules. To run the examples, first target LabVIEW to your 8186 and open the example. Before running it, match the baud rate and address specified in your FP-1000 with the controls in the Front Panel. Also, verify that you have either an alias defined for COM1, or use AS
    RL::INSTR1 for the VISA resource name. You will need to have VISA RT installed on your RT Target to be able to run this examples.
    You can find the Optomux commands in LabVIEW under the Advanced FieldPoint palette. For more information on Optomux commands, you can take a look at the FP-1000/1001 Programmer Reference Manual
    Let me know if you have further questions. I hope this helps!
    Gustavo Valdes
    Applications Engineer

  • Read Locals (using ParallelModel) from LabVIEW

    Hi
    I'm trying to read Locals from a ParallelModel execution using LabVIEW.
    I thought this might work:
    ThisContext.Thread.GetSequenceContext(1).Locals."NameOfLocal", but it did't work
    Any suggestions?
    regards
    Richard

    Hi,
    You need to used the Execution reference for the TestSocket.
    Get a reference to the Thread and use Thread.GetSequenceContext() to get a reference to the SequenceContext.
    Get a PropertyObject from the SequenceContext using SequenceContext.AsPropertyObject() then you can use the GetVal or SetVal methods.
    Hope this helps
    Regards
    Ray
    Regards
    Ray Farmer

  • Problems with the installati​on of LabVIEW 6.1 on Windows 2000!

    Windows 2000 crashes while installing LabVIEW 6.1, and the computer is unusable after the installation!

    This also happened to me. Hopefully you are attempting to run LabView on a dedicated computer. Ours had "issues" with some of the other software we were running. Here's what we did: We re-imaged the computer (backed up everything and re-loaded the OS). Computer has been up and running excellent ever since. There was a lot of useless software originally on it, we took it all off. If you are able, only run what you need on it. Also, we have found that LabVIEW 6 runs strangely on computers with less than 128 MB of RAM. Our project computer currently has 320 MB of RAM (and 40 GB HD) and it runs perfectly.
    Hope this helps. If you have a specific error code, let me know. Otherwise, from what you have posted, I believe this is the answer.

  • Is there any query i can use to monitor Users tried to log on to data base

    is there any way to know the users tried to log on to data base
    is this possible
    if user entered user name and wrong password 4 times for example
    is there a table or something let me know that for example
    HR tried 4 times to log into data base

    Hi,
    You can go for Auditing.
    http://www.securityfocus.com/infocus/1689
    http://toolkit.rdbms-insight.com/oracle_auditing_nroshak.ppt
    - Pavan Kumar N

  • How to read multiple lines from an external file to the Oracle data base

    Hi Guys,
    I have an external file which contains multiple lines and I want to read it to the data base .I have done it for the file if it contains one line.
    Please guide me how to retrieve all the lines into the data base.And also tell me how Oracle will come to know the end of the line in the file
    Thanks,
    Prafulla

    Hi,
    try this
    CREATE TABLE ab
    a VARCHAR2(1 BYTE),
    b VARCHAR2(2 BYTE),
    c VARCHAR2(10 BYTE),
    d VARCHAR2(11 BYTE)
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY dir_name
    ACCESS PARAMETERS
    ( records delimited by newline
    fields (
    a POSITION(*) CHAR(1),
    b POSITION(*) CHAR(2 ),
    c POSITION(*) CHAR(10 ),
    d POSITION(*) CHAR(11 )
    LOCATION (dir_name:'filename.txt')
    REJECT LIMIT UNLIMITED
    NOPARALLEL
    NOMONITORING;
    Regards,
    Simma....

  • How to create a table in MS Access from Labview using ActiveX?

    I want to transfer datas from Labview to Access using activeX method. My only problem is to find out how to create a new table (array) in Access from the Labview program.
    Remarks: I use Labview 6i and MS Access 2000.
    For the moment I can write and read datas of Access from Labview.
    If someone could help me... that would be grate!

    This is off the Microsoft MSDN site "creating an external table". I think you can drop the last step.:
    Open the database you want to create the table in. If it is the current database, use the CurrentDb function to return an object variable that represents the current database. If it isn�t the current database, use the OpenDatabase method to open the database you want.
    Use the CurrentDb function to create a Database object that points to the current database.
    Use the CreateTableDef method of the Database object to create a table definition for the Microsoft Access table.
    Use the CreateField method of the TableDef object to create one or more fields in the Microsoft Access table.
    Use the Append method of the Fields collection to add the new field or fields t
    o the Microsoft Access table.
    Use the Append method of the TableDefs collection to create the Microsoft Access table.
    Use the TransferDatabase method to create the external table in the specified folder.
    Use the Delete method of the TableDefs collection to delete the Microsoft Access table definition.

  • Missing functionality if storing TDSM from LabVIEW

    In DIAdem File Browser window is selected a file from DIAdem 11.0 Examples directory. File FFT_Expl_1 has icon with „tree pictogram“ and „tree pictogram“ can be expanded to see content of file (Time, Oscillation), bellow of File Browser is displayed many file properties. Anyway these properties are not displayed in DataPortal area?!? See picture 1.
    Pict. 1
    If I click on the file content in tree hiearchy channel Oscillation I can see properties for this channel and small graph with the signal preview. See picture 2.
    Pict. 2
    To make my own data I have used examples from LabVIEW 8.6. One of these is on the picture 3 TDMS - Express write data (time and frequency domain).vi.
    Pict. 3
    Every time I create TDMS data from LabVIEW 8.6 (it doesn’t matter which example I use) I see in DIAdem File Browser instead of tree icon the question mark icon?!? The question mark icon cannot be expanded by clicking on it?!? Also the amount of Shown properties is significantly lower in comparison with DIADem example files. Also no signal preview is displayed?!? How to proceed with LabVIEW and TDMS function to have possibilities of DIAdem example files?
    Screenshots are in attached DOC file. 
    Please help
    Bilik
    Solved!
    Go to Solution.
    Attachments:
    TDMS problems 2.doc ‏289 KB

    Hello bilik,
    Thank you for the great description of your problem, the Word document with the screen shots really helps with the troubleshooting.
    It looks to me as if you haven't indexed the directory where your TDMS files are stored. The "?" icon indicates that the file is not indexed. If a file is not indexed, only a subset of the properties are shown in the dialogs.
    The easiest way to solve this issue is to index the directory that contains you data files (your directory icons are grey, they should be yellow). This can be done by going to the directory (or subdirectory) in the DIAdem NAVIGATOR window, and right clocking on the directory name. From the context menu, select the function "Add Search Area ..." - your directory will then be transferred to the Search Areas part of the NAVIGATOR and all the TDMS files will be indexed. At the point the files will show all the properties and the "?" will disappear.
    Let me know if that helped,
         Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

Maybe you are looking for

  • Downloading music from a cd to iphone4

    I would appreciate help in the above topic, also how do I import music from other sources to i tunes site thanks

  • How do you change the time zone/time on the iPod nano (6th generation)?

    Hello, I recently moved to a new city in another time zone and I am not able to figure out (or find out on forums) how to change the time on my 6th gen iPod nano. It's something I would like to fix because the Fitness application records your activit

  • COMM API problem

    Hello there I am hoping you can help me with following. I am trying to transfer files from one computer to another using a serial port and hence I am using the communications api. I have gotten so many errors on the problem. I have followed the infor

  • Passing username and password through the URL (SharePoint integration)

    Dear friends I have a requirement to integrate MS SharePoint with Jsp application site. user has to login to the Sharepoint first then from link (URL) i want to pass the username and password from that link to login into the jsp site without showing

  • CRW supported? JUST sort of. Depends on the camera

    Apple's page about Aperture's specs in http://www.apple.com/aperture/specs.html broadly states support for the following RAW formats: "CRW, NEF, TIF, CR2, OLY, DNG" Just so it is stated somewhere (which Apple should BTW), I will say it here. CRW is n