SQL 2005 database authentication Problem

In the past we have used sql user authentication to create
the CF datasource for SQL databases, however, we would like to use
windows authentication instead, does CF support windows
authentication?

OK, so in 7.01, you need to upgrade the drivers to get
Windows Authentication to work. The drivers that were built-in in 7
were the 3.4 version from Merant/DataDirect. They weren't updated
(as a default in the install of CF) until 8,when they were updated
to 3.6.
The 3.5 drivers added Windows authentication, and you can
apply them to a CF 7/7.01/7.02 install. Check out my blog entry:
http://carehart.org/blog/client/index.cfm/2006/8/8/jdbc3.5_update
If you wonder what version of the drivers you may already be
running (in case someone may already have updated the drivers), see
this entry:
http://www.carehart.org/blog/client/index.cfm/2006/8/8/checking_jdbc_driver_version
Or more simply, just try removing the username/password
values in the setup for the SQL Server DSN, to see if it works. If
not (and assuming it's not complaining about the CF account
username not being an authorized user of the DB), then it seems an
update of the drivers is in order. See my first blog entry above
for more on what the drivers offer, and why Adobe didn't just
update the drivers in the 7 updaters and cumulative hot fixes, so
that you must apply the update manually.

Similar Messages

  • SAP IDES ECC5.0 (SQL 2005 Database) installation Error at  Database instan.

    At the time IDES ECC 5.0 installation (SQL 2005 database), I was copy all DVD on Hard drive and start setup then at installation of database instance, following Errors are occured. so I cant continue with the installation, if anyone have installation guide/or solve the following error please mail me at [email protected]
    from Log file SAPCLUST
    Interface access functions from dynamic library dbmssslib.dll loaded.myCluster
    (3.5.Imp): 613: error when retrieving table description for physical table AABLG.
    myCluster (3.5.Imp): 614: return code received from nametab is 32
    myCluster (3.5.Imp): 296: error when retrieving physical nametab for table AABLG.
    (CNV) ERROR: code page conversion failed
                 rc = 2
    from sappool.log
    Interface access functions from dynamic library dbmssslib.dll loaded.failed to read short nametab of table ARCH_NUM     (rc=32)conversion failed for row 0 of table  VARKEY = ⁘††††††††††††††††††††††††
    (CNV) ERROR: code page conversion failed
    So please send me solution/ or any configuration need for SQL 2005 / installation guide thanks

    This may be hard disk problem, some file not able to write on HDD.
    Regards
    Rajnish

  • Change the sql 2005 database  C drive to E drive

    hi,
    it is possible to change the sql 2005 database  C drive to E drive
    if ,yes then step:-?
    Regards
    Amit

    Hello Amit,
    >it is possible to change the sql 2005 database C drive to E drive
    >if ,yes then step:-?
    You can also check note [363018|http://service.sap.com/sap/support/notes/363018].
    Regards,
    Eduardo

  • CLEANUP_USESSAUD is locked in MS SQL 2005 database

    Hi team,
    CLEANUP_USESSAUD stored procedure is encrypted bydefault in MS SQL 2005 database.
    May i know, how to unlock and modify this procedure?

    Hi,
    We have used a utility called Optillect to look into the encrypted stored procedures.
    Regards
    Alex

  • SQL 2005 Databases not Discovered

    We have a SQL 2005 server, where the DB instance itself has been discovered but the SQL DBs themselves have not. Any way to understand / troubleshoot why not. Other instances work just fine.

    The account is just fine, and it is a sysadmin on the server. It discovered the instance even, unlike by my other post:
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/7da4b442-c9e4-4aac-9cb9-d2af0b1ffbaa/clustered-database-engine-not-discovered?forum=operationsmanagermgmtpacks&prof=required
    That said, it doesn't discover DBs. I haven't seen any errors in the event log pertaining to the discovery. The bug fix posted above also hasn't helped me.
    When trying to run this MP script manually it also returns XML:
    http://blogs.technet.com/b/jimmyharper/archive/2009/06/11/sql-database-properties-not-discovered.aspx
    So, I'm not really sure that is going on here. What is the expected return I am supposed to get.

  • OCS 2007 R2 with SQL 2005 database mirroring failover?

    We have OCS 2007 Enterprise Edition installed fine and with the databases mirrored to a backup server/location.  I'm testing our environment for a potential disaster, including losing our primary SQL server (SQL 2005).  I fail the databases over and update the backend pool to the backup SQL server name, but we cannot connect via Office Communicator and I see this error on the OCS server:
    OCS User Services, error category 1006, event id 30962:
    Connection to back-end database succeeded, but failed to execute registration stored procedure on the back-end. This error should not occur under normal operating conditions. Contact product support.
    Back-end Server: databkp Database: rtc Sql native error: 515 Connection string of:
    driver={SQL Native Client};Trusted_Connection=yes;AutoTranslate=no;server=databkp;database=rtc;
    Cause: Possible issues with back-end database.
    Resolution:
    Ensure the back-end is functioning correctly.
    Can anyone shed some light on this SQL 515 error?  Thanks in advance!
    -Erik

    We're having a similar issue but with error number 601. I've tried a million different things aside from restoring the database, which may be next. I tried editing the procedure and I *think* I edited the right lines 77 and 105 for me. Changed:
        delete dbo.DbConfigDateTime
          from @DbTime as t
         where dbo.DbConfigDateTime.Name = t.ValueName
           and t.StoredDbName = N'rtc'
           and t.Value is null
    to:
        delete dbo.DbConfigDateTime
          from @DbTime as t
         where dbo.DbConfigDateTime.Name = t.ValueName
           and t.StoredDbName = N'rtc'
           and t.Value is not null
    and 
        delete rtcdyn.dbo.DbConfigDateTime
        from @DbTime as t
        where rtcdyn.dbo.DbConfigDateTime.Name = t.ValueName
        and t.StoredDbName = N'rtcdyn'
        and t.Value is null
    to:
        delete rtcdyn.dbo.DbConfigDateTime
        from @DbTime as t
        where rtcdyn.dbo.DbConfigDateTime.Name = t.ValueName
        and t.StoredDbName = N'rtcdyn'
        and t.Value is not null
    Not sure if that's where the modification is supposed to go. Any clarity here? Anyone else get a 601 error?

  • SQL Developer - database connect problem

    Hello
    Just wanted to give SQL Developer a try, downloaded it, unzipped and pointed at Java SDK's java.exe.
    It started, I created a TNS connection and successfully passed test. But when I try to connect to database - it errors with following
    java.lang.ArithmeticException: / by zero
         at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:1233)
         at oracle.jdbc.driver.OracleCallableStatement.<init>(OracleCallableStatement.java:100)
         at oracle.jdbc.driver.T4CCallableStatement.<init>(T4CCallableStatement.java:27)
         at oracle.jdbc.driver.T4CDriverExtension.allocateCallableStatement(T4CDriverExtension.java:88)
         at oracle.jdbc.driver.PhysicalConnection.prepareCall(PhysicalConnection.java:3135)
         at oracle.jdbc.driver.PhysicalConnection.prepareCall(PhysicalConnection.java:3090)
         at oracle.dbtools.db.DBUtil.executeReturnOneCol(DBUtil.java:275)
         at oracle.dbtools.raptor.InitializeConnectionListener.initConnection(InitializeConnectionListener.java:137)
         at oracle.dbtools.raptor.InitializeConnectionListener$1.run(InitializeConnectionListener.java:85)
    I googled for this error and found nothing suitable
    Other development tools including SQL Plus connect an run fine.
    I have 10g client, and I connect to 9.2.0.6 database. My OS is Vista Business SP1, so I though it might be UAC issue and tried running as both standard user and administrator, also allowed java.exe and sqldeveloper.exe through firewall. Nothing helped :(
    Any settings and ideas that might help will be appreciated.
    Thanks for help
    Edited by: user8082464 on Apr 27, 2009 12:25 AM

    Duplicate post in SQL Developer - database connect problem

  • B1 create User Defined Field as nvarchar(max) in SQL 2005 database

    Hi everyone,
    I just created a UDF in B1 as alphanumeric(12), and noticed that B1 created a field in SQL 2005 as nvarchar(max) instead of nvarchar(12). I tested with both 2005A SP01 patch 14 and patch 20. It always creates UDF as nvarchar(max). Is this a bug? It will cause db file use more disk space and also reduce the query performance. Also, B1 won't create the index on the UDF even if you select the option.
    Thanks for help,
    David

    Hi David,
    I was running on patch 19 when I wrote my earlier posts. I'm now running patch 20 without any issues. I also have a range of clients who are running SBO 2005A SP1 on various patch levels above 10 (though not all are on SQL 2005) and I've yet to come across this issue.
    Did you log this with SAP Support? Have they come up with any suggestions?
    Maybe this will work:
    1) Start SBO. When you get to the login screen, click on Choose Company.
    2) Change the Current Server field from SQL 2005 to SQL 2000. Reenter your server settings if prompted
    3) Login as normal and try and create your field.
    4) Log out and go back in to change back to SQL 2005
    Kind Regards,
    Owen

  • SQL Server 2005 Database connecting problem

    Hi,
    I have installed MDM 5.5 SP06 - 64bit servers,  32bit clients and  SQL server 2005  in Vista 64 bit operating system.
    But I can't able to connect the server...
    I believe sa is reserved user name but in SQL server management studio I couldn't able to connect the server and registered the Server.
    Can you guys please guide me in this regard how to fix this problem ASAP?
    Thanks,
    Pooja

    Hi,
    Thanks for your time and help, but I couldn't able to see the database itself.
    as I know my computer name is database name but SQL Server is not providing that.
    and its showing network data base names.
    If I type the database name and user is sa...but there is no luck in connecting...
    is there any way that we can define server name and user names??? also it doesn't ask for any database name or user name during installation of SQL Server 2005
    I'm not a SQL person so, please help me in this regard.
    Thanks, Pooja

  • Cann't Drag and Drop Tabels from MS SQL 2005 Database using JDBC connectio

    I've created a I've installed cr4e-all-in-one-win_2.0.1 (Crystal Reports for Eclipse) created a new Connection with MS-2005 SQL using SQLJDBC.jar file, Connection is working and I can see all Databases and under dbo schema.
    My problem is when i try to add database in my report (using drag and drop or via option menu) nothing happens... there's no error please guide

    Hi K,
    First of all, thank you so much for your help and advice.
    When i create the repository, i encountered below error in compiler log;
    Error(26,2): PL/SQL: SQL Statement ignored
    Error(29,23): PL/SQL: ORA-00904: : invalid identifier
    Error(2486,9): PL/SQL: Statement ignored
    Error(2486,30): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2487,9): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2487,9): PL/SQL: Statement ignored
    Error(2488,9): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2488,9): PL/SQL: Statement ignored
    Error(2559,5): PL/SQL: Statement ignored
    Error(2559,26): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2560,5): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2560,5): PL/SQL: Statement ignored
    Error(2561,5): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2561,5): PL/SQL: Statement ignored
    When i right click on those errors and click 'go to source', it doesn't go anywhere.
    But it mentioned that repository created successfully.
    So that I tried to quick migrate and got below migration error:
    Error ocurred during capture:
    ORA-04063: package body "REPOOWNER.MD_META" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "REPOOWNER.MD_META"
    ORA-06512: at "REPOOWNER.MD_PROJECTS_TRG", line 3
    ORA-04088: error during execution of trigger 'REPOOWNER.MD_PROJECTS_TRG'
    I really don't know how to solve this.
    Thus, please help to advice how to solve on this matter and I do really appreciate your help.
    Thank you so much for all your help.
    Edited by: Sai Lin Naung on May 30, 2010 8:32 PM

  • Oracle-sql developer database connection problem

    hi all,
    i tried creating a new connection in SQL developer but unable to create.
    i tried with all the combinations such as
    connection name:hr_orcl
    username:hr
    password:hr
    connection tyrpe:basic,Role:default
    hostname:localhost/ip address of my system
    port:1521
    SID:xe/orcl
    But still it is hsowing as " network adapter could not establish the connection".
    So could anybody please help me in this regard as to how to resolve this issue as I have searched several sites but could not find a solution for this.Waiting for your reply at the earliest
    Thanks,
    Rajesh P.
    9949254433

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\rajesh>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-DEC-2012 08:21
    :08
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 28-DEC-2012 08:20:36
    Uptime 0 days 0 hr. 0 min. 31 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rajesh-PC)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Users\rajesh>

  • SQL Developer - Database connection problem

    Hi all,
    I had SQL Developer 1.5.4 with JDK, when connect to database with connection type TNS,
    test connection successfully, but when I try to open tables; here the error that I got:
    java.lang.NullPointerException
         at oracle.javatools.db.ora.BaseOracleDatabase.getCurrentSchema(BaseOracleDatabase.java:163)
         at oracle.javatools.db.ora.OracleDatabaseImpl.hasRole(OracleDatabaseImpl.java:247)
         at oracle.javatools.db.ora.OracleDatabaseImpl.reconnected(OracleDatabaseImpl.java:119)
         at oracle.javatools.db.ddl.DDLDatabase.<init>(DDLDatabase.java:53)
         at oracle.javatools.db.dictionary.DictionaryDatabase.<init>(DictionaryDatabase.java:57)
         at oracle.javatools.db.ora.BaseOracleDatabase.<init>(BaseOracleDatabase.java:130)
         at oracle.javatools.db.ora.OracleDatabaseImpl.<init>(OracleDatabaseImpl.java:109)
         at oracle.javatools.db.ora.Oracle8.<init>(Oracle8.java:17)
         at oracle.javatools.db.ora.Oracle8i.<init>(Oracle8i.java:38)
         at oracle.javatools.db.ora.Oracle9i.<init>(Oracle9i.java:181)
         at oracle.javatools.db.ora.Oracle9iR2.<init>(Oracle9iR2.java:41)
         at oracle.javatools.db.ora.Oracle10g.<init>(Oracle10g.java:26)
         at oracle.javatools.db.ora.Oracle10gR2.<init>(Oracle10gR2.java:18)
         at oracle.javatools.db.ora.OracleDatabaseFactory.createDatabaseImpl(OracleDatabaseFactory.java:112)
         at oracle.javatools.db.DatabaseFactory.createDatabaseImpl(DatabaseFactory.java:147)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:130)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:637)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:564)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1119)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:631)
         at java.lang.Thread.run(Thread.java:595)
    Any help would be appreciated.
    Thanks
    Michael

    It has nothing to do with the user and privilige thing.
    I think maybe it is a jdk problem.
    Maybe you can check the jdk version you are using.
    Goog luck.

  • Issues connecting to sql 2005 database using Oracle sql developer 1.2

    I just installed the sql developer and was trying to use the quick migrate to try a migration from a sql server to oracle..
    I am getting the following error message when i click on the retrieve database after entering the database credentials
    Status : Failure net.sourceforge.jtds.jdbc.driver
    I am getting another error message when i click on the 'test' button
    Status: Failure - Unable to find driver: net.sourceforge.jtds.jdbc.driver
    I downloaded the jtds driver from source forge and i am wondering what I should do to get the sql developer to make successful connections to sql server.
    Any help is appreciated.
    Thanks

    I have the same issue with both version 1.1.3 of the SQL developer and the latest version(1.2.1). I have added the jar file path in tools->preferences->Database->Third Party etc...
    I got the jar file from this download: jtds-1.2.2-src.zip
    I get this error when trying to connect to an sql server:
    oracle.jdeveloper.cm.CMException: Unable to find driver: net.sourceforge.jtds.jdbc.Driver
         at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.createConnection(RaptorConnectionWrapper.java:175)
         at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getJdbcConnection(RaptorConnectionWrapper.java:202)
         at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getPresentation(RaptorConnectionWrapper.java:68)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.createConnection(Connections.java:1004)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:876)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:553)
         at java.lang.Thread.run(Thread.java:595)
    Any help would be appreciated. I like the tool would hate to have to abandon it, it works like a charm on our oracle databases.

  • DI API Deadlocks in SQL 2005 database server

    Hello All,
    I have an Issue, which is coming on large databases ( > 50GB) and number of users >  20.
    I have read the following notes
    1269591, 1489753, 1318311, 1231444 , 1344641 , 1316554
    also contributed in the following thread:
    Workaround:
    Each SAP B1 Client is using an addon, which do a WM (Warehouse management) based on WHSE Journal. Until upgraded to 2007 version, this was working fine, no issue came up only system was slow.
    Process with pseudo code like this
    'incoming cases - when an item is entering into the warehouse
    Add Logistics documents (action success = true)
    - start transaction
      - check Warehouse journal
      - record changes done by this document (based on oinm) into (UDT)
    - finish transaction
    'outgoing cases - where an item is carried out from the warehouse - create a self pick list example: sales order:
    start transaction
    - loop on every rows of the sales order
      - read ordered quantity
      - look for place where it is stored,
    - if found make  a reservation in (UDT)
      - add position to self created pick list  (UDT)
    finish  transaction
    'release from warehouse
    start transaction
      - look for pick list position (UDT)
      - reduce stock value (UDT)
      - update pick list  with packed quantity (UTD)
      - create delivery note
    finish  transaction
    Depending from activity the users receive various error messages like Could not commit transaction / Deadlock ...  / -2038 Internal error xxxx messages, when trying to access to UDT-s or any marketing documents, and the system is frozen. I go to activity monitor, and check and tell them which client is causing dead locks, they log off ,and can continue work or if the process runs to timeout, it sends the error message to SAP B1 Client.
    Also we have an addon which reads (only reads) data from database from OITM / OITW / and one of these UDT above. (queries against stock value from UDT). here we receive 2 type of error messages
    - Deadlock
    - Timeout
    I know these messages are coming from: other computers /Users are issueing documents in transaction.
    Any ideas to resolve this issue / has anybody happened this issue ?
    Every ideas, comments are welcome.
    The system is b1 2007 SP 01 PL 10. Average document position between 50-100.
    Solution Architect team? Any workaround?
    Regards
    János

    HI Janos,
    I also faced little bit same type of Issue in one of the project.
    Please look
    Link: [Large data processing Issue | SAP Hanging Problem using Transactions;
    After applying this my issue was resolved.
    regards:
    Sandy
    Edited by: Sandeep Saini | Roorkee | India on Sep 6, 2010 7:16 PM

  • JSTL - SQL Server Database Connectivity problem

    Hi All
    I am trying to implement DB connection using JSTL sql tag using the following code :-
    <c:set value="jdbc:sqlserver://localhost;databaseName=Studentreg;user=sa;password=pass" var="URL"/>
    <sql:setDataSource driver="com.microsoft.sqlserver.jdbc.SQLServerDriver" url="${URL}" user="sa" password="pass" var="stc"/>
    But I am getting the error :-
    exception
    javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
    root cause
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
    But when I am trying to implement the same using the jdbc-odbc driver It work fine. This is the code:-
    <sql:setDataSource driver="sun.jdbc.odbc.JdbcOdbcDriver" url="jdbc:odbc:dsn_name" user="sa" password="pass" var="stc"/>
    Please help me in this regards
    Thanks in Advance
    Sulfikkar

    java.sql.SQLException: No suitable driverMeans that it can not find the JDBC driver in the classpath.
    Make sure your Database driver is in your WEB-INF/lib directory, or [TOMCAT]/common/lib directory (or equivalent)
    Cheers,
    evnafets

Maybe you are looking for