Unable to create DSN using SQLConfigDataSource on windows 64bit

Hi all,
I have a 32bit application that needs to be ported and installed on to 64bit Win2k3 server.
During installation of the product, Install script is failing to create a DSN using SQLConfigDataSource API on 64bit windows2k3 server.
I installed 32 bit Oracle client(10.2) on the 64bit m/c, despite this, I am getting an error "ORA-12154: TNS:could not resolve the connect identifier specified, Driver's SQLSetConnectAttr failed"
But when I invoke odbcad32.exe from "C:\windows\syswow64\", I am able to see all 32bit drivers and I am able to create the DSN and Test the connection successfully to a 64bit ORACLE 10g DB installed on the same m/c. I am even able to connect to the same database from the COMMAND PROMPT through the command "sqlplus" with same credentials and SID.
Based on observations from the debug, I feel the Installer is picking up odbcad32.exe from "C:\windows\system32\" folder. Hence what I did was, I copied the 32 bit odbcad32.exe from "c:\windows\syswow64" folder into the above folder. At this juncture, the product Installer was able to create the DSN, but it is still failing to TEST the connection successfully and my Installer quits giving the above error.
Can somebody help me out in this regard, about how I can overcome this problem. Is there something that I am missing ?
Thanks in advance for your help.
Regards,
Murali.

Thanks for your prompt reply.
If I access the SQLPLUS from the below 3 locations and connect through the same user credentials(test/test@orcl) and same SID, the connections are successful.
C:\oracle\product\10.2.0\db_1\BIN\sqlplusw.exe(64 bit DB server)
C:\oracle\product\10.2.0\client_1\BIN\sqlplusw.exe(64 bit Client)
C:\oracle\product\10.2.0\client_2\BIN\sqlplusw.exe(32 bit Client)
The TNSNAMES.ORA file in all the below 3 locations have the same content !!
C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN (64 bit DB server)
C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN (64 bit Client)
C:\oracle\product\10.2.0\client_2\NETWORK\ADMIN (32 bit Client)
Hence my concern turned over to the error details which point to " Driver's SQLSetConnectAttr failed".
When I debugged my code, I could see the SQLConfigDataSource() is getting called with params (NULL, "ODBC_ADD_SYS_DSN", "Oracle in OraClient10g_home2", "DSN=DSNTemp;UID=test;PWD=test")
The above values suggest, Oracle 32bit driver is used to create the above TEMP DSN. I think my setup's runtime is picking up 64bit ODBC DATA SOURCE ADMINISTRATOR from "C:\windows\odbcad32.exe" by default, which cannot find the specified 32 bit driver !!
Do you think my assumption is valid/true ? If so, how can I make my SETUP's runtime to pick up 32 bit ODBC DSA from "C:\windows\syswow64\odbcad32.exe"?
Can you suggest me what might create the above error(Driver's SQLSetConnectAttr failed). Do you think there is some problem with the Connection string ?
Thanks for you help,
Murali

Similar Messages

  • I am unable to create pdf using adobe printer to a redirected folder on a server running windows server 2003

    I am unable to create pdf using adobe printer to a redirected folder on a server running windows server 2003

    In the app-server-ant.xml file, as indiacted in the error message i am getting, at line 145 it is suppose to get the path to \bin\asadmin.bat from the value of a paramater called 'asadmin'. This value is being set in the beginning of the file.
    The parameter value of 'asadmin' is further referring to value of another parameter called 'javaee.home' which is being set in tut-install/javaeetutorial5/examples/bp-project/build.properties
    I have checked the values of both these parameters and they are set correctly, so since it is still giving me problems, at line 145 i hard coded the path instead of the parameter name:
    I replaced line
    <exec executable="${asadmin}" failonerror="${failonerror}" dir="${javaee.home}">
    with
    <exec executable="c:/sun/appserver/bin/asadmin.bat" failonerror="${failonerror}" dir="${javaee.home}">
    This works.

  • Unable to create delivery using ADSUBCON

    Hi Gurus,
    I am unable to create delivery using ADSUBCON transaction for the PO which has material with different Order Unit. My base unit of measure is EA where as the Order unit is Roll. If I delete the order unit system allows me to create delivery where the PO.
    Why the system does not allow me to create the delivery when the order unit is different than base unit of measure.
    Thanks in advance,
    Shashidhar
    Edited by: Shashidhar on Jan 29, 2011 5:19 AM

    HI,
    Its already been  maintained.
    Shashi

  • Unable to create a catalog file for Windows 10 Enterprise (9926) using latest ADK

    Has anyone successfully created a catalog file for Windows 10 Ent. Preview build 9926? Ii get persistent failures attempting to do so. Log output is below and any hint would be greatly appreciated.
    7:20 AM : This application requires version 6.3.9600.16384 of the Windows ADK.
    Install this version to correct the problem
    7:33 AM :
    7:33 AM : Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical Reference' in the Windows ADK User's Guide.
    7:33 AM :
    7:33 AM : System.ComponentModel.Win32Exception (0x80004005): Unknown error (0xc1420117)
    Server stack trace:
       at Microsoft.ComponentStudio.ComponentPlatformInterface.WimImageInfo.PostCreateCatalog()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.CatalogCreatorImpl.CreateCatalog(OfflineImageInfo offlineImageInfo)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.ICatalogCreator.CreateCatalog(OfflineImageInfo offlineImageInfo)
       at Microsoft.ComponentStudio.CatalogGenerator.CreateCat(ProgressDialog pd, Object o)

    Hello,
    The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
    As the question is off topic here, I am moving it to the
    Where is the Forum... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • REP-0118 Unable to create a temporary file in "Windows 7 "

    We are using Report Builder Version 6.0.8.24.0 and Windows7 32 bit operating system, here
    While Running a Report through form i am getting this below
    error.
    REP-0118 Unable to create a temporary file*
    But while running the same report in a windows 98 or windowsXp PC
    i dont get this error.
    What might be the problem.
    pls advice the solution....
    thanks in Advance...
    Stalin...

    try this..
    REP-118: Unable to create a temporary file.
    Case 1: The environment variable that determines in what directory to create temporary files is set to an invalid directory.
    Case 2: There is not enough free space on the disk to create the temporary file.
    Case 3: A temporary file that cannot be modified already exist
    In regedit under branch hkey_local_machine/software/oracle/<oracle home> 
    I have changed the variable REPORTS_TMP. I changed the value for this to c:\reports_tmp
    or you can use something like this where you want Oracle reports to create temp files. Hope this helps

  • Possible Solution - Unable to create a secure connection in Windows 7

    Issue: I was unable to create a secure connection to the iTunes store from iTunes, and got a message recommending I check my date and time settings. My date, time, and time zone settings were correct, and iTunes was allowed through Windows firewall. I had no other connection issues.
    Affects: iTunes Store on Windows 7, and possibly Windows Vista, when running Windows Firewall
    Solution: In the Windows Firewall exceptions page (Allow a program through Windows Firewall), there were two entries for iTunes. One allowed iTunes through my private network, and the other through public networks. After I deleted the entry that allowed public networks, I was able to connect. If you have tried everything else and still can't connect to the iTunes store, make sure there is only one entry for iTunes in Windows Firewall.

    try this..
    REP-118: Unable to create a temporary file.
    Case 1: The environment variable that determines in what directory to create temporary files is set to an invalid directory.
    Case 2: There is not enough free space on the disk to create the temporary file.
    Case 3: A temporary file that cannot be modified already exist
    In regedit under branch hkey_local_machine/software/oracle/<oracle home> 
    I have changed the variable REPORTS_TMP. I changed the value for this to c:\reports_tmp
    or you can use something like this where you want Oracle reports to create temp files. Hope this helps

  • Unable to create JVM using JNI

    Hai,
    I am new to java programming. I am trying to invoke native application using JVM. I have a written a pilot code in C using JNI. I am getting the following error when I try to run the binary. I think that the problem is from the fact that 1.2.2 is installed in
    /usr/bin directory (and is the default on the server). But I have set both
    LD_LIBRARY_PATH, PATH and path
    so that it points out 1.4.2. Here is the error
    unable to create JVM
    There was an error trying to initialize the HPI library.
    Please check your installation, HotSpot does not work correctly
    when installed in the JDK 1.2 Solaris Production Release, or
    with any JDK 1.1.x release.
    while building the binary I am using JDK1.4.1 header and lib files
    These are my compilation arguments
    g++ -g -I/opt/BES/jdk/jdk1.4.1/include/ -I/opt/BES/jdk/jdk1.4.1/include/solaris/ -L/opt/BES/jdk/jdk1.4.1/jre/lib/sparc/ -ljvm -ljava jniTest.C
    Help Needed
    Thanks
    Sunil

    I haven't seen this before. Could it be a disk space issue?
    Are you using JDevStudio or JDevStudioBase? And do you have your JAVA_HOME set? If you are using JDevStudio, try running JDev in a command window where JAVA_HOME is not set - I'm pretty sure JDev does NOT get confused about this but I haven't done extensive testing.
    Also you should try deleting and unzipping JDev again.
    Finally, search the JDev TP forum - there are some discussions there about this error and you may find an answer to your specific configuration - it doesn't seem to be a TP4 specific issue.
    JDeveloper and OC4J 11g Technology Preview
    Heidi.

  • Cannot create DSN using ODBC Driver 8.1.5

    I was able to create new DSNs using Oracle ODBC Driver 8.1.5 and linked Access tables. But all of a sudden (yes, without any reason, I was not downloading anything at that time) , I got ODBC-Call Failed. And when I tried to reopen (browse) the linked table, a message saying -
    One of the library files needed to run this application cannot be found.
    Then I realized that I cannot configure existing DSNs using Oracle ODBC Driver 8.1.5. I trid to create a new one. But after I selected the Oracle ODBC Driver, it did not bring me to the screen to set up DSN, and just went back to the same ODBC Datasource Administrator window.
    I tried to use SQL Plus to connect to the Oracle server and it worked. But when I tried the ODBCtest, I got the same message with more details -
    SQLSTATE: IM003, Native Error Code: 160, Driver Message: Specified Driver could ont be loaded due to system error 1114. (Oracle ODBC Driver).
    I tried to follow the 'help' hint but nothing's working. I reinstalled the ODBC driver, and even downloaded the MDAC 2.6 that appeared in one old discussion topic, but still have problems.
    Was it something suddenly crashed? Could someone please help? (p.s. I am using win98). Thanks!

    What version of the mfc42*.dll's do you have in your system directory?
    Justin

  • Unable to create DC using software component

    Hi,
    I have created Software component, and later downloaded track into my NWDS but while I am trying to create DC using above Software Component which is in gray out.
    The software component does not support the selected development component type. At least one required DC is not visible.
    I am working on CE7.2,  NWDS v7.2 SP04 PAT0008
    Please let me know how to fix the issue. Appreciate your quick response.
    Thanks in advance.
    cheers
    dev

    Hi Dev,
    Please check required dependancy for the software component which you have created for CE7.2 track and make entries in the Name reservation for custom development. Once you modify then stop/start SLD server. then in the landscape configurator, do the update CMS.
    Please check all the required parameters in CMS are updated properly and you have checkin and imported component in checkin and development tab repestively in transport studio.
    Best Regards,
    Arun Jaiswal
    Edited by: Ervin Szolke on May 17, 2011 3:23 PM

  • Unable to create WebService using Wizard

    XML experts,
    I am following the 'How to...Send XML Data to BW' guide.  In Step 26, for BW 3.5, I start to create WebService using SE37 and use the Wizard.  I go thru all the steps as follows:
    Virtual Inteface:  Myservice
    Short Description:  Myservice
    Endpoint Type:  Function Module
    Check  Name Mapping box
    Function Module:  /BI0/QI6ASENDXMLDATATOBW_RFC
    Name:  Myservice
    Short Description:  Myservice
    Profile:  Basic Authorization: SOAP Pro
    If you select Complete, the following objects are created in the Object Navigator:
    The virtual interface Mydemo
    The Web service Mydemo
    The address of the Web service is default_host/sap/bc/srt/rfc/sap/Mydemo
    In addition, the Web service definition is released for the SOAP runtime.
    To find the address of the Web service, use the transaction WSCONFIG, which supports you when you publish a Web service in the UDDI.
    WHEN I PRESS COMPLETE, I get a message 'Object can only be created in SAP Package'.  I SELECT OK and get the CREATE OBJECT DIRECTORY ENTRY popup for entering package info for transport.
    <b>Question:  Is this normal?  I tried local object ($tmp) and ZBIW, but it does not take it.  Says, test object cannot be created in foreign namespaces.  What do I need to do to bypass this?</b>
    Thanks a lot!!

    Hi
    <a href="/people/baris.buyuktanir2/blog/2007/02/12/how-to-create-dynamic-configurable-web-services-easily-with-netweaver-development-components-part-i 1</a>
    <a href="/people/baris.buyuktanir2/blog/2007/02/12/how-to-create-dynamic-configurable-web-services-easily-with-netweaver-development-components-part-ii 2</a>
    Regards
    Abhijith Ys

  • Unable to create DSN on win2k

    I am using oracle 8i and creating a dsn on windows2000. when I tested the dsn through ODBC Test Source it does't work.But if I create the dsn on windows98 for the same database it runs successfully.Please someone let me know what could be the possible cause.I checked the nt.rgs file but unable to trace the versioning of sql*net.
    thanx
    Rajender Anand

    Thanks for your prompt reply.
    If I access the SQLPLUS from the below 3 locations and connect through the same user credentials(test/test@orcl) and same SID, the connections are successful.
    C:\oracle\product\10.2.0\db_1\BIN\sqlplusw.exe(64 bit DB server)
    C:\oracle\product\10.2.0\client_1\BIN\sqlplusw.exe(64 bit Client)
    C:\oracle\product\10.2.0\client_2\BIN\sqlplusw.exe(32 bit Client)
    The TNSNAMES.ORA file in all the below 3 locations have the same content !!
    C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN (64 bit DB server)
    C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN (64 bit Client)
    C:\oracle\product\10.2.0\client_2\NETWORK\ADMIN (32 bit Client)
    Hence my concern turned over to the error details which point to " Driver's SQLSetConnectAttr failed".
    When I debugged my code, I could see the SQLConfigDataSource() is getting called with params (NULL, "ODBC_ADD_SYS_DSN", "Oracle in OraClient10g_home2", "DSN=DSNTemp;UID=test;PWD=test")
    The above values suggest, Oracle 32bit driver is used to create the above TEMP DSN. I think my setup's runtime is picking up 64bit ODBC DATA SOURCE ADMINISTRATOR from "C:\windows\odbcad32.exe" by default, which cannot find the specified 32 bit driver !!
    Do you think my assumption is valid/true ? If so, how can I make my SETUP's runtime to pick up 32 bit ODBC DSA from "C:\windows\syswow64\odbcad32.exe"?
    Can you suggest me what might create the above error(Driver's SQLSetConnectAttr failed). Do you think there is some problem with the Connection string ?
    Thanks for you help,
    Murali

  • Unable to Deploy Software using GPO in Windows Server 2012

    Dear Microsoft Team,
    When I tried to deploy a software using GPO its giving an error -Add operation failed. Unable to extract deployment information from the package. Run validation on the package to ensure that the package is correct

    Hi Subin,
    I agree with Prabhu that the software package you deploy via group policy needs to in the format of .msi. The company or developer who produces the application provides the Windows Installer package .msi file and includes it with the application.
    If a Windows Installer package does not come with an application, you might need to create a Windows Installer package by using a third-party tool.
    Best regards,
    Frank Shen 

  • Unable to download itunes using firefox on windows 7

    I'm using windows 7 and when I click the download link on http://www.apple.com/itunes/download/ it brings up the prompt to save and I click save but there is no download performed - the file does not exist and is not listed in the "Downloads" drop down option.
    Apple assumes it's downloaded http://www.apple.com/confirm/itunes/thankyou.html and states "Now that you’ve downloaded iTunes, you’re just a few steps away from starting a digital entertainment collection and enjoying it on your Mac, PC, iPad, iPhone, or iPod."
    HELLO the download did not occur.
    Most site will offer a link that states - if your download did not begin click here and have a means to start it again but not Apple they are sure it's done.
    Any one out there know what's wrong with the download page or a way to get iTunes from another source on apple's site?
    -edit moments later
    That "thankyou.html" page loading before the end of me clicking save and selecting where it's saving was causing the download to not initiate properly
    I saved it as quickly as I could and surprisingly the download succeeded to begin.
    Apple website developers should be notified of that error/behavior so it can be fixed - simply don't load the thankyou.html page until the install is completed maybe

    See my response in the I am unable to download iTunes with Windows XP using firefox?  I am told it's a binary file and tells me to "save" it.  Once downloaded it does not open up.  Anyone have any ideas why? thread.

  • Odbcad32.exe errors when creating DSN using 9i client and 9.02.00.65

    Hi,
    I am about at the end of my rope. I have a brand new Windows xp sp2 machine. I have tried installing, uninstalling deleteing all registry keys, deleting directories, installing the full 92010NT_CLT then installing just the run time, then installing different ODBC drivers - from 9.018 - through 9.2.065 - I have been through the message that I needed a newerr version of the OUI etc etc, I finally found a thread that led me to to ODAC92070 which then I installed - geez!
    ALL these configurations resulted in ODBC crashing when creating a DSN! weak! In just about every situation that I had the patience to test TOAD it worked fine - however from the command line SQLPLUS would crash too when connecting - even the MS Driver works sort of - in most situations. What in the world do I need to do to get the ODBC Administrator to not crash when creating an Oracle DSN.
    Thanks
    Jerry

    Hi,
    I am about at the end of my rope. I have a brand new Windows xp sp2 machine. I have tried installing, uninstalling deleteing all registry keys, deleting directories, installing the full 92010NT_CLT then installing just the run time, then installing different ODBC drivers - from 9.018 - through 9.2.065 - I have been through the message that I needed a newerr version of the OUI etc etc, I finally found a thread that led me to to ODAC92070 which then I installed - geez!
    ALL these configurations resulted in ODBC crashing when creating a DSN! weak! In just about every situation that I had the patience to test TOAD it worked fine - however from the command line SQLPLUS would crash too when connecting - even the MS Driver works sort of - in most situations. What in the world do I need to do to get the ODBC Administrator to not crash when creating an Oracle DSN.
    Thanks
    Jerry

  • Create pdf using 16 bit windows application

    Hi
    Just installed a new PC with Vista Ultimate and the Web Premium CS3 suite.
    In my printers control panel I have listed Adobe pdf as an available
    printer.
    This works fine except for one program that uses the 16 bit wow exec. When I tell it to print to the default windows printer it works OK but when I
    change the default to adobepdf- it appears nothing happens. There are no
    error messages.
    If I install "primopdf" the free version and set that as my default printer
    the 16 bit program creates a pdf file normally.
    Is this an acrobat problem or one relating to my accounts package? if the
    latter then why does primo pdf work ok
    Any ideas anyone?
    thanks
    Ian

    well make sure you have Service Pack 1 installed and make acrobat is at 8.1.2. Then remove the pdf printer and do a repair of acrobat. Make sure that third party pdf printer is uninstalled before any of this cause that is going to cause you problmes.

Maybe you are looking for

  • Mac 10.5.2 + Sharp-Copier Printer+Problems

    *Printing issues with Mac 10.5.2 + Sharp-Copier Printer* Currently experiencing problems with the Mac OS 10.5.2 and Sharp network copier printer working together. Searching the web for the current drivers, and could only find the drivers for Mac OSX

  • Downpayment - configuration screen shots

    Dear gurus, can anyone send me step by step configuration - downpayment process - thank you, regards, Reshmi

  • Connection via UD Connect in BI system to external MSSQL 2005

    Hello experts, I want to configure connection from BI (SAP_BW 7.01) system on SAP EHP 1 for SAP NetWeaver 7.0 to MSSQL 2005 and AIX via UD Connect. I want to setup connection according to guide "How to u2026Configure UDConnect on the J2EE Server for

  • Certain characters create SQL Syntax error?

    I am trying to insert a string into a database that is written in a JTextArea, however if the string contains certain characters it causes a syntax error. Can anyone tell me what characters will create syntax errors? I assume a single quote will but

  • Syncing Microsoft Outlook 2007 Contacts with User Fields to iPhone

    When I sync my Contacts from Microsoft Outlook 2007 to the iPhone it transfers all general info and notes, BUT not the info displayed in User Fields 1-4 within contacts in Outlook. So, my question -Is there any way/path to achieve getting this info i