Creating and Editing .udl files in 64-bit Windows

I have not done any database work since 64-bit Windows was released. Things have changed and I lost a few hours trying to troubleshoot database connectivity. If someone else runs into the same issues, hopefully this post will save them some time.
In trying to to examine the LabVIEW example database and UDL file:
C:\Program Files (x86)\National Instruments\LabVIEW 2010\examples\database\LabVIEW.mdb
and
C:\Program Files (x86)\National Instruments\LabVIEW 2010\examples\database\LabVIEW.udl
I copied them to a new location and found out that simply double-clicking on the UDL to view how it is configured results in an error: "Provider cannot be found. Ensure that the provider has been installed properly." This should normally bring up a UDL properties dialog/utility.
The reason for this error is that 32-bit and 64-bit OLE DB providers are carried separately in 64-bit Windows installation (even if you are using 32 bit LabVIEW).
To view and test the UDL's configuration using the windows tool, you'll need to open up a command box, and paste this text to run the 32-bit version of the ODBC Data Source Administrator:
C:\Windows\syswow64\rundll32.exe "C:\Program Files (x86)\Common Files\System\Ole DB\oledb32.dll",OpenDSLFile C:\Program Files (x86)\National Instruments\LabVIEW 2010\examples\database\LabVIEW.udl
Change the path to your own UDL file. It is advised NOT to modify the original LabVIEW example UDL. Just exit the properties dialog without making changes if you open up the utility on the LabVIEW original.
This trick can be helpful if you want to use a copy of the example LabVIEW database in your own application for testing or troubleshooting. Simply copy the database and the .udl file to a new location (rename both if desired), then edit the .udl copy as necessary (modify the paste-text above as needed for the new file's location).
This will also allow you to connect the new UDL to a different 32-bit OLE provider using the UDL "Data Link Properties" utility provided within the Windoze O/S.
This trick may also be necessary if you have installed OLE providers in 32-bit mode you wish to use and cannot find the providers using the normal 64-bit ODBC Data Source Administrator that is launched by default.
References:
Create a New UDL File (MSDN)
Edit a 32-bit UDL (MSDN)
Windows KB Article on 32/64 bit ODBC

I seem to have fixed the issue...
I used C:\Windows\SysWOW64\odbcad32.exe to create a file DSN, then created a new database with that DSN. I then imported the data from my other database and that seems to work correctly.
Hope this helps someone else.

Similar Messages

  • Creating and Edit Order in Web Dynpro (seperate window or view?)

    Hi,
    I have just done with Web order creation in web dynpro and is going to start on Edit now. Should I have a seperate window for Edit or should I put it together in the same window as Create order?

    Hi Jackson,
    Most of the time for such kind of requirements it is generally prefer to have a seperate view for edit and that is being called using the plugs from the main screen.
    The flow will be like this:
    View 1 (main View having data, Fieds for editing are disabled)  -
    > Fires Plug to Edit view -
    > Edit View ( With all fields enabled which you want for editing).
    In kind of a design the main advantage is, you can directly keep the required nodes in the component controller and map these nodes in main view and edit view, both. Without even caring for any data flow.
    Data flow will be automatically be taken care by the component controller. The only one thing which needs to be handled is the UI elements enable and disable property. Because in the case of the main view you need to keep the disbale property of most of the UI element as True (as you don want user to edit anythign in this main view). In the edit view the disable property of same UI elements will be set to False, as used can edit any thing in this edit view.
    If you keep this kind pf approach one more added advantage is that you can pass various parameters in the plug function. So if you want to handle something on the bases of sone flag etc then you can pass those parameters in the plug method.
    However, as replied earlier, the decision is purely based upon your requirement. If the requirement is to show the edit screen as a Pop-up then you can help it!! Go with it..
    I hope this will solve your issue. Please revert back if you need any other information.
    Thanks and Regards
    Pravesh

  • How to create and edit a .ini file using java

    Hi All...
    Pls help me in creating and editing an .ini file using java...
    thanks in advance
    Regards,
    sathya

    Let's assume the ini file is a mapping type storage (key=value) so lets use Properties object. (works with java 1.4 & up)
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.util.Properties;
    public class Test {
         private static Properties props;
         public static void main(String[] args) throws IOException {
              File file = new File("test.ini");//This is out ini file
              props = new Properties();//Create the properties object
              read(file);//Read the ini file
              //Once we've populated the Properties object. set/add a property using the setProperty() method.
              props.setProperty("testing", "value");
              write(file);//Write to ini file
         public static void read(File file) throws IOException {
              FileInputStream fis = new FileInputStream(file);//Create a FileInputStream
              props.load(fis);//load the ini to the Properties file
              fis.close();//close
         public static void write(File file) throws IOException {
              FileOutputStream fos = new FileOutputStream(file);//Create a FileOutputStream
              props.store(fos, "");//write the Properties object values to our ini file
              fos.close();//close
    }

  • Can I hide the Adobe Reader panel with "Export, Create and Edit PDF and Send and Store Files"? I don't use it and it takes up space

    Can I hide the Adobe Reader panel with "Export, Create and Edit PDF and Send and Store Files"? I don't use it and it takes up space

    If you just mean, can I close it, sure. In Reader XI click the Tools button to close or reopen it.

  • Create and edit a PDF file

    Hi,
    Still very new on the Mac - how do I create and edit a pdf file on my iMac?
    Thanks for any info.

    Creating a PDF is really simple. From any application choose the print command (Command P) and in the lower left of the box you will see PDF, click PDF and then choose what you want to do. It will look similar to:
    For editing PDF files you can do some basic annotation editing using the Preview app which you will find in your Applications folder. However if you want to do more sophisticated editing then you will need to purchase an editor from the Mac App Store. Open the store type PDF Editor in the search field and you will find quite a few to choose from ranging from $2.99 to $99.99 depending on your needs.

  • "Your bootable USB drive could not be created" "Boot Camp only supports 64-bit Windows installation on this platform. Please use an ISO file for 64-bit Windows installation."

    I try to install windows7 system on my macbook air, which version is 10.8.5. When I open the bootcamp, it let me to choose a windows ISO image, which I've already downloaded from this website: http://www.w7forums.com/threads/official-windows-7-sp1-iso-image-downloads.12325 /, it also asked me to select a USB drive, which is kingston that has 8GB. Then when I clicked "continue", it said that "Your bootable USB drive could not be created" "Boot Camp only supports 64-bit Windows installation on this platform. Please use an ISO file for 64-bit Windows installation." But actually the ISO image I downloaded is 64-bit windows7. I don't know why this would happen. Could someone help me please!!

    Thanks for your feedbakc Kiranjj!
    I identified the reason to be that the W8 installation file didn't download completely from a Mac OS-device. I downloaded from another Win-device and the moved the installation file with a USB-stick and then everything worked diectly! But thanks anyway.

  • How can I exchange my pc created documents on Excel, Word, and PowerPoint with my mac and my Pages, Numbers and Keynote created content with my pc?  I need to create and edit between both.

    How can I exchange my pc created documents on Excel, Word, and PowerPoint with my mac and my Pages, Numbers and Keynote created content with my pc?  I need to create and edit and exchange between both types of operating systems.

    Your Windows system will not open any Pages, Numbers or Keynote documents. No applications exist for Windows that can open those formats. You will need to export your documents in Word, Excel and PowerPoint formats, respectively, before you'll be able to view and edit the documents on your Windows system. The iWork documents can natively open Word, Excel and PP documents, though there are limitations on what can be imported (for instance, Numbers does not support all possible Excel functions). Consult the documentation for the relevant iWork application for details on importing and exporting.
    If you are asking how to get the documents from one system to the other, then there are several ways to do that, including file sharing, using an external drive (hard drive, USB flash drive), or emailing the documents to yourself. Which would be best for your situation I can't say without more details about your usage.
    Regarsd.

  • How to create and save a file in flex web application ?

    Hi,
          I want to create and save a file form flex web application. Is it possible ?
    I have done some googling and found that its only possible through file referece, which needs some serverside implementation be called.
    Is it not possible with file reference to create and save file directly ?
    Can any one suggest how to over come this.
    Thanks in advance.

    Alex,
    code written with the Flex Builder 3 libraries will certainly run in Flash Player 10. However, what you need is not so much the capabilities of FP10 but the library functionalities of the Flex 4 package. And I think that Flex 4 code will only run in FP10 and not 9 (but haven't tested this as at work we have not yet been permitted to upgrade, so there is not a lot of point going for Flex 4!).
    Richard

  • Opening and editing .pub files

    Can anybody tell me if there is any way to open and edit .pub files without converting them into PDF's???

    Hi, not that I can find, but besides PDF, perhaps as MS .doc using this method?
    http://www.maketecheasier.com/open-mark-up-pub-file-on-mac/2011/04/11

  • Mark up and edit PDF files?

    You advertised to me that you could provide a product that enabled one to mark up and edit PDF files.  I spent hours trying to download it, install it and run it, hours and hours and hours of bitter frustration. Time and time again I had to agree to this, register that, click on this, scroll down to find that, install something, else, update something else, wait for this to run, wait again for the next thing to run, and then find something else in a something file, close this, open that, stop this, tell us what f===ing browser your'e using (Chrome) start that, verify this, confirm that, choose a f==== password, choose another f===== password because that one is not right, choose yet another f=====g password because it's the wrong shade of pink, choose a f======= userrname,  and in the end, nothing worked, Nothing changed, I still cannot edit or mark up any Adobe Acrobat files. Every time you open a file like this it pesters you to download updates and this is just a f====== nightrmare,  I have wasted hours when I could have been working and your product did not work or make any difference. I still don't know if you have to pay but if you do I resent you hiding that until the end. I accepted a supposedly free 30-day trial but that is not enough time to get the f====== product to download  install and work.
    Why did you advertise this?
    You started this situation by advertising a product and sending a pop-up. All it caused was huge waste of my time and effort.
    You are like a girl who stands on a street corner saying "Wanna hooker?" then when someone says "Yes" he is expected to produce his birth certificate, passport, health insurance card, Green card, national insurance card, baptismal certificate, take her out to dinner, take her out to dinner again because that wasnn't good enough,  register his name and credit card details, undergo an international credit check , choose five f===== passwiords, undergo a DNA test and marry her grandmother. Then she says "I've got a headache."
    It;s just not f=====ing worth it!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Well we have no idea what you tried to do to install the trial version. There may have been a fundamental error in your process, but unless you let us know what was happening, we can't help. As for Adobe, we don't try to defend them, but try to provide help where we can.
    Sorry you ran into frustration. The package does a lot of things, but for you the trial would have been ideal to see what worked like you expected and what did not. A lot of people expect all sorts of things out of Acrobat that are not possible, thinking it is like a word processor. It is not like that, but a PDF is more like an electronic version of a piece of paper. Modifications are typically a pain, just as it is with paper.
    Over the years a lot of features have been added. The markup is OK, but some of the functions continue to be clunky. The forms is a major contribution to a standard PDF. The OCR feature is useful for scanned files. So there are many features. Reader is basically that, a Reader. It generally allows the completion of forms and possibly submission electronically (depends on the creation process).
    If you want to try again (assuming the trial period has not run out), then let us help. When you do the install, you need to be sure you log in as the administrator (on Windows) and disable anti-virus. There may also be an issue of the compatibility of the trial version and your OS (you never mentioned). So there are possible fixes that might be able to help you play with the trial.

  • Creating and parsing LDIF file

    Hi,
    Does JNDI provide any libraries to create and parse LDIF files by performing an ldap search?.
    thanks in advance

    My guess would be that when you created the war file the internal paths were incorrect. Open the war file using WinZIp and check the file paths. They should be relative to the web application directory (ie prj.java should have the file path "WEB-INF/classses")
    As an added thought you may want to put your servlet file into packages.

  • How to create and sign CAB files info on Supplement Option

    To all Supplement Option subscribers:
    At the supplement option for iDevelopment Accelerators, I uploaded a zip with detailed info on how to create and sign CAB files (necessary when you are running your application on the Native IE Java Virtual Machine).
    Not all functionality provided to you through JInitiator will work (e.g. WebUtil doesn't) but the way how to make and sign a CAB file will become more easy.
    Cheers,
    Marc Vahsen
    Headstart Team

    This defeats the purpose of trying to centralize SAP-related web resources on the SAP server. Typically IIS/Apache or other non-SAP servers are under the control of IT and not the SAP BASIS group.
    We simply would like to have a centralized location to store static web files so that they are not overwritten during Portal support pack applications.

  • How to create and read text file using LabVIEW 7.1 PDA module?

    How to create and read text file using LabVIEW 7.1 PDA module? I can not create a text file and read it.
    I attach my code here.
    Attachments:
    File_IO.vi ‏82 KB

    Well my acquisition code runs perfect. The problem is reading it. I can't seem to read my data no matter what I do. My data gets saved as a string using the array to string vi but I've read that the string to array vi (which I need to convert back to array to read my data) does not work on the pda. I'm using version 8.0. So I was trying to modify the program posted in this discussion so that it would save data from my DAQ. I did that but I still can't read the data after its saved. I really don't know what else to do. All I need to do is read the data on the pda itself. I can't understand why I'm having such a hard time doing that. I found a possible solution on another discussion that talks about parsing the strings because of the bug in the "string to array" vi. However, that lead me to another problem because for some reason, the array indicators or graphs don't function on the pda. When i build the program to the pda or emulator, the array indicators are faded out on the front panel as if the function is not valid. Does this kind of help give a better picture of what I'm trying to do. Simply read data back. Thanks.

  • How to create and edit anomalous tables in DIAdem? Such as the example list.

    How to create and edit anomalous tables in DIAdem?
    Can the tables  be edited as in MS Word?
    帖子被yangafreet在08-21-2007 10:28 PM时编辑过了
    Attachments:
    table example.doc ‏26 KB

    Hi yangafreet,
    There is no way I know of to create a DIAdem table that looks like the table in your Word document.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • BAdI for RMWB u2013 Create and Edit recipes

    Hi Gurus,
    I am looking for BAdI or User Exit - RMWB u2013 Create and Edit recipes .
    My scenario is somethng like:
    Need to specify with the logic in order to execute the check on the recipes before they are being transformed, i.e. method has to get triggered when system status in the Recipe is to be changed from In-Process (ISTATUS = u201CI6000u201D) to Processing closed/Completed (ISTATUS = u201CI6001u201D) or Released (ISTATUS = u201CI6003u201D)
    Please suggest any.
    Many Thanks,
    Madan

    Hi Roland,
    Thank you !!
    I can use the method "CHECK_STATUS_CHANGE", it is indeed getting triggered.
    Although I have a query regarding the usage of the same method.
    When I go ahead and create new custom implementation, i need to de-activate the existing standard implementation - IMPL_RCP_VAL_CHECK and activate the newly created custom implementation.
    When I do that the code inside the standard method - CHECK_STATUS_CHANGE will be gone (since i will be using the custom implementation and adding my code inside the method).
    So can you please suggest how to do the Impact analysis on this one.
    Many Thanks,
    Madan

Maybe you are looking for

  • I can take Oblique/Bold of of my text in pages 5.1

    Hello, I have been trying to type up a movie script (movie scripts involve having to switch between bold/oblique/regular all the time) and once I got to a certain paragraph and tried to change back to regular from bold but it didn't work. I tried usi

  • Hints how to get a report for "number of active threads over time", e.g.?

    Hi there, We drive a number of WLS setups monitored using Grid Control 11g, and due to the usual economic aspects up to four WLS domains on a single system. To track the development of the load for each single domain we would like to have a report fo

  • How to send a text message reminder of a calendar appointment through iCloud?

    We use iCloud calendar for patient bookings in our Physio clinic. I've been told you can set up reminder messages to be sent as a text message (synced with contacts) through iCloud but have not been able to work out how to do this. If anyone has any

  • Ver 1.4.1 "Unknown error" + refusal to export to external editor.

    I have encountered the following and have sent a 'BUG' report to Adobe concerning it, as follows. ******BUG****** An "An Unknown error has occurred" report has appeared on many photos. It is then not possible to export these to an external editor (in

  • Calendar Date Range

    Is there a way to get the calendar portlet to display a date range? IE if there is a week long event, show the event on each day, not just the first day of the event. I know by default it can't but maybe someone has a query out there to pull it off.