Unix: SQL Server Connection with ODBC (CRsqls24.so)

Hi,
I almost find no information how to set up a SQL Server connection using ODBC on a unix platform.
This is what I get when I try to refresh my crystal report on my BO Server (4.1):
"The viewer could not process an event. Error in file XXX.rpt:
Error loading database information"
.) is the port number really separated from the server by comma? (http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp10_data_acs_en.pdf)
.) where is the right place to speficy the SQL Server isntance name (SQLInstanceA in this case)? I didn't find any information about that?
[MYDB]
Driver=/opt/BOBJ/xir4/sap_bobj/enterprise_xi40/aix_rs6000/odbc/lib/CRsqls24.so
(for 64bit: Driver=/opt/BOBJ/xir4/sap_bobj/enterprise_xi40/aix_rs6000_64/odbc/lib/CRsqls24.so)
Description=MYDB
HostName=100.10.10.10,1433\SQLInstanceA
Database=MYDB
QuotedId=Yes
AnsiNPW=No
LogonID=ABC
Password=abc123
Thanks!

First off, let me say that in the past (pre v9) when I've tried to use Windows logins with datasources, it never worked.  But that doesn't mean that they finally got it working, just that I stopped trying.
What I was referring to in my post is that once you have CF installed, you need to go to the Windows Services screen, open each of the CF processes, click on the LOGIN tab, and change it from the default services login to be whatever WIndows login you have setup in Active Directory.  Then restart CF so that it's process is now running under that login with its credentials.  Then go to SQL Admin and setup that same login and give it access to the database you want to access.  Then go to CF Datasource menu and setup the datasource as you did previously.  If CF's support of Windows authentication for datasources does in fact now work, you should be in business.
If it doesn't work, then you'll need to do as I said earlier, and setup SQL logins for the CF servers to use, and then in the CF Datasource setup screens you would specify that login info in the same way that you would have given it the "sa" login info.
-reed

Similar Messages

  • 30EA2 - Feedback on Microsoft SQL Server connectivity

    I think Oracle SQL Developer is great! But I also think it could be better.
    I believe Microsoft SQL Server connectivity in SQL Developer could/should be stronger/simpler if, for no other reason, than the simpler it is the more likely there will be converts.
    In Help -> Check for Updates ... I'd propose an Update Centre something like External DB connectivity or Third Party DB connectivity. In other words, make it obvious.
    Failing that, or perhaps in addition, instead of calling it JTDS JDBC Driver 11.1.1.58.17 why not Microsoft SQL Server connectivity, with JTDS ... in the description?
    And then, this is the big one, make installing the JTDS JDBC driver update actually enable connectivity to MS SQL Server.
    Initially trying to connect to a MS SQL DB, having installed no updates, I get the error:
    An error was encountered performing the requested operation:
    Driver class not found.
    Verify the Driver location
    Vendor code 0
    SQL Developer "knows" I'm trying to connect to a MS SQL DB, so why not a slightly more helpful error?
    After installing the JTDS JDBC Driver I do get a slightly more helpful error (in that it contains key words I can Google):
    An error was encountered performing the requested operation:
    I/O Error:  SSO Failed:  Native SSPI library not loaded.  Check the java.library.path system property.
    Vendor Code 0
    Connectivity only begins to work after I do this/these additional step/s:
    Copy the file 'jtds-1.2.2-dist\x86\SSO\ntlmauth.dll' from the unzipped JTDS --> <SQL Developer Home>\jdk\jre\bin. Then restart SQL Developer.
    With thanks to:
    http://www.dbforums.com/microsoft-sql-server/1612362-java-sql-sqlexception-i-o-error-sso-failed-native-sspi-library-not-loaded.html#post6368137
    Then, and only then, it works just fine.
    With thanks for Oracle SQL Developer,
    Garth
    Windows XP SP3
    Oracle SQL Developer 3.0.02.83

    Well to be honest there is no good reason to use access to connect to PeopleSoft But we see the same problem in a totally unrelated program called RFGEN or even Crystal Reports through odbc. The Problem is I did not want to field all the questions about RFGEN.(what it is, how it works, must be something wrong with it etc...) I would have thought that someone has connected and used Access. RFGEN is a third scanning System that works with our existing system on SQL Server and we want to keep it and use it with the PeopleSoft.

  • Is it possible to use Jdeveloper with Other Sql Server using JDBC-ODBC bri

    I have been able to successfully establish connection with Sql server Using JDBC-ODBC bridge, but when i run the application and perform some operations such as insert the following errors occur:
    (oracle.jbo.SQLStmtException) JBO-27122: SQL error during statement preparation. Statement: SELECT ItmUnit.ORG_CODE, ItmUnit.UNIT_CODE, ItmUnit.UNIT_NAME, ItmUnit.ADDRESS1, ItmUnit.ADDRESS2, ItmUnit.ADDRESS3, ItmUnit.CITY_CODE, ItmUnit.USER_ID, ItmUnit.TIME_STAMP FROM ITM_UNIT ItmUnit
    ----- LEVEL 1: DETAIL 0 -----
    (java.sql.SQLException) [DataDirect][ODBC Sybase Wire Protocol driver]Sybase does not allow more than one active statement when retrieving results without a cursor
    (oracle.jbo.DMLException) JBO-26041: Failed to post data to database during "Insert": SQL Statement "INSERT INTO IMMS.HRM_UNIT(UNIT_CODE,UNIT_NAME) VALUES (?,?)".
    ----- LEVEL 1: DETAIL 0 -----
    (java.sql.SQLException) [Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt
    (oracle.jbo.AttrValException) JBO-27014: Attribute DeptCode in HrmUnitDept is required
    (oracle.jbo.SQLStmtException) JBO-27122: SQL error during statement preparation. Statement: SELECT HrmUnit.UNIT_CODE, HrmUnit.UNIT_NAME FROM IMMS.HRM_UNIT HrmUnit
    ----- LEVEL 1: DETAIL 0 -----
    (java.sql.SQLException) [Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt

    Yes, you can do that. For testing purposes you can also create simple files (with mkfile) and add these to ASM. That way you could also experiment with deleting files and see what happens in ASM
    Bjoern

  • Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection

    "[DBNETLIB] Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection"
    After patches applied on patch Tuesday the database reports the above error. 
    All accounts are domain accounts and SQLServer uses Windows auth.
    DCDIAG show no errors
    All servers and DC have been restarted,
    Message in db log confirms the connection is being denied due to trust.
    Event log shows same rejection
    Protocols enabled: named pipes, tcpip, memory
    TESTS:
    PortQry: "
    TCP port 1433 (ms-sql-s service): LISTENING"
    Connect with domain admin accounts works from multiple clients systems to DB.
    Cannot connect with newly created domain admin account
    Can connect if new admin account connect to server in terminal server session and uses UDL wizard or any other tool including isql.
    New standard user also fails to connect.
    NOTES:
    I removed the SSL patch and the IE security update to see if that was an issue.
    ¯\_(ツ)_/¯

    Has someone left the company or has an account of some nature been dropped/replaced?
    Please click "Mark As Answer" if my post helped. Tony C.
    Hi Tony,
    Srry but No.  We just installed the monthly updates.
    I went back and found I had missed removing a patch.  I missed the rollup for Windows Server 2003:
    Event Type: Information
    Event Source: NtServicePack
    Event Category: None
    Event ID: 4382
    Date:  3/12/2015
    Time:  12:26:04 PM
    User:  NETTEST\admin
    Computer: DATA1
    Description:
    Windows Server 2003 KB954920 was removed from your computer, and the previous Windows Server 2003 configuration was restored.
    After I removed that is still didn't work but after about five minutes it started working.
    I guess I ned to report that to MS after I research what might be changed to make the patch work.
    Every time I get stuck and ask for help it seems to be just before I stumble on the solution.
    Thanks for replying.
    Well - maybe this will help someone else.
    Thanks again for replying Tony
    ¯\_(ツ)_/¯

  • How to connect MS SQL Server 2000 with JDeveloper 11g

    Hi,
    I am new to JDevleoper, Is it possible to connect MS SQL Server 2000 with JDeveloper 11g.
    If possible can anyone help me in doing that?
    waiting for ur reply...
    Thanks in advance
    Regards,
    reddy

    Shay or other knowledgeable folks,
    Is there a way to utilize the wizard for "Business Tier > ADF Business Components > Business Components from Tables" for SQL Server 2000, 2005 or 2008. I can successfully execute sql via java programmatically or import a table from SQL Server with "Business Tier > ADF Business Components > Entity Object" wizard, but the Business Components from Tables simply doesn't see any tables under any schema. Without the "Business Components from Tables", i don't get the referential constraints imported into the application and to code all those from scratch is just not as elegant. So far i have only utilized the sql server jdbc driver from Microsoft (versions, 1.1, 1.2 and 2.0). Is there an alternative client that i need to use to enable selecting tables from that "Business Components from Tables" wizard. Is this a limitation of SQL Server, the jdbc driver or the wizard itself? Did anybody else experience the same issues? I am using Jdeveloper 11.1.1.0.1 against SQL Server 2005 (currently)
    Thanks,
    Andy

  • Connect a Microsoft SQL Server Database with eclipse

    Hi all,
    I am having problem to connect a Microsoft SQL Server Database with eclipse. Is it possible to do it? And could someone explain me how, please? When I want to create a connection from the data source explorer, I have in the list of connection only derby and jdbc. Is anything else that I have to download?
    Thank you in advance for your help.

    Just choose generic JDBC and locate/specify the driver yourself. Exactly the same as you would use when you wrote JDBC code yourself.

  • How to connect to SQL server 2000 with Oracle Form

    Hi,
    I'm looking for the document of how to connect "SQL Server 2000" with Oracle Form 6i. Anyone knows that?

    Shay or other knowledgeable folks,
    Is there a way to utilize the wizard for "Business Tier > ADF Business Components > Business Components from Tables" for SQL Server 2000, 2005 or 2008. I can successfully execute sql via java programmatically or import a table from SQL Server with "Business Tier > ADF Business Components > Entity Object" wizard, but the Business Components from Tables simply doesn't see any tables under any schema. Without the "Business Components from Tables", i don't get the referential constraints imported into the application and to code all those from scratch is just not as elegant. So far i have only utilized the sql server jdbc driver from Microsoft (versions, 1.1, 1.2 and 2.0). Is there an alternative client that i need to use to enable selecting tables from that "Business Components from Tables" wizard. Is this a limitation of SQL Server, the jdbc driver or the wizard itself? Did anybody else experience the same issues? I am using Jdeveloper 11.1.1.0.1 against SQL Server 2005 (currently)
    Thanks,
    Andy

  • I want to use Golden Gate to connect MS SQL Server 2005 with Oracle 10g dat

    I want to use Golden Gate to connect MS SQL Server 2005 with Oracle 10g database. So, i have installed both databases on different pc's on windows platform. MS SQL Server 2005 on windows XP and Oracle 10g on windows 2003.
    I have configure Golden Gate step by step by following oracle guideline:
    http://www.oracle.com/technetwork/articles/datawarehouse/oracle-sqlserver-goldengate-460262.html
    When i run following command on target (oracle 10g):
    replicat paramfile dirprm/inload.prm
    I encounterd following error:
    2012-05-21 20:27:06 ERROR OGG-00014 Unrecognized parameter: USERID. Paramete
    r could be misspelled or unsupported.
    2012-05-21 20:27:06 ERROR OGG-01668 PROCESS ABENDING.
    My INLOAD FILE Content are:
    SPECIALRUN
    END RUNTIME
    USERID gg_user, PASSWORD welcome1
    EXTFILE D:\oracle\gg\dirdat\ex
    SOURCEDEFS D:\oracle\gg\dirdef\emp.def
    MAP hrschema.emp, TARGET gg_user.emp;
    Can you plz suggest me that where i am wrong?
    Thanks advance to all experts.

    amardeep.sidhu wrote:
    That should work, just in case try adding DBLOGIN before USERID
    DBLOGIN USERID x..No needed in the param file i think.its not needed at all you are right, but what else could it be? Besides any special unseen character :P

  • JDBC Connection String for MS Sql Server 2000 with Instance Name

    Hi All,
    I am having problems connecting to a MS Sql Server 2000 database using MSSqlServer4
    driver when the database server has an Instance Name. If the database server has
    no instance name then I am able to connect using the connection string
    connection=jdbc:weblogic:mssqlserver4:hansa:1433
    But when I have the MS Sql Server DB with an instance name such as "TestInstance",
    then I am unable to connect with any of the connection strings given below
    connection=jdbc:weblogic:mssqlserver4:hansa\TestInstance:1433 or
    connection=jdbc:weblogic:mssqlserver4:hansa\\TestInstance:1433 or
    connection=jdbc:weblogic:mssqlserver4:hansa:TestInstance:1433 or
    connection=jdbc:weblogic:mssqlserver4:hansa:1433:TestInstance
    Can anybody help me in resolving this issue. Appreciate your help.
    Thanks in advance.
    Vikram

    Vikram wrote:
    Hi All,
    I am having problems connecting to a MS Sql Server 2000 database using MSSqlServer4
    driver when the database server has an Instance Name. If the database server has
    no instance name then I am able to connect using the connection string
    connection=jdbc:weblogic:mssqlserver4:hansa:1433
    But when I have the MS Sql Server DB with an instance name such as "TestInstance",
    then I am unable to connect with any of the connection strings given below
    connection=jdbc:weblogic:mssqlserver4:hansa\TestInstance:1433 or
    connection=jdbc:weblogic:mssqlserver4:hansa\\TestInstance:1433 or
    connection=jdbc:weblogic:mssqlserver4:hansa:TestInstance:1433 or
    connection=jdbc:weblogic:mssqlserver4:hansa:1433:TestInstance
    Can anybody help me in resolving this issue. Appreciate your help.Hi. No type-4 jdbc driver is going to be able to use a name for a DBMS instance.
    Let's assume you have two DBMS instances running on the machine hansa. One
    of them may be listening for tcp connections on port 1433, but the other must not.
    The other most be listening on some other port number you have chosen.
    Therefore, to choose which DBMS instance you want to connect to, use the
    working URL you have, and switch the port number as desired.
    Joe Weinstein
    >
    >
    Thanks in advance.
    Vikram

  • Oracle DB to MS SQL Server via SSL ODBC

    Is it possible to connect an Oracle 11.2 box to a MS SQL Server box with SSL ODBC?
    If not; then with 12c?
    If not SSL, would the two be otherwise compatable with a different form of encryption? TNS perhaps?
    The MS SQL Server side would be read only.
    Any help would be great, thanks.

    It would be good to know which product you're going to use as both gateway products that can connect to the SQL Server are based on ODBC. I assume you're talking about DG4ODBC but will also comment on Dg4MSQL.
    When you're going to use DG4ODBC it is the ODBC driver that needs to be SSL capable. When you have a SSL capable driver you can either use 11.2 or 12.1 release of DG4ODBC.
    Regarding DG4MSQl up to 11.2.0.4 the SSL libs have been releases for several platforms and support can ask for a backport of the libs to 11.2.0.4 if they do not exist. So just file a service request if they are missing.
    12c by default comes with the SSL libs and you only need to configure it.
    - Klaus
    Message was edited by: kgronau

  • I need to syncronize MS SQL Server 2000 with Oracle DB

    Hello
    I need to syncronize MS SQL Server 2000 with Oracle Database. I have created both DB connections succesfully.
    1. Oracle DB: Oracle (JDBC)
    2. SQL Server JDBC-ODBC (bridge)
    When i create a partner link and select a DB Adapter i try to query SQL Server but it never brings the tables back to me.
    I´ve tried to configure connection 2 (MSSQL) using thrid party but i really don´t know how.
    Driver Class??
    Library?
    Library Name??
    Location??
    Class Path?
    Source Path??
    Doc Path??
    URL??
    help is appreciated. Thank you.
    F.

    Here is my setup:
    Driver Class: com.microsoft.jdbc.sqlserver.SQLServerDriver
    Library: SQLSERVER
    ClassPath: Depends on where your jar file is.
    URL: jdbc:microsoft:sqlserver://your ip address or DNS name goes here.
    The above is how my database connection is defined.
    When I create a partner link and it gets to the screen where it imports tables it takes a while for the "Querying Database Ojects..." to finish. When it does I have not tables. I then select <all schemas> AGAIN and this time I get the tables.
    If you get succeed when you do a test on the connection then I assume the connection is setup right. Perhaps the problem is like mine above and you have to select <all schemas> a second time.

  • SQL Server 6.5 ODBC Error

    I have a problem with a DB call. I have two sql delete statements embedded
    in Forte Begin End Transaction block. The second statement fails with the
    ODBC error. The first Delete causes a DB level Trigger to happen that also
    has a Transaction with a Insert into another table. The triggered insert
    also has a Transaction and insert. Any Ideas?
    I am getting the following error:
    ODBC SQLExecute failed.
    [Microsoft][ODBC SQL Server Driver]Connection is busy with results for
    another hstmt
    Eric Rasmussen
    Online Resources &
    Communications Corporation
    (703) 394-5128
    [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi Eric,
    This seems to do the trick. My DBA had suggested that I use that to >help
    with performance. Any explanation as to why this causes the error?
    Thanks!
    I am not too sure, probably, the version!! I am running 2.65 (ODBC Driver
    for SQL Server) and I faced with similar problem sometime back.
    Regards,
    V Muthuramalingam (Muthu)
    Catapult Technology, Inc.
    [email protected]
    [email protected]
    http://www.catapultt.com
    -----Original Message-----
    From: Muthuramalingam Venkataraman [SMTP:[email protected]]
    Sent: Thursday, June 17, 1999 4:52 PM
    To: [email protected]
    Cc: [email protected]
    Subject: Re: SQL Server 6.5 ODBC Error
    You might probably want to uncheck the Generate Stored Procedure for
    Prepared Statement in your ODBC configuration setting!
    Hope this helps
    V Muthuramalingam (Muthu)
    Catapult Technology, Inc.
    [email protected]
    [email protected]
    http://www.catapultt.com
    Eric wrote :
    I have a problem with a DB call. I have two sql delete statementsembedded
    in Forte Begin End Transaction block. The second statement fails withthe
    ODBC error. The first Delete causes a DB level Trigger to happen thatalso
    has a Transaction with a Insert into another table. The triggered
    insert
    also has a Transaction and insert. Any Ideas?
    I am getting the following error:
    ODBC SQLExecute failed.
    [Microsoft][ODBC SQL Server Driver]Connection is busy with results for
    another hstmt
    Get Your Private, Free Email at http://www.hotmail.com
    Get Your Private, Free Email at http://www.hotmail.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Database fileds are not coming when connecting with ado and they are coming when connecting with odbc

    Post Author: yagya
    CA Forum: .NET
    Hi , I am using crystal report XI R2 in visual studio 2005 . Backend is sql server 2000. I have made a connection with odbc connectivity and using dsn. I am using a stored procedure as datasource of report. It is working fine all the database fields are available. Now when i try to connect with the ado connection having same stored procedure as datasource of report , I am not getting data fields. I dont know where is the problem in my stored procedure or in report. But when i connect through system dsn using odbc connectivity everything is working fine. A MAP filed dialogue box appears when i try to change the datasource location to ado from odbc.

    There is a barely acknowledged issue. For Mac users Apple has released an update to the app, but for iOS users the recommendation is for users to update their ipad to the most recent operating system.
    There may be a fix coming for iOS6 users (which seem to be many of those having problems) or there may not be. If your ipad isn't up to date then you can update it and see if that helps, or if you don't want to update then you may want to wait and see if there is either a fix or if it fixes itself.

  • SQL Server Connection Issue

    I've tried going through the steps to resolve the issue, but I am still coming up blank. The part that I am not understanding is the, "A non-recoverable error occurred during a database lookup." part.
    Is this a security problem? I can establish an ODBC connection to the server as well as connect and query through visual studio, however when trying to run it through one of our custom programs, it throws this error message. 
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    TCP Provider, error: 0 - A non-recoverable error occurred during a database lookup.)

    There are many reasons of SQL server connectivity issue. Refer checklist to find out the real cause of connectivity issue.
    1. Check SQL services are running
    2. Check SQL Browser service is running
    3. Check remote connections are enabled
    4. Network connectivity between database & application servers by TRACERT command
    5. Check TCP/IP protocol enabled at SQL server
    6. Check talent connectivity – telnet <IP address> <port no on SQL server running>
    7. Check UDP port 1434 is open or not on SQL Server
    8. Check firewall is running or not Check
    9. If firewall running, SQL Server & UDP port must be added in exception in firewall
    10. Run SQL Discovery report on machine SQL server installed, to check you are using correct instance name to connect( default \named) -http://mssqlfun.com/2013/02/26/sql-server-discovery-report/
    http://mssqlfun.com/2012/09/28/check-list-for-sql-server-connectivity-issue/
    Regards,
    Rohit Garg
    (My Blog)
    This posting is provided with no warranties and confers no rights.
    Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

  • Sql Server Connection Issues

    After reinstalling Windows Server 2008 R2 EE my SQL 2008 R2 Sp2 Instances have some connection issues.
    The server were installed under the same hostname, but he got a new sid in my active directory.
    On the server there one DB Engine MSSQLSERVER, two named Reporting Services for MS crm 4.0 and SCOM and one Analysis Services Instance.
    The DB Engine will collect Data from another DB, before writing to Analysis Services.
    Here are the problems on the server:
    When I connect via SSMS remotly, I sometimes get this error: Failed to connect to server <hostname> ... Named Pipes Provider, error 40 - Could not open a connection to SQL Server - Error 5
    Both RS Instances have many event log errors like "Report Server (Instance) cannot connect to the report server database.". RS Reports are working fine, but sometimes the rendering is taking a long
    time.
    The DB Engine Agent Job to collect Data sometimes throw the following error: An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult:
    0x80004005  Description: "Unable to complete login process due to delay in opening server connection".  End Error  Error: 2013-12-10 06:03:40.41     Code: 0xC00291EC
    User use Excel to connect to the Cube on my server. Often they got timeout errors. When they connect again it will work.
    Are there any solutons on this?
    Thanks a lot!

    Hello,
    The server were installed under the same hostname, but he got a new sid in my active directory.
    Did you connect to SQL Server instance with Windows authentication? Since the SID of domain account is changed, the SQL Server instace may cannot verify the login account which stored in the master with old SID. In that case, please try to connect
    SQL Server with SQL authentication and then readd the domian as login the instance.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

Maybe you are looking for

  • Background Color on Application tag not showing...

    I just recently upgraded to the nightly build version # 4.0.0.10045 and the backgroundColor property on the main application tag is no longer rendering the background color. I noticed a new ApplicationSkin.mxml in the spark skins with the following:

  • Can you delete PO (Service, Limit or Material) in SRM ECS????

    We are currently using SRM 4.0 (ECS) and we appear to have problems when deleting PO's (Service, Limit, Material) with just one line item.  The PO after having the one line item deleted goes into status Error in Process.  My questions are these:    

  • Strange movie dimensions

    Hi. I created a number of clips, all of which are 320 wide x 460 high - iPhone, portrait orientation. I imported them into iMovie. First, I cannot see them all on the view screen; for some reason they are enlarged and not fit into the screen. Second

  • Need some help trying to repair network connection.

    Let me start this off by letting you folks know that I am in no way well-versed with any type of Networking or anything of the sort. A friend of mine set up my personal wireless network at my house. Ok, I'll try to keep this concise. I read through t

  • Mac won't login after Leopard update

    i recently ran the update for itunes and quicktime and it asked me to restart my computer. I did and everything looked fine. I try to log in and it would take me to the Setup Assint..the one you get when you are turning on your mac for the first time