Add-OdbcDsn giving error code 11

This "should" be simple, yet, here I am. So, I'm just trying to add a 32-bit System DSN, using Add-OdbcDsn as follows:
Add-OdbcDsn'mydb'-DriverName'Pervasive
ODBC Engine Interface'-DsnTypeSystem-Platform32-bit
One would think, nice, and done...but not so. Getting:
Add-OdbcDsn : Driver's ConfigDSN, ConfigDriver, or ConfigTranslator failed (Installer error code: 11).
The driver name is valid. If I do a Get-OdbcDsn - DriverName of the same (copied and pasted to be sure), I get other DSNs that already exist. I am running Powershell ISE as Administrator when I do this. I've searched for this error, and found things such
as already mentioned (invalid driver file or not running as admin), but I can't find anything else.
What am I missing now? :)
Thanks in advance!
mpleaf

I was able to figure this out. There were parameters that the driver was requiring, that I was missing in my dsn. I was looking at vb code that was created for an older version. I had to monkey with it long enough to figure out the property values. I created
one from the UI, that told me what the properties it "wanted" were, then I was able to supply those in my add-odbcdsn command.
All good, and yet more .bat and vb stuff replaced!
mpleaf

Similar Messages

  • NiFgen initialize giving error code -1074135030

    Hi everyone,
    I am trying to use niFgen Initialize.vi and when my vi runs it produces the pop up error along the lines of "Cannot find nijelu.dll" and then throws the error code -1074135030 in the niFgen Initialize vi.  It reads "niFgen Initialize.vi<ERR>Failure loading driver module."  I checked in max and my device reads properly, I have a PXI system using the NI-PXI6133 card.  Labview is version 8.5.  Any ideas? 
    Thanks,
    KC

    Hi KC,
    After searching other customer issues, the best explanation would be a driver installation error.  You said you were using LabVIEW 8.5, but what version of NI-FGEN are you using?  You may need to uninstall and reinstall the driver by going to Add/Remove Programs in your control panel or even download the newest version  of NI-FGEN (2.5) from this link.  There were other errors associated with loading nijelu.dll due to the NI-TClk driver which installs with NI-FGEN.  This again should be fixed by upgrading to a new driver.  Please let me know if this information is helpful!
    Regards,
    Vanessa L.
    Applications Engineer
    National Instruments

  • HT1414 my iphone is frozen and when i am trying to restore the same it is giving error code 21 again and again

    Please help my iphone is frozen and showing only apple sign, after following few tips for web it reached to itunes sign but every time i am trying to restore my iphone it is giving me an error code 21 ???

    If your phone is frozen showing the Apple logo, you need to try to force it into recovery mode to restore it as discussed here:http://support.apple.com/kb/ht1808.  If you're getting error 21, try disabling or troubleshooting your security software (anti-virus, etc.).  This is Apple's discussion on error 21 (copied from http://support.apple.com/kb/TS3694#error21):
    Error 20, 21, 23, 26, 28, 29, 34, 37
    These errors typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.

  • Why is new security update giving error code during download?

    Hi All,
      I am on 10.8.5 and every time I try to download newest update I am receiving "an error has occurred" message.  anyone else have this issue? any fixes?

    What are you trying to download? Are you getting an error code?
    Try resetting the App Store and Clearing Cookies.
    Reset       Learned from Old Toad
    App Store support. There is troubleshooting and a contact link.
    Support

  • Installation failing, giving error code 7, disabled the firewall and anti virus and rebooted the machine. Still getting error code 7. HELP

    Can anybody point me in the right direction to resolve error code 7?

    Try an alternative link and validate with your 24 digit serial number - click here for PSE downloads

  • Board giving error codes for RAM

    I have a Z87-GD65 GAMING board. I am having an issue with running the RAM in DUAL channel. It will running OK with each stick individually installed, but not together. Error codes I'm getting are a 10, followed by 19, and then 55. With just one stick, code is A0. My RAM is Corsair Vengeance Pro Series Red 8GB (2x4GB) DDR3 1600 MHZ (PC3 12800) Desktop Memory CMY8GX3M2A1600C9R.
    This is on the very first boot after everything was installed. no BIOS changes were made.
    Any help would be appreciated.

    Quote
    I didn't have a chance to look at socket. But, I did notice that the 1st two dimm slots don't work, but 3 and 4 do.
    Classic bent CPU socket pin(s) scenario.
    Quote
    I hear that the LGA 1150 socket pins aren't really easy to bend. I placed the CPU in and clammed down. There wasn't really anything I could have done to mess it up. I'm pretty positive of that.
    Unfortunately, not true at all. They are very fragile. A CPU cooler mounted uneven or that has incorrect torque will also cause this behavior.

  • Time Machine giving Error Code -8004

    My machine has been doing weird things for the past few days. (Locking up for no visible reason, losing the bookmarks created, and freezing just to mention a few) I tried to restore using my Time Machine but get Error Code -8004.
    Do I have a virus? If so, where in the heck did it come from. I don't go to any bad websites. Machine has been working weird since I started playing Spider Solataire, on the AARP website.

    kdplatts wrote:
    My machine has been doing weird things for the past few days. (Locking up for no visible reason, losing the bookmarks created, and freezing just to mention a few) I tried to restore using my Time Machine but get Error Code -8004.
    Hi, and welcome to the forums.
    How did you do the restore? Did you do a full system restore, starting from your Install disc? If so see #E8 in [Time Machine - Troubleshooting|http://web.me.com/pondini/Time_Machine/Troubleshooting.html] (or use the link in *User Tips* at the top of this forum).
    If you didn't do a full system restore, what, exactly, did you do?
    Do I have a virus? If so, where in the heck did it come from. I don't go to any bad websites. Machine has been working weird since I started playing Spider Solataire, on the AARP website.
    There are no viruses that run on OSX. None. Zip. Zero.
    There is some "malware," such as Trojans, for Macs, though. But (unlike viruses that can get onto your system without your knowledge), you must approve their installation (via your Admin password) and/or operation (via the "This application was downloaded from the internet ..." prompt).
    Appropriately enough, some of these Trojans are included in pirated versions of Apple software, such as iWork!
    (If you're running Windoze on your Mac, that's the same as running it on a PC, so it needs all the same anti-everything stuff you'd use on a PC.)
    For the gory details, see Thomas Reed's [Mac Virus Guide|http://www.reedcorner.net/guides/macvirus].

  • Itunes application will not open giving error code (-50) after update

    I'm having a bit of a problem with itunes. I'm running windows 7 64-bit and I hope someone could help me. When I finished making some purchases from itunes store over the weekend, I was told that there was an update for itunes. So I updated itunes and now I cannot get into itunes period. Luckly I was able to back up my purchases. When I try to open a movie that I purchased from the backup folder, I get a message that says "The iTunes application could not be opened. You do not have enough access privileges for this operation." or when I try to open itunes running as administrator I get another message "the itunes application could not be opened. An unknown error occurred (-50)." I am the only person using this computer and I have full admin rights. I had tried to download itunes again and even repaired itunes, but it just keeps crashing (B.S.o.D.). My OS is up to date. It also shows that itunes is running in task manager. So I have no idea wt heck is going on. Any help would be thankful.

    I had tried to download itunes again and even repaired itunes, but it just keeps crashing (B.S.o.D.).
    What numerical and text codes are you getting for the BSOD? (For example, 0X0000007E.)
    If the blue screen is referencing a specific file (for example, ati3duag.dll), let us know what the file is called too.

  • Brand New Desktop Giving Error Code - Critical Corruption

    I just bought a HP All in One Touch 21 - 2014 computer. I have had it less than a day, and I just received an error message of "critical structure corruption" randomly, and it shut itself down. Should I take this computer back and receive a replacement? I only have 14 days through Best Buy to do so.  I do not want a new computer that is going to keep having errors. Can anyone help me?
    I have not installed any extra hardware or anything. It came with 8.1 on it, so I did not install that myself.
    Thanks

    Hi,
    You might want to read through this thread for a remedy. Frankly, if the PC runs this way out of the box and HP doesn't have a solution then I would return the PC.
    You can find the HP drivers here.  Try the chipset driver first the reboot and monitor. If that doesn't solve the issue then try the MEI driver.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • I closed Firefox with a lot of open windows. Now it won't fire up and my iMac is giving error code 1712. What can I do?

    I had been on several sites comparing Gas and Electricity prices. When I came out of Firefox I took the option to save the windows. Now I can't fire it up again.

    Might be hardware failure. Take the iPhone to the nearest Apple store
    for evaluation. Make a Genius Bar appointment to avoid delay at the store.
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/

  • Error code 80070005 after cyan update

    After cyan update, I cant sign in microsoft account in my lumia 520. There will be error code 80070005. Help me solve that problem.
    Solved!
    Go to Solution.

    even me also facing this problem plus other installed softwares are also not working and unable to update them from store. Its giving error code : 80070006 for updation. 
    Is there any issue in cyan update? If so, then why these guys rollout this update after so much testing.
    Attachments:
    screenshot.jpg ‏483 KB

  • Getting error code 2324 when installing itunes

    any suggestions ?  started with the auto updater for itunes, now itunes won't reinstall and is giving error code 2324.
    thanks,

    You may have a "cloud drive" backup utility running. I had this same problem. I stopped the Cloud Drive, and re-tried the install, and it worked!

  • Error code 13010 - i-Tunes won't launch!

    Established i-Tunes user on OSX 10.6.3 - out of the blue tonight, i-Tunes won't launch giving error code 13010. Subsequently downloaded 9.1, restarted, still same error code. Any help urgently appreciated!

    try if this user tip helps:
    Jim VanLeeuwen wrote:
    Try removing the Genius database. In the "Finder" go to the /username/Music/iTunes/ folder and delete the "iTunes Library Genius.itdb" file. This may allow the program to launch again. This file will be recreated upon first use of the "Genius" feature.
    JGG

  • Error code 80070005

    When updating windows I get error code 80070005. My research says this is a monitor problem. I have an HP w1907 monitor. So I have tried to reload the driver program from my disk. However when I try this I get and error message saying "An error occurred while installing the display drivers".
    What can I do to fix this problem?  On Shut Down, my computer keeps trying to download the Windows update with no success.

    even me also facing this problem plus other installed softwares are also not working and unable to update them from store. Its giving error code : 80070006 for updation. 
    Is there any issue in cyan update? If so, then why these guys rollout this update after so much testing.
    Attachments:
    screenshot.jpg ‏483 KB

  • HT4061 can not get past error code 3194 tried EVERYTHING!!! HELP

    Please anyone with any helpful info on how to restore a stuck phn giving error code 3194 >>>.>>

    ExciteWalk wrote:
    I can't post the link here cause I'll probably get banned at this point. So help yourself and search rumors elsewhere
    That's not very helpful, why are you here?

Maybe you are looking for

  • Slow Response Sun ONE 6.1 SP3 Win 2003

    My Sun ONE web server is processing my JSP pages very quickly when serving one session at a time. However when there are 4 or more active sessions, it slows right down. Response time goes from 2 seconds (1 active session) to 60 seconds (multiple acti

  • ITunes Quit Unexpectedly (Again..)

    Hello! It seems many people have been having problems with iTunes 10 quitting unexpectedly, as I've been through every topic concerning the issue that could possibly exist. I've deleted the .plist files and moved my iTunes library, neither of which w

  • Replicating the app functionality from OIM 10g to OIM 11gR2

    Hi, I have a resource object with an object form and a process form and approval, provisioning configured in OIM 10g design console. Provisioning is manual provisioning assigned to a particular group based on a task assignment adapter. For replicatin

  • Rep-300: missing right parenthesis

    Hi, after migrating from 6i to 10 g I am getting the above message when I am tryting to generate a report. the main query in the report is as follows: select F.facility_id, F.domestic_registration_nbr, F.field_establishment_nbr, F.primary_business_na

  • How to shift content with in cell in xml rules table

    Hi all scripters, I've created a table using xml rules with 3 nos of cells where first cell contain some data and so on but in next row first cell may of may not contain any data so in that row second cell data shifted to first cell and thired row da