ODBC Error: SQLState 28000 & Server Error 18452

We have an application that connects to SQL 2005 thru ODBC with the following string:
driver=SQL Server;server=server1;database=db2005;uid=serveruser;pwd=pwd1;
When our administrators login on the workstation the application works well. But when ordinary users login they get the following error. (We only have 1 domain)
SQLState: 28000
SQL Server Error: 18452
Login failed for user ". The user is not associated with a trusted SQL Server connection.
Then the standard SQL Server Login window pops up asking for the Login ID and Password. On the window the 'Use Trusted Connection' is checked and the name of the user on the workstation appears on the LoginID. What we do is uncheck the 'Use Trusted Connection' then login using the credentials above.
Need help on this one please. Thanks.

Hi ,
 I am facing Same problem and it is as follows:-
There are two servers ‘A’ and ‘B’. At server ‘A’, there is installed Window server at server ‘B”, there
is installed Window Server2000. And both servers have SQL SERVER 2000. I have created link server from A to B. I have to insert data into table of server ‘B’ from server ‘A’. When I used directly insert command like
               Insert into [server name (B)]. [Database]. [Owner].[table name]
               Select * from [server name (A)]. [Database]. [Owner].[table name]
The data is inserted successfully.
But when I created trigger (for insertion) on table of server (A) (because I want as there is insertion in the table of server(A), rest
Records that are not in the table of server (B) , are automatically inserted into the table of server(B)).
The Insertion is not complete and there is shown system message which is as follows:-
“Server: Msg 7391, Level 16, State 1, Procedure rms_trn_con_details_insertion, Line 6
The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.
[OLE/DB provider returned message: New transaction cannot enlist in the specified transaction coordinator. ]”
I have searched in Google , I found that there are problems in heterogeneous system.
But till today, I have no solution for it. Temporary, I find solution through Job Scheduling.
Try to find out solution for this problem.
Regards,
Nikhil Chaturvedi

Similar Messages

  • SQL Server Agent - [165] ODBC Error: 0, Named Pipes Provider: Could not open a connection to SQL Server [2]. [SQLSTATE 08001]

    Hi,
    I keep receiving the error below in the SQL Server Agent Error Log;
    [165] ODBC Error: 0, Named Pipes Provider: Could not open a connection to SQL Server [2]. [SQLSTATE 08001]
    It is occurring approximately 20 times an hour and i cannot link it to any job failures. All jobs on the same SQL instance are working.
    The server is a clustered server and there are no errors occuring in the SQL Server error log at the same time. I have attempted to trace using profiler looking for errors and warnings but anything that does occur doesn't seem to correspond to the reported
    times of the errors within the sql agent error log.
    Please could someone point me where to look next?
    Many thanks.

    Please may I add that this is on a SQL Server 2008 R2 Enterprise edition patched to 10.50.1600.
    Nah, that server is not patched at all, because 10.50.1600 is the RTM version. Find Service Pack 2 and install at the next maintenance window, after having performed tests according to your local policy.
    It is not going to resolve your particular problem though.
    It seems like you have a job that attempts to a connect to s server that is down or non-existing. The job may be configured to return success also on failures. I would check if there are jobs that target other servers.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • ODBC Error connecting to a stored procedure SQL Server 2008 - Crystal 8.5

    I am running a local copy of SQL server 2008 and get an ODBC error when connecting to any stored procedure with or without parameter. The database are running in SQL Server 2000 compatibility mode on the local server.
    Do not get the error when connecting to one or more databse tables or when connecting to a stored procedure on a remote database.
    The error reported is "ODBC error:[Microsoft][ODBC SQL Server driver] Syntax error or access violation"
    I am running Vista OS.
    Any help would be appreciated..

    Hello,
    Interesting combination. All but CR 8.5 is supported on that OS.
    When you created your DSN did you using the 2008 Client or MDAC?
    I suggest you go back to supported platforms for CR 8.5
    If not then start debugging Vista permissions to start with...
    good luck
    Don

  • Error 18452 "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication" on SQL Server 2008 R2 Enterprise Edition 64-bit SP2 clustered instance

    Hi there,
    I have a Windows 2008 R2 Enterprise x64 SP2 cluster which has 2 SQL Server 2008 R2 Enterprise Edition x64 SP2
    instances.
    A domain account "Domain\Login" is administrator on both physcial nodes and "sysadmin" on both SQL Server instances.
    Currently both instances are running on same node.
    While logging on to SQL Server instance 2 thru "Domain\Login" using "IP2,port2", I get error 18452 "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication". This happened in the past
    as well but issue resolved post insatllation of SQL Server 2008R2 SP2. This has re-occurred now. But it connects using 'SQLVirtual2\Instance2' without issue.
    Same login with same rights is able to access Instance 1 on both 'SQLVirtual1\Instance1' and "IP1,port1" without any issue.
    Please help resolve the issue.
    Thanks,
    AY

    Hello,
    I Confirm that I encountred the same problem when the first domain controller was dow !!
    During a restarting of the first domain controller, i tried to failover my SQL Server instance to a second node, after that I will be able to authenticate SQL Server Login but Windows Login returns Error 18452 !
    When the firts DC restart finishied restarting every thing was Ok !
    The Question here : Why the cluster instance does'nt used the second DC ???
    Best Regards     
    J.K

  • ODBC Error while Siebel Server try to connect to Oracle 10G

    We have managed to get through with the configuration of siebel server on HP Unix. However before we get to the Database configuration, we are encountering errors with ODBC connection to oracle 10g database. We are able to connect to oracle using sql plus but odbc connection is failing. We verified for patches, missing files, directory access rights - but no clue as of now.
    Our error says:
    Logging into "ENTSIA_DEV_DAN" as "sadmin"....
    /user/lib/hpux32/dld.so: Unable to find library 'libclntsh.so'.
    ODBC error IM0003 in SQLConnect:
    (DataDirect){ODBC lib} specified driver could not be loaded
    Unable to login using specified odbc parameters
    This has become a show stopped for us and we are strugging with this for the past three days without much direction.
    Any help is greatly appreciated.
    Thanks.

    Hi,
    I guess your DataDirect Driver which gets registered during Database Configuration has some problems.
    Can you check whether the DSN is using the proper Driver?
    Also, the username through which you are logging in to start Siebel Services must have proper rights.
    Many times on Windows platform i have noticied this error in ODBC due to improper user rights. If the rights are not proper, the DataDirect Driver fails to get loaded & throws similar error.
    Regards,
    Shalabhsneha

  • "ODBC Error= [17] [] "[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQ

    Hi,
    I am getting the above error when trying to connect to a database located on remote database. if the database is on same system no problem.
    any clue???????pls help me.

    The full error msg is as follows and the back ground of the problem is decribed below...pls help me out.
    I have written some perl programs to be called by java to execute some database related tasks. My database located at a remote win2K server and database is MSSql and my programs are executing on WIN2k server. The problem is with perl talking to remote database...the following error is displaying...
    "ODBC Error= [17] [] "[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied."

  • OLE DB or ODBC error: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied

    Hi,
    I have one client and one server.  In both hosts I created an OS-user named User1.
    The user have been given various role under the prefix SQLServer2005.
    The default instance of SQL Server and instance (background-process) of
    Analysis Service are also run under User1.
    I connected via Management Studio to Analysis Service directly in the
    server.  I set the permission to access Analysis Service to Everyone. 
    This means everyone should be able to use Analysis Service.  I have set
    ODBC data source to the server.  Testing was successful.
    I created a project to create a cube.  The tables are fairly small (total 300 MB, biggest one 290).
    On project setting (created at client) I set the server host as
    deployment target. I managed to deploy project when all I have are Data
    Source and Data Source Views.
    But on deployment I always failed.   The errors remain the same, begins with
    OLE DB error: OLE DB or ODBC error: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.; 08001.
    I have tried 4 combinations of Impersonation :
    (A) Use a specific username and password
      * in which I supply User1 and the password of User1
    (B) Use the service account
    (C) Use the credentials of the current user
    (D) Default
    Why is this? The server does certainly exist.  I think the error message is wrong.
    I have seen 3 posting that seems related.  One of them say the solution is giving the right impersonation, but gave no detail.  About the privilege, User1 are granted the role of
    SQLServer2005MSOLAP.  What is the solution?
    Thank you,
    Bernaridho

    I just had this problem and solved it by creating an alias in SQL Server Configuration Manager, as below:
    Scenario: My SQL server is accessible from the internet under my.domain.com, and from itself at ServerName. But the local network can't see itself through the router at my.domain.com, so the deployed project is unable to process the cube, since that would
    require Analysis Services to be able to see the SQL Server at my.domain.com, which it can't do.
    So I changed the server in my project from my.domain.com to ServerName, and I created a local alias to ServerName in SQL Server Configuration Manager, under SQL Native Client 11.0 Configuration, Aliases. In my case, I pointed it to localhost port 1333, and
    used SSH -L 1333:my.domain.com:1433, but I could have pointed the alias directly to the server, just as well. (Verifying... yes, that worked too, so you can forget SSH if you have no interest in it.)

  • MS SQL 2008 R2 Named instance: Login failed. Microsoft SQL server, Error: 18452) - Tryig to access using the FQDN assigned for the backup network card.

    Hi,
       I have a windows 2008 R2 Enterprise servers with standalone MS-SQL 2008 R2 named instance.  The server is having two networks, once production and the second for backup. The server FQDN is resolving to the production IP. The backup NIC
    DNS dynamic update is disabled and an "A" record is registered with the dns.  While trying to connect to the instance using the management studio:
    Successfuly able to connect using the instance name, the production hostname, production IP and backup IP. 
    but while trying to connect to the insance using the backup hostname getting the below error:
    "Login failed. The login is an untrusted domain and cannot be used with windows authentication. (Microsoft SQL server, Error: 18452) "
    This is required for the backup tool to get connected using the backup FQDN of the server.
    Should I need to create a host name alias,  request you to kindly assist me with the best recommedation to fix this.
    http://blogs.msdn.com/b/dbrowne/archive/2012/05/21/how-to-add-a-hostname-alias-for-a-sql-server-instance.aspx

    Hi,
    It might be a kerberos issue.  Check that there are valid SPN's registered using the setspn utility - http://technet.microsoft.com/en-us/library/cc731241.aspx
    Thanks, Andrew
    My blog...

  • ODBC error state: 60 code: 102 message: [DataDirect][ODBC 20101 driver][Microsoft SQL Server]Incorrect syntax near

    Hi,
    I am currently receiving the following error in BI Answers when I run a query against a Microsoft SQL 2005 Server.
    View Display Error
    Odbc driver returned an error (SQLExecDirectW).
      Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 16001] ODBC error state: 60 code: 8180 message: [DataDirect][ODBC 20101 driver][Microsoft SQL Server]Statement(s) could not be prepared.. [nQSError: 16001] ODBC error state: 60 code: 102 message: [DataDirect][ODBC 20101 driver][Microsoft SQL Server]Incorrect syntax near 'UserName'.. [nQSError: 16002] Cannot obtain number of columns for the query result. (HY000)
    SQL Issued: SELECT 0 s_0, "SD&A_Dashboard_Test"."BORIS_ALIAS_ETMS_Users"."Id" s_1, "SD&A_Dashboard_Test"."BORIS_ALIAS_ETMS_Users"."UserName" s_2 FROM "SD&A_Dashboard_Test" WHERE ("BORIS_ALIAS_ETMS_Users"."UserName" = 'trowe') FETCH FIRST 65001 ROWS ONLY 
    I am able to connect successfully to the Data Source and run a query against the database using the NQCMD command line tool so believe I have configured the DataDirect 7.0.1 drivers correctly, also I am able to view the Table Data in the RPD Physical Layer in the BI Administration Tool. So don't understand why I am getting this error.
    I have also activated the nquery.log but that doesn't really give me any further information.
    [2015-04-28T16:37:22.000+00:00] [OracleBIServerComponent] [TRACE:4] [USER-34] [] [ecid: 4a9e440f990ba0a4:-1995d2c5:14d00d3ef04:-8000-00000000000001c6,0:1:1:5] [tid: 5f] [requestid: 6f11000b] [sessionid: 6f110000] [username: borisdev] -------------------- Query Status: [nQSError: 16002] Cannot obtain number of columns for the query result. [[
    [nQSError: 16001] ODBC error state: 60 code: 102 message: [DataDirect][ODBC 20101 driver][Microsoft SQL Server]Incorrect syntax near 'UserName'..
    [nQSError: 16001] ODBC error state: 60 code: 8180 message: [DataDirect][ODBC 20101 driver][Microsoft SQL Server]Statement(s) could not be prepared..
    [nQSError: 43119] Query Failed:
    I was wondering if anyone could shed any light on what could possibly be causing the [DataDirect][ODBC 20101 driver][Microsoft SQL Server]Incorrect syntax near 'UserName'.. error ? And also provide any suggestions on how I can troubleshoot this issue further as I am now completely out of ideas of what to do next having tried numerous things i.e. setting  IDENTIFIER_QUOTE_CHAR = '' in DBFeatures.INI which I found in similar posts on the subject all to no avail
    Regards,
    Tom Rowe

    Hi Rajagopal,
    Thanks for your reply after doing some further investigations this morning I found and corrected the problem...
    The DataDirect Driver does not like double quotes in the query for some reason, testing  using the BI Answers generated SQL with the nqcmd tool below...
    With double quotes “” it fails immediately
    Give SQL Statement: select T18706."Id" as c1, T18706."UserName" as c2 from "ETMS_Users" T18706 where ( T18706."UserName" = 'trowe' )
    select T18706."Id" as c1, T18706."UserName" as c2 from "ETMS_Users" T18706 where ( T18706."UserName" = 'trowe' )
    [102][State: S1000] [DataDirect][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Incorrect syntax near 'Id'.
    Statement execute failed
    With double quotes removed for just the columns I now get the Error near ‘ETMS_Users’ which still had the double quotes
    Give SQL Statement: select T18706.Id as c1, T18706.UserName as c2 from "ETMS_Users" T18706 where ( T18706.UserName = 'trowe' )
    select T18706.Id as c1, T18706.UserName as c2 from "ETMS_Users" T18706 where ( T18706.UserName = 'trowe' )
    [102][State: S1000] [DataDirect][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Incorrect syntax near 'ETMS_Users'.
    Statement execute failed
    With all double quotes removed it works !
    Give SQL Statement: select T18706.Id as c1, T18706.UserName as c2 from ETMS_Users T18706 where ( T18706.UserName = 'trowe' )
    select T18706.Id as c1, T18706.UserName as c2 from ETMS_Users T18706 where ( T18706.UserName = 'trowe' )
    c1           c2
    42499        trowe
    Row count: 1
    Give SQL Statement:
    The solution to fix the problem is...
    In the BI Admin Tool Physical Layer Database, Properties Features tab is to delete the double quote in the Value column for IDENTIFIER_QUOTE_CHAR, setting this in the DBFeatures.INI file does not resolve the problem possibly it did in earlier versions of the product.
    Regards,
    Tom Rowe

  • 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/>

  • ODBC errors for Oracle Migration Workbench and SQL Server 2000 on Windows

    Hi all-
    I setup a new ODBC connection for the Oracle 10g Migration Workbench to MS SQL Server 2000 on Windows XP and keep getting the following errors when I try to
    either test the new ODBC connection to MS SQL Server 2000 for use with the Oracle Migration Workbench tool. Goal is to fix these errors so that I can migrate our test SQL Server 2000 databases to Oracle 10g.
    Current configuration
    - Oracle 10.1 Migration Workbench
    - Oracle 10g Database (target)
    - MS SQL Server 2000 (source database)
    -Windows XP
    -ODBC 3.85.1117 driver for Windows XP with SQL Server and Oracle
    Errors:
    I. When I test the ODBC connection:
    Microsoft SQL Server ODBC Driver Version 03.85.1117
    Running connectivity tests...
    Attempting connection
    [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL server not found.
    TESTS FAILED!
    Now here is what has me totally confused:
    I can use the command line ISQL to access the database on the server and IP is all correct and port is available. So I can access the SQL Server database fine it is when I try to setup ODBC that it gives me problems.
    Any tips how to get this ODBC working?
    Thanks
    Ben Prusinski

    1. Jing Jin. If you had READ the post you would have seen that installing later versions is NOT an option.
    2. Not supported does NOT mean does NOT work, as Balmukund pointed out in the referenced thread.  The site that this databases supports is using ASP which is also NOT supported by Microsoft.  As it turns out Balmukund's solution actually turns
    out to be the correct solution.  I installed SS2K and its Service pack 4 on the machine last night.  Good answer Balmukund. as we say in the Navy, "BRAVO ZULU!!"  which means "WELL DONE!!
    3. Tom Li I just posted the question less than 48 hours ago.  My last post was less than 24 hours ago.  I think I have the right to be given the opportunity to determine whether a reply is the answer or not. I understand you don't like unanswered
    posts sitting around for weeks, months or years. (I don't like it either as I have a few that are still unanswered after several years.)  But you should not be showing replies as answers before I even get a chance to see them, much less try them out. 
    You should also not be showing replies as answers which don't address the criteria of the question.  I specifically stated that I had to install SS2K.  I went on to state, "And before anyone asks I need to install this version because that is what
    the customer is using and I need to duplicate their databases."  So the correct answer, if in fact SS2K did not work on Windows 7, would have been a virtual machine answer, as suggested on the thread Balmukund referenced.  So before you mark a reply
    as an answer read the question.
    Edward R. Joell MCSD MCDBA

  • Oracle 10g Client ODBC Error

    Dear all,
    My DB is Oracle 10g (10.2.0.4) on Windows 2003 64 Bit and Our Clients are Oracle 10g (10.2.0.4) on Windows XP 32.
    I created net8 connection ‘PROD’ and sqlplus is connecting with the user/password@PROD
    When I create an ODBC named PROD32 using the TNS Name PROD and I tested the connection with the same username and password which I used in SQLPLUS it is not conning and giving the error message.
    Unable to Connect
    SQLState=28000
    [ORACLE][ODBC][ORA]ORA-01017: Invalid username/password; logon denied
    Can anyone give solution for this issue
    Regards
    Blessan

    Hello,
    are you trying to install the client by some other user which is not owner of oracle:dba group?
    this will genrally happen when you have different owner or manually changed the permissions.
    Please check your /tmp directory for any files releated to ora:DBA may have a soft link check permissions thier.
    Regards,
    Ajay

  • ODBC error "SQLAllocStmt failed."

    Hi,
    I have a simple program with three partitions: DBSO, SO and GUI,
    querying a master/detail pair of tables in a database. Until
    recently this worked fine on my (client) machine, but I couldn't get
    it working when I put the SO's on the server. Specifically, it
    would return zero rows no matter what it should have got.
    We're using MS-SQL Server 6.5 on NT4sp4/i386 with an NT client. The
    ODBC versions are: SQL Server driver 3.60.0319, DB library 6.50.252
    and net library 6.5.0.0. These are the same on both client and server.
    The SQl-Server side is ok, the PowerBuilder app that uses it natively
    still works.
    My SO throws this exception when run on the server:
    USER ERROR: Prepare failed for dynamic SQL statement 3, error from database
    is:
    ODBC SQLAllocStmt failed.
    [Microsoft][ODBC Driver Manager] Driver does not support this function
    Class: qqdb_UsageException
    Detected at: qqdb_OdbcVendorInfo::DoSQLAllocStmt at 10
    Last TOOL statement: method ContactManager.FindContactsDynamic
    Error Time: Tue Jul 13 11:04:18
    Distributed method called: qqdb_SessionProxy.Prepare!82 (object name
    site/contactservices_cl0/contactwindows_cl0-contactdbso0x1d8:0x2) from
    partition "ContactWindows_cl0_Part2", (partitionId =
    2AE77400-1A1B-11D3-9D87-DC8E0ECEAA77:0x1d9:0x1, taskId =
    [2AE77400-1A1B-11D3-9D87-DC8E0ECEAA77:0x1d9.3]) in application "Forte
    Runtime", pid 205 on node ERMINTRUDE in environment centrale
    ODBC SQLSTATE: IM001, Server: GodzillaDatabase, UserName: sa
    Database Statement: select contact_number
    "ContactNumber", name "ContactName", street_line1
    "StreetLine1", street_line2 "StreetLine2", street_line3
    "StreetLine3", suburb "Suburb", state
    "State", postcode "PostCode", country
    "Country", area_code "AreaCode", industry
    "Industry", stage "Stage", comments
    "Comments", postal_line1 "PostalLine1", postal_line2
    "PostalLine2", postal_line3 "PostalLine3", postal_line4
    "PostalLine4", postal_line5 "PostalLine5", invoice_person
    "InvoicePerson", pay_nett "PayNett" from contact
    where Contact_Number = 5
    Exception occurred (remotely) on partition "ContactWindows_cl0_Part1",
    (partitionId = 2AE77400-1A1B-11D3-9D87-DC8E0ECEAA77:0x1d2:0x9, taskId
    =
    [2AE77400-1A1B-11D3-9D87-DC8E0ECEAA77:0x1d8:0x3.26]) in application
    "Forte
    Runtime", pid 342 on node GODZILLA in environment centrale.
    Turning on ODBC tracing shows this is the originating error:
    ftexec 156:16b EXIT SQLAllocStmt with return code -1 (SQL_ERROR)
    HDBC 0x00938360
    HSTMT * 0x00d8e2e4
    DIAG [IM001] [Microsoft][ODBC Driver Manager] Driver does
    not support this function (0)
    During the connect sequence we also get this error:
    ftexec 156:16b ENTER SQLSetConnectOption
    HDBC 0x00938360
    UWORD 112 <SQL_PACKET_SIZE>
    UDWORD 8192
    ftexec 156:16b EXIT SQLSetConnectOption with return code -1
    (SQL_ERROR)
    HDBC 0x00938360
    UWORD 112 <SQL_PACKET_SIZE>
    UDWORD 8192
    oft][ODBC SQL Server Driver][SQL Server]The ODBC catalog stored procedures
    installed on server godzilla are version 6.50.193; version 07.00.0324 or
    later is required to ensure proper operation. Please contact your system
    administrator. (0)
    Now, until recently the program worked fine when run locally. Unfortunately
    while
    trying to work out what the problems are we've managed to produce the same
    error
    on the client, with no idea how exactly we did it. As of now I can't locate
    the
    SO's back on the client because Forte thinks ODBC is not set up.
    USER ERROR: The node ERMINTRUDE is unable to support this partition
    (ContactWindows_cl0_Part1). This is because either all of the restricted
    projects required by the partition have not been installed on the node or
    the
    node does not have the external resource or thread package that the
    partition
    uses. This partition requires the restricted project(s) ODBC and the
    external
    resource GodzillaDatabase.
    In my ODBC configuration I have GodzillaDatabase set as a System DSN, having
    just moved it from being a User DSN. Neither fixes that problem.
    Does anyone have any ideas on this, or solutions to it?
    Thanks
    Chris
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/forte>

    Hi Steve,
    If you open the Report and then click on DataBase, Log on and connect first. Then open your report, then Database, Set Location and once it's done then Verify the Database. Fix any errors or warnings that may pop up.
    Lots of changes between 8.5 and 2008. CR detects that the report is the old format and it then goes through an series of internal report upgrade routines to convert all functions to the current format.
    Also, all of the database drivers were re-written to take advantage of the updated functionality and Client enhancements. As well as we removed any "custom hacks" that we did back then to fix "issues" int he DB client drivers at the time. All of those "fixes" were removed, to much work to maintain them all, now if there are issues it's usually due to the DB Client not following ANSII 92 Standards.
    One issue that does show up from time to time is that the order you inserted the tables can have an affect on how CR generates the SQL, may not be the case for your issue though, just something to watch for.
    What happens if you create a new report and use that same SQL, save it, close all, re-open the report and run it. Do you get the same errors?
    Also note: you did not say if you also updated the ODBC driver? As of CR 9 we are UNICODE compliant, may be your client needs to be updated also. Also verify it's using ODBC 3 and not ODBC 2 standards.
    Thank you
    Don
    Edited by: Don Williams on May 6, 2010 7:21 AM

  • Powerpivot Report 2010 - OLE DB or ODBC error: Query timeout expired; HYT00

    0
    I have report already developed by someone in powerpivot 2010 and deployed to sharepoint in powerpivot gallery library. The data source for this report is SQL Server 2008 r2. I have set the refresh options in sharepoint to run after business hours during
    week end. When I check the refresh history it shows this error message "OLE DB or ODBC error: Query timeout expired; HYT00. An error occurred while processing the 'xxx' table. The current operation was cancelled because another operation in the
    transaction failed..
    I have tried to run the "Also refresh as soon as possible " just to check but same error message is shown.
    This is the detailed error message details:
    03/02/2014 21:06:55 03/02/2014 22:08:15 01:01:20 Failed
    OLE DB or ODBC error: Query timeout expired; HYT00. An error occurred while processing the 'xxx' table. The current operation was cancelled because another operation in the transaction failed
    Could anyone guide me on this issue? Truly appreciate your help in advance.

    Hi asritha,
    I would suggest you take a look at the following articles regarding how to configure PowerPivot data refresh in SharePoint Server:
    Configure and Use Stored Credentials for PowerPivot Data Refresh:
    http://technet.microsoft.com/en-us/library/ee210671(v=sql.105).aspx
    Configure and Use the PowerPivot Unattended Data Refresh Account:
    http://technet.microsoft.com/en-us/library/ff773327(v=sql.105).aspx
    Note: Please ensure that the account have sufficient permission access to your data source.
    In addition, please elaborate your PowerPivot data soure with more detail. If you are using SSAS cube, please try to increase "ExternalConnectionTimeout" property default value to see if this helps. Here is the similar thread for your reference,
    please see:
    http://social.technet.microsoft.com/Forums/en-US/35b26c06-9e6d-41e5-ae44-bfb1233510ac/ssas2008-ole-db-error-ole-db-or-odbc-error-query-timeout-expired-hyt00?forum=sqldatamining
    Regards,
    Elvis Long
    TechNet Community Support

  • Customizing ODBC errors in OBIEE 11g

    Hi,
    I have a requirement where the user is expecting to see some Custom error messages instead of the Default ODBC errors OBIEE throws. Like the one below.
    Error generating view. Error getting cursor in GenerateHead
      Error Details
    Error Codes: OAMP2OPY:OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P 
    Odbc driver returned an error (SQLExecDirectW). 
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22055] First argument of Parent function must be a hierarchy in a Parent-Child dimension with a single column Member Key. (HY000) 
    Where i can find the files which has these messages.They should be on some .xml or Java file on the server. If i know that location, i can change the error into Custom error messages.
    Any help would be really appreciated.
    Thanks
    Swami

    Swami,
    These kind of custom error messages,You need to do it manually for each report
    Edit Analysis Properties ---- Results Display ----- Display Custom Message
    Mark if you helps,
    Thanks,

Maybe you are looking for