ODBC, 32bit Windows 7 and VBA

I've got a VBA script that works fine with any v10 of the Oracle client on Windows XP.
However, on Windows 7 (Professional, 32 bit, no UAC, running as Administrator), it hangs and locks up the calling program at the objConnection.Close part of the script (after it's successfully connected and inserted the data).
I've tried it with 10.2.0.1, 10.2.0.5 and 11.2.0.1.0
I don't particularly want to keep deploying new PCs with a 10 year old OS on them, but I can't give out more Windows 7 boxes until I get this fixed.
Does anyone have any ideas? Has anyone seen this before?
Thanks,
Gareth

Hi there (unusual user ID you have there...),
Ok, I support a number of MS based legacy 32 bit applications that need to work on Win 7. It was tricky at first. I wish that someone would find a place to post the basic instructions. I have a word document that describes the process in detail (which I gave to our IT department), but will summarize here.
1) I recommend going with Oracle 11g - it works fine on both the XP and Win 7 systems. Yes, I had to get a special approval from our IT, but I simply told them it was this or not having a bunch of staff able to work....
2) Remember that you need to install the 32 bit ODBC drivers if you want to run a 32 bit application - even if the computer is running Win 7 64bit. Also, note that some applications can run in both modes and, if running in 32 bit mode, may require the 32 bit drivers.
3) When you install the 32 bit drivers, use the custom option and check sqlPlus, Oracle ODBC Driver, and Oracle Net (the last so you can configure TNSNames)
4) After you install the 32 bit drivers, the ODBC Administrator that Oracle shows in its menu is the same as you get from the other Windows menus - BUT IT ONLY WORKS WITH 64 BIT DRIVERS.... So you need to create a shortcut and point it to C:\Windows\SysWOW64\odbcad32.exe - which is the 32 Bit version of the ODBC Administrator. There may be some other way to get to it, but I don't know how. Also, there is no easy way to tell if you are running the 32 or 64 bit version other than by looking at where the exe is located. Also, I have no idea why the 32 bit software is in SysWOW64 and the 64 bit software is in System32 (you would think the numbers would be reversed) - so don't ask.
5) If you have installed the ODBC drivers and can't see them when you run the ODBC Administrator, run the other version in case you accidently installed the wrong drivers. They only show up in the ODBC Admin that is the same bit as the drivers.
In my case, after I did this, then all my MS based apps ran just as well on Win 7 or Win XP.
One last thought. If you accidently posted to this forum but do not use ODBC, there are some other tricks I used as well to get my connections to Oracle working (in this case with my .NET apps.)

Similar Messages

  • Oracle 11g ODBC for Windows NT and Windows 95

    Hi
    Please does anyone knows where can I find this ODBC ? Oracle 11g ODBC for Windows NT and Windows 95
    I have test some ODBC from the Oracle page but doesnt work
    Thank you
    J.A.

    I'm thinking no.
    However I did find this which may help :
    http://www.oracle.com/technetwork/database/windows/odbcfaq-128251.pdf
    I did the search for 16 bit in it and found some interesting information.
    The other piece of information I can share is the Oracle 11 client has issues connecting to Oracle 9.
    An Oracle 10 clients might have a better chance, but the catch is finding it.
    The last client I remember working on these OS's was Oracle 8. But I doubt that will connect to Oracle 11.
    Best Regards
    mseberg
    Edited by: mseberg on Aug 14, 2012 6:06 PM
    Later
    I'm not a huge fan of when they move stuff. This spot feels a little like the island of misfit toys.

  • Macbook Pro w/ Boot Camp - Best way to reformat the 32bit Windows 7 and install 64 bit version without affecting the Mac side?

    Hi guys! I have a new Macbook Pro purchased from Best Buy yesterday. I had the Geek Squad upgrade the RAM to 8 gigs (They only had PNY brand, I was concerned but went with it anyway). I had them install Boot Camp Windows 7 Ultimate. Today I picked it up and when I started playing with it I learned that they installed the 32 bit version of Win 7 Ultimate instead of the 64 bit version, why, I have NO IDEA.
    So, I want to replace the Win 7 installation with the 64 bit version but have read that this can be tricky. What is the proper way to do this? I'm not sure I trust the Geek Squad to do this for me.
    I assume I need to reformat the Windows partition, defragment and then install the 64 bit version of Win 7 Ultimate, but am not completely sure. I want to be sure that I do NOT do anything that could affect the Mac side
    What do you guys think?

    yorkeystyl wrote:
    Hi guys! I have a new Macbook Pro purchased from Best Buy yesterday. I had the Geek Squad upgrade the RAM to 8 gigs (They only had PNY brand, I was concerned but went with it anyway). I had them install Boot Camp Windows 7 Ultimate. Today I picked it up and when I started playing with it I learned that they installed the 32 bit version of Win 7 Ultimate instead of the 64 bit version, why, I have NO IDEA.
    So, I want to replace the Win 7 installation with the 64 bit version but have read that this can be tricky. What is the proper way to do this? I'm not sure I trust the Geek Squad to do this for me.
    I assume I need to reformat the Windows partition, defragment and then install the 64 bit version of Win 7 Ultimate, but am not completely sure. I want to be sure that I do NOT do anything that could affect the Mac side
    What do you guys think?
    I think you should take it back to the Geeks and tell them what you want, I also think you should backup before you do.
    You do not need to reformat or repartition, you need to reinstall Windows from a 64bit copy, 32 & 64 have identical requirements as far as partition and format go, defragmenting has nothing at all to do with your needs.

  • 32bit Windows 7 and error message shown on Satellite T series

    Help needed for this computer dummy.
    I started to install 64 bit windows 7 then clicked cancel midway through, after I realised that perhaps this might require too much RAM.
    Now getting persistent error message (F3- F200-0002). What should I do? (need explicit instructions as relatively inept)

    It is really stupid situation now.
    As far as I know this notebook has no optical disc drive so for OS installation you must try to use HDD image.
    Try again to install it using F8 at start-up.
    If this will not work I am afraid you have destroyed recovery image and only solution for you is to order new one under https://backupmedia.toshiba.eu/landing.aspx
    You can install it if you connect external USB optical disc drive.

  • 32bit windows client PC not able to print from TS server 2008 64bit

    I had a HP M1216NFH printer install at branch office. The branch user will need to remote connect to Terminal Server to access the stock program and print the order back to M1216NFH printer. But none of the branch user are able to print remotely.
    The Terminal Server is running on Windows Server 2008 R2 Standard 64bit version, and all the branch users are using 32bit Windows 7 and XP version. The printer redirection is created during remote session, and user is able to select the printer to print, but is nothing come out from the printer.
    I had install x86 printer driver, but is still not working. Server is auto using remote desktop easy print driver when printer redirection in remote session.
    I did try connect branch user PC to another Terminal Server running on WIndows Server 2003 R2 Standard 32bit version, and tested is no problem to print.
    Can anyone guide me what is the step that i was miss out for Windows Server 64bit configuration in order to allow 32bit windows client to print?
    Thank you.

    I believe the only way to print client side from a web app would be to use the ActiveX print control off of the viewer (disregarding the ugly way of using the browsers print button).
    If there is another way I am sure someone will correct me

  • Have recently installed windows 7 32bit operating system and it won't allow me to install iTunes, help??

    Have recently installed windows 7 32bit operating system and it won't allow me to install iTunes, help??

    Let's try the following document with that one:
    iTunes: Windows reports that "iTunesSetup.exe is not a valid Win32 application"

  • Windows 2000 and ODBC errors

    I received "ODBC call failed" errors with client machines running Windows 2000 and Oracle 7.3.4 or 8.1.5 or 8.1.6, though I have used the same setup procedure with Windows 95 and Windows 98 and those Oracle releases without problems.
    Are there any known problems with Oracle 7.3.4, 8.1.5 or 8.1.6 running on client machines with Windows 2000? If so, are there workarounds for this problem?
    null

    Double-check the 8.1.6 release notes, but I don't believe any of those releases are certified on a Win2000 machine. I believe you need 8.1.7.
    Justin

  • Windows Vista and Nokia PC Suite

    Hi
    I have a problem with compatibility of nokia pc suite , it doesnt work on Windows Vista , and i have to install some apps to my phone through usb cabel because i havent bluetooth card in my pc ( Is it any version for Windows Vista ? I didnt find it on czech nokia official web sites Message Edited by doom4 on 11-Mar-2007
    01:59 PM

    11-Mar-2007
    01:58 PM
    doom4 wrote:
    Hi
    I have a problem with compatibility of nokia pc suite , it doesnt work on Windows Vista , and i have to install some apps to my phone through usb cabel because i havent bluetooth card in my pc ( Is it any version for Windows Vista ? I didnt find it on czech nokia official web sites Message Edited by doom4 on 11-Mar-2007
    01:59 PM
    What version of Vista do you have? 32bit or 64bit? I have a 32bit Vista Ultimate and PC Suite works fine.
    Nokia N73 v 4.0735.3.0.2 RM 133

  • Windows Vista and Framework 4.5.1 compatibility with TLSv1.2

    Windows Vista OS by default does not come with TLSv1.1 and TLSv1.2. However the support is offered by installing .NET Framework 4.5.1.
    I have a c# Winforms application using .NET Framework 4.5.1. I use ServicePointManager to default the TLS level to TLSv1.2. This works fine on Windows 7 and above.
    Running my app gives the following error:
    Type : System.ComponentModel.Win32Exception, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
     Message : The client and server cannot communicate, because they do not possess a common algorithm
     Source : System
     Help link :
     NativeErrorCode : -2146893007
     ErrorCode : -2147467259
     Data : System.Collections.ListDictionaryInternal
     TargetSite : System.Net.SafeFreeCredentials AcquireCredentialsHandle(System.Net.SSPIInterface, System.String, System.Net.CredentialUse, System.Net.SecureCredential)
     HResult : -2147467259
     Stack Trace :    at System.Net.SSPIWrapper.AcquireCredentialsHandle(SSPIInterface SecModule, String package, CredentialUse intent, SecureCredential scc)
        at System.Net.Security.SecureChannel.AcquireCredentialsHandle(CredentialUse credUsage, SecureCredential& secureCredential)
        at System.Net.Security.SecureChannel.AcquireClientCredentials(Byte[]& thumbPrint)
        at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
        at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
        at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
        at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
        at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
        at System.Net.TlsStream.CallProcessAuthentication(Object state)
        at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
        at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
        at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
        at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
        at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
        at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
        at System.Net.ConnectStream.WriteHeaders(Boolean async)
    Is there a fixpack orsomething i need to install?
    I am using Windows Vista Business 32bit Service Pack 2.
    Thanks for the help

    Those two updates went away. The update history does not show them having succeeded in installing. They are just gone. But a new .Net update shows up in Windows Update: KB2858725. It also fails to install with error code 641.
    I tried running it manually (I'm trying to paste the whole file name here, but all that shows up is ENU.exe. Seriously!? What the fuck!?) and that fails. "Installation did not succeed. .Net framework 4.5.1 has not been installed because: the windows
    installer service could not be accessed." A dialog comes up that has a link to a log file, but clicking it does nothing.
    I tried following the suggestions in
    http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/need-to-reinstall-windows-installer-in-windows-7/4cb8e54c-5a4e-439d-9d46-1dcd387d2604
    I tried running sfc /scannow. It returned message:
    Beginning system scan.  This process will take some time.
    Beginning verification phase of system scan.
    Verification 18% complete.
    Windows Resource Protection could not perform the requested operation.
    The other changes didn't apply except unregistering and reregistering the Windows Installer. None of that made any difference.
    Today, an update to Windows Activation Technologies showed up: KB971033. I tried to install that and it says that it succeeded.
    KB2858725 still fails.
    Here's a link to the part of my WindowsUpdate.log file after I tried to run the update of KB2858725 once again from Windows Update:
    https://onedrive.live.com/redir?resid=6C4435A4094C794E!251&authkey=!AFGBKgKlV8eTFiE&ithint=file%2c.log

  • Windows vista and problem with association .swf files

    I have win vista 32bit. Downloaded and install adobe flash player from adobe site. I have some file with .swf extension but can not get to work with adobe flash player 10.1r52. Ii can asociated ths type of file with adobe flash player. Where is the adobe flash player after installation_in which folder? Confused. Help.

    Hi, The Flash files are at C:\Windows\System32\Macromed\Flash
    Also, if you used IE to Install Flash Player, then in Tools, Manage add ons you also need the Shockwave Flash Object,
    the ActiveX Control and it must be Enabled. This is Installed when Flash Player is Installed.
    If you are using Firefox or another non-IE browser, then in the plugins, there will be a SWF (version number of Flash Player) and it must be Enabled.
    Hope this helps,
    eidnolb

  • PB slow down on windows 7 and above?

    So i have a PB classic application that is on 12.5 running on windows 7.  What looks like is happening is we have seen a general across the board slow down in all processes vs when it was running on XP.
    It looks like the application is doing a lot of I/O to a few different registry settings:
    located in
    HKCU\control panel\international\
    I don't have any place in the code that is doing this. So i am guessing that PB is doing it?
    It looks like for some reason the I/O is getting interrupted every few seconds in windows 7 vs what it was doing in XP we think that is creating a slow down.
    Does anyone know why this registry setting is being read? Or how to stop it?
    Maybe if anyone knows why windows 7 and windows XP run the same PB process with the same data at two different speeds?

    If your Windows 7 is x64 edition you have to consider that your application it's 10-15% slower than in 32bit environment. This overhead it's due to the operative system that emulate 32 bit application in 64bit environment.
    I've find that compile in W2003 32 bit it's faster than W7 64bit with a better hardware...
    Bye
    Giorgio

  • InstantClient_11_2 error installing/uninstalling odbc for Windows 7 64 bit

    I have read other posting about similar issues but I haven't seen a resolution. So here it goes...
    OS: Windows 7 Pro 64 bit
    InstantClient 11_2
    Installed as Administrator
    Added/Modified environmental variables
    Good tsnames files (pulled from my XP system)
    First install, I could not see the ODBC driver on the system. YES, I have checked the two different WOW areas - the ODBC driver is not in either. I checked both Registries and it is not there.
    So, I uninstall the ODBC driver (using cmd and going to the directory). I get the following error "Some error occured while deleting the registry key".
    I then tried the install ODBC again and got the following error: "Oracle ODBC Driver with same already exists"
    I've looked at HKEY_LOCAL_MACHINE\Software\WOW6423node and HKEY_LOCAL_MACHINE\Software\ODBC and the Oracle driver is not there.
    Help... where else would it be and if it is loaded correctly, why wouldn't I see it on the drop down?
    Thank you!

    Well, I thought having my user in the Administrator group was good enough but not so... I enabled the built in Administrator account and then ran the odbc_install and what do you know.. it worked. Now on to see if I can connect.
    Hope this helps someone else with Windows 7.

  • Windows 7 and classpnp.sys safe mode loop.

    Hello,
    First of all this is an outline to the system I am running.
    Acer Aspire X1800
    Brought as a Windows Vista Home Premium 32bit, has now been upgraded to the equivalent in Windows 7.
    Intel® Core™2 Quad processor
    NVIDIA® GeForce® 7100 and nForce® 630i
    4 GB of DDR2 667/800 MHz SDRAM (single-channel support on two DIMMs)
    Serial ATA hard disk 1 TB
    AMI PnP BIOS compatible with SMBIOS 2.4
    PCI Express® 2.0 x16 slot
    PCI Express® 2.0 x1 slot
    Integrated NVIDIA® GeForce® 7100 graphics solution
    PCI Express® 2.0 x16 graphics card support (low-profile)
    I have been running Windows 7 now for some time a month or two and have no problems until now. I wanted to put my computer into safe mode so I can install the second disc of Fallout 3 Game of the year Edition. Frist of all I restarted the computer and used the F8 trick which did not work. The computer just booted into regular old Windows 7. So then I went through the msconfig way of things.
    Now it is important to note that I had this problem when installing Fallout 3 on the same machine but running Vista. However the computer managed to "fix" it self back then.
    The computer loads through all the drivers until it gets to C:\windows\system32\drivers\classpnp.sys
    It stops loading here and tries to go into safe mode. The computer then comes up with a message saying entering Windows safe mode (or words to that effect) and lists some of the system details. The screen then changes to a blank screen with a mouse cursor in the middle of it. The computer then shuts down and begins to restart itself. It has gone into a infinite loop of restarts.
    Ideas I have tried.
    Pressing F8 brings up the boot menu, i have tried all options available in that. Nothing worked.
    Interrupting the start up with a fake power cut. This resulted in the computer showing two options. Start Windows normally and start Windows recovery. Neither worked.
    I have tried renaming the problem file C:\windows\system32\drivers\classpnp.sys to C:\windows\system32\drivers\classpnp.old
    This resulted in the computer loading until the next value C:\windows\system32\drivers\disk.sys The computer then did all the usual loading. However before restarting the it showed the dreaded blue screen of death. It was over before i could see the error message that it contained.
    I have tried resetting to a prior system date. this does not work either.
    Other than that I have not been able to get into windows or anything else. The reason I am able to post this is a have access to another computer for the mean time.
    Any ideas on this would very appreciated
    Cheers
    *EDIT*
    Because the computer is Acer it should have a working E Recovery on it. However i can't remember if i deleted this or not. Will try using the hidden partition in the near future. This will most likely send me back to Vista but its a risk I am willing to take at this stage.

    Hello Limbix
    Thank you for your initial problem and the follow-up discussion on such a conundrum of a problem. As evidenced by the number of hits under Google for "Windows 7 boot sequence classpnp.sys" and 0 fixes, this problem is systematic of this OS. As
    such, this is a ticking time bomb waiting for the most inopportune time to strike.
    Furthmore, this problem has been known since RC1 of Windows 7. The problem still persists and there is no known remediation method.
    KB 925810 is a unique solution when the OS is healthy. When this phenomena occurs, KB 925810 is a hoax for Laptop users and systems purchased from a vendor without a hardcopy of the OS media. For Home builts with a purchased hardcopy of the OS, KB 925810
    is the option. But the option is to reinstall as opposed to a repair.
    Using Ubuntu, to effect change by replacing CLASSPNP.SYS with a 6.1.7600.16385 version has produced mixed results. In addition, the method of downloading any file is fraught with problems of possible infection or worse yet a trojan. This essentially
    leaves Option 2 and 4 as the SOP for this OS failure mode on laptops.
    Problem:
    New Toshiba A500 i7 with 8 Gig - Windows 7 Professional (Business)
    A series of three critical patches were deployed to this machine at 9:30 pm on 5/26/2010 from Windows Update.  At 6:30 am 5/27/2010, the machine was discovered to have restarted and was stuck at the Starting Windows logo. Here were
    the initial steps taken to remediate the problem.
    Step 1. CTRL-ALT-DEL was used multiple times to restart the machine.
    Results: The machine did not restart.
    Step 2. Power recycled the machine.  Windows 7 offered to Launch Windows Repair on the OS. The repair was selected and completed with a request to restart.
    Results: The machine stops at the Starting Windows logo. Still stuck.
    Step 3. Restarted the machine through a power recycle. Pressed F8, selected last known good and restarted.
    Results:  The machine stops at the Starting Windows logo. Still stuck.
    Step 4. Restarted the machine through a power recycle. Pressed F8, selected Advanced options.
    Results: No options were available.
    Step 5. Restarted the machine through a power recycle. Pressed F8, selected Boot loggin and restarted.
    Results: The machine stops at the Starting Windows logo. Still stuck.
    Step 6. Restarted the machine through a power recycle. Pressed F8, selected Safe Mode with Networking.
    Results: The machine's last entry for the loading list was on
    CLASSPNP.SYS and hung up.
    Step 7. Began researching for the Windows 7 boot loading list for the before and after sequences to see if CLASSPNP.SYS was the culprit.
    Results: Found this discussion and many more. Spent too much time researching for a solution. Most ended in silence.
    Step 8. Considered taking the STATA drive and putting into an external enclosure.
    Results: Did not take this step as the machine is under warranty. It was purchased in April, 2010.
    Step 9. Going back over the Google research, discussion
    http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/64a52415-f9aa-448e-b79c-f4d9d27836c3 has Moderator Tim Quan MSFT stating that
    "To obtain the phone numbers for specific technology request, please refer to the website listed below:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS"
    This support site will take a user to a list of vendors. The Toshiba link was selected. The link is the Toshiba home page. The Support link was
    selected and a direct call was made to Toshiba at 7:30 am on 5/27/2010. A Toshiba case was opened. All 9 steps were presented to the support person and as directed the machine was put into a Factory reset mode.
    Results: The machine has completed rebuilding as of 11:11 am 5/27/2010. Windows update patching is continuing the assult to be "secure".
    Comments: One thing is certain, to be secure in one sense is have a machine in an inoperable state. However business cannot operate in an inoperable state. Neither
    can a business operate in an insecure state. So, to receive an OS patch which causes the machine to be inoperable, has the quest to be secure been reduced to inoperability?
    Suggestion: This problem needs more eyes and a better tracking method.
    1. Is this a vendor issue, e.g. Motherboard, Memory, Hardware?
         1a. Is this lot specific?
         2a. Is there a driver mismatch?
    2. Is this a process/sequence issue?
    3. Is there a recovery process other than "Scorched earth"?
    Sincerely,
    John
    risc of KY 

  • Install windows 8 64bit on 64bit architecture tablet(acer iconia w4-820) by removing the preloaded 32bit windows 8.1 or dual boot

    Hi,
    I need to install windows 8 64bit on a 64bit architecture Tablet(acer iconia w4-820) by removing the preloaded 32bit windows 8.1 or should make it as dual boot. For a project purpose.
    I tried booting the tablet from windows 8 64bit DVD for installation but it does't even detect the DVD Drive. when i insert the recovery DVD which came with acer it gets detected. 
    The windows 8 64bit DVD which am trying to install is volume licensed which we use to install on our laptops. That works fine with Laptops.
    Is their any different version of windows 8 do i need to try for installing on Tablet(acer iconia w4-820) or where am i going wrong.
    Thank for your help. 

    SM
    DISCLAIMER.  I would contact Acer about this to be safe, but if you only have one HD in the tablet you are going to have to do a clean install by formatting the HD.  You cant run 64 bit & 32 bit on the same drive AFAIK.
    Wanikiya and Dyami--Team Zigzag

  • My ipad cannot syc with itunes on my windows 7 and stops working with a problem name of BEX can some help please?

    i have tried re installing itunes several times but this keeps happening.

    You maybe have to know which bit you're downloading if you have 32bit windows 7 try downloading from http://www.filehorse.com/download-itunes-32/
    And if you're 64bit windows 7 try downloading from http://www.filehorse.com/download-itunes-64/

Maybe you are looking for