Query regarding connecting dashboards with SQL DATABASE using WSDT

Hello Sir,
I am trying to connect dashboards with Sql database via WSDT, but i have encountered the same problem as described in your SAP community blog (SAP Web Service Design Tool: From web service creation to Xcelsius consumption).
when i tried connecting CR server with WSDT ,it still shows that total number of available licenses is 0.
What can be done to solve this issue.
for your detail reference, we are using CRS NUL version's 60 days Evaluation keys and same with Xcelsius Departmental edition.
I would really appreciate, if you revert back to my mail as soon as possible

Which version of Crystal Reports are you using? The regular ReportDocument SDK probably isn't robust enough to handle this, unless you create a connection using that connection string at design-time which you don't change at runtime. You might be able to add those properties using the in-proc RAS SDK, though. This is available with CRXI R2 as of SP2, and CR2008.

Similar Messages

  • Can't connect to SQL Database using new login

    I can connect to Azure SQL Database using the admin ID created when I set up the Azure account.  Now I want to set up a different login that has only regular read/write privileges.  I have followed the instructions on several web posts, to create
    a login at the server level, then create a user at the database level from the login.  When I try to connect, though, the connection fails.  I get an error message, and a GUID that I am supposed to supply to MS tech support, except that all I have
    is a standard Azure subscription, which does not include tech support.
    Here is what I have done so far:
    Logging in to the server with the admin account with SQL Mgmt Studio, I go to the master database on my Azure server, and create the login:
    CREATE LOGIN clouduser@gxw8x04nlb with PASSWORD = 'xoxoxoxo';
    This appears to work (password supplied is a "strong" password), or at least it doesn't show any error response.
    Then, connecting to the production database in Azure, I set up a user and set permissions as follow:
    CREATE USER clouduser1 FROM LOGIN clouduser@gxw8x04nlb;
    EXEC sp_addrolemember 'db_datareader', 'clouduser1'
    EXEC sp_addrolemember 'db_datawriter', 'clouduser1'
    When I attempt to connect to Azure using the new login, however, I get an error message (from SQL Mgmt Studio as well as from MS Access).  I am using the SQL Server Native Client 10.0.
    The message is:
    Connection failed:
    SQLState '28000'
    SQL Server Error 18456
    [Microsoft][SQL Server Native Client 10.0][SQL Server]Login failed for user 'clouduser'.
    Connection failed:
    SQLState: '01000'
    SQL Server Error: 40608
    [Microsoft][SQL Server Native Client 10.0][SQL Server]This session has been assigned a tracing ID of
    '271851d5-8e94-497c-a332-d9d40682bb7a'.  Provide this tracing ID to customer support when you need assistance.
    Is there some missing step I need to do, to permit the login to see the database?  I have looked for such in the various discussions about connection problems, but have not been able to find such a thing.   Or extend more permissions to the new
    user? Or specify a default user ID for a given login ?  (as they do not have the same names, in the examples I have seen).  I tried making the user ID the same as the login (w/o the server name), but that didn't seem to help, either.
    I have done numerous web searches, and tried about every variation of login or user ID, password, etc. that I can think of, and all of them encounter the same error.  It's got to be something very simple - clearly Azure supports more than one login
    per database.  But's that's all I have at the moment.  That login connects just fine, but others won't, using the same PC, middleware, IP address, etc.
    Any help would be much appreciated -
    Thanks,
         Doug

    Olaf -
    I noticed that, but all of the examples I have seen have Users named slightly differently from the Logins.  I did try logging in with the Login name instead.  No good.  I tried making the Login and the User name the same (clouduser).  Also
    no good - same symptoms.
    I think the problem is that the initial creation of the Login needs to be done WITHOUT the server name on the end.  
    Logged in to the master DB, I tried:  Create LOGIN clouduser@gxw8x04nlb with PASSWORD = 'xoxoxoxo';
    That didn't give me an error message, but I think it created a LOGIN of 'clouduser@gxw8x04nlb'.  When
    referenced from the outside world, I would need to specify 'clouduser@gxw8x04nlb@gxw8x04nlb'.
    I tried deleting the logins, and then creating the login 'clouduser' in the Master DB.  Then in
    the application DB, I created User clouduser from LOGIN clouduser, and then assigned a role.  That seems to work!
    In my connection string, File DSN, etc. I still need to supply the login as 'clouduser@gxw8x04nlb'.
     But when I am logged in to the server, and working in the Master DB or the application DB, I just refer to the Login as 'clouduser'.  
    Seems a little more complicated than it really should be, but at least I now have something that works.
    Doug
    Doug Hudson

  • Essbase Error(1021001) Failed to Establish Connection With SQL Database...?

    Hi there!
    I am very new in Essbase and I am receiving the error message quoted below while trying to load data in a Cube. Weird thing is that we have checked all connections already and they are working correctly, however this process is still failing.
    If someone can give us an idea to troubleshoot it, that would be really appreciated.
    Thanks very much in advance for any help and regards!
    MAXL> deploy data from model 'Production_GL_Cube_SchemaModel' in cube schema '\Production_GL\Cube_Schemas\Production_GL_Cube_Schema' login AdminUserAccount identified by MyPassword on host 'ServerName.MyCompany.com' to application 'ORA_HFM' database 'GL' overwrite values using connection 'ServerName' keep all errors on error ignore dataload write 'E:\Logs\DataLoad_Error_2013.04.19.16.23.00.txt';
    BPM Connect Status: Success
    Failed to deploy Essbase cube. Caused by: Failed to load data into database: GL. Caused by: Cannot get async process
    state. Essbase Error(1021001): Failed to Establish Connection With SQL Database Server. See log for more information
    BPM maxl deployment ...failure.

    Hi Celvin,
    Thanks for your reply and my apologies for not coming back before on this issue.
    For the benefit of other readers, after hours struggling with the issue, we focused our attention in the following portion of the ORA_HFM.log file:
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/54996/Info(1013157)
    Received Command [Import] from user [Service_Acct@Native Directory] using [GL.rul] with data file [SQL]
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021041)
    Connection String is [DRIVER={DataDirect 6.1 Oracle Wire Protocol};Host=MyEssbaseServer01.MyCompany.com;Port=1521;SID=PRODUCTION;UID=...;PWD=...;ArraySize=1000000;]
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021006)
    SELECT Statement [SELECT cp_127."ACCT" AS "Accounts_CHILD",
             cp_127."PERIOD_MEMBER" AS "Period_CHILD",
             cp_127."PERIOD_YEAR" AS "Years_CHILD",
             'INPUT'  AS "View_CHILD",
             cp_127."ENTITY"  AS "Entity_CHILD",
             cp_127."PRODUCT_LINE" AS "Custom1_Product_CHILD",
             cp_127."Function" AS "Custom4_Function_CHILD",
             cp_127."B_U" AS "Business_Unit_ORACLEBUSINESS",
             cp_127."ORACLEFUNCTION" AS "Oracle_Function_CHILD",
             cp_127."LEGALENTITY" AS "Oracle_Entity_CHILD",
             'P' || cp_127."PRODUCTLINE" AS "Oracle_Product_CHILD",
             'A'[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021043)
    Connection has been established
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021044)
    Starting to execute query
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021013)
    ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-04063: view "REP_ESSBASE.VW_GL_BALANCES" has errors]
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021014)
    ODBC Layer Error: Native Error code [4063]
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Error(1021001)
    Failed to Establish Connection With SQL Database Server. See log for more information
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Error(1003050)
    Data Load Transaction Aborted With Error [1021001]
    Then we concentrated in the following error message: *ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-04063: view "REP_ESSBASE.VW_GL_BALANCES" has errors]*
    So, we checked the database and noticed the schema and their views were damaged and -due to this- they lost all their properties (like data types, for example). So, we had to recompile all of them in order to avoid any loss of data. This was done in TOAD, as per the following info: https://support.quest.com/SolutionDetail.aspx?id=SOL66821
    Finally, once all the views on this schema were rebuilt and fixed, we were able to deploy the Cube again.
    Hope this help in the future. Cheers!!

  • Failed to Establish Connection with SQL Database Server (EAS)

    Hi,
    We have recently installed version 11.1.2.1 of essbase. Everything is working just peachy. One of my users tried to build a load rule using an Oracle ODBC data connection and gets the error:
    Failed to Establish Connection with SQL Database Server.  See log for more information.
    When I look in the log I see this:
    [Tue Feb 28 09:14:43 2012]Local/Sample/Basic/mressler@EnCanaAD/4240/Info(1013091)
    Received Command [SQLListDsn] from user [mressler@EnCanaAD]
    [Tue Feb 28 09:14:43 2012]Local/Sample/Basic/mressler@EnCanaAD/4240/Info(1021020)
    Cannot read SQL driver name for [Backup Exec Catalogs] from [ODBC.INI]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1013091)
    Received Command [SQLRetrieve] from user [mressler@EnCanaAD]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021020)
    Cannot read SQL driver name for [Backup Exec Catalogs] from [ODBC.INI]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021004)
    Connection String is generated
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021041)
    Connection String is [DSN=Test;UID=...;PWD=...;]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021006)
    SELECT Statement [SELECT '1' from dual] is generated
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021013)
    ODBC Layer Error: [IM004] ==> [[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021014)
    ODBC Layer Error: Native Error code [0]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Error(1021001)
    Failed to Establish Connection With SQL Database Server. See log for more information
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Warning(1080014)
    Transaction [ 0x140002( 0x4f4cfd87.0x7b890 ) ] aborted due to status [1021001].
    I have tested that the ODBC connection can connect to the database. The sql query has been dumbed down to select '1' from dual. I have not included the word "select" in the query.
    Anyone seen this before? We are in the process of uninstalling the Oracle client completely and re-installing it to see if this solves the issue. We only installed the 64 bit version of the Oracle client. I am running on Windows Enterprise 2008 R2 - 64 bit. EAS, Essbase, EIS are all 64 bit installs. I believe Studio is the only one that is 32bit. However we are not currently using this product.
    Thanks,
    Mike

    Hi Mike,
    With Oracle Support's help, we got 3 of the 5 servers working now. We were using the Datadirect drivers but were configuring them wrong! You have to use the Standard Connection portion in the setup, specifying the Host, Port Number (1521) and the SID. We were using the TNSNames Connection which worked in the past, but apparently does not now.
    So I am down to 2 servers not working. They are both Windows 2008 R2 Enterprise 64 bit, running Oracle EPM Essbase 11.1.2.1. When I Open SQL in EAS it prompts for database (Essbase Server, App, DB) and when I hit ok it pops up with "Network error: Cannot Locate Connect Information For []". We did not do any of the suggestions in the document you linked to get the other 3 servers working. When you hit ok on that error, you then get another error stating, "There are no Data Sources defined. 'SQL data sources' option will be disabled". We do have datasources defined on the server.
    Any ideas?
    Thanks,
    Mike
    Edited by: Mike on Mar 1, 2012 8:38 AM

  • Essbase Studio - Failed to Establish Connection With SQL Database Server

    Hi all,
    I am new to Hyperion and am having trouble deploying what seems a simple cube in Essbase Studio.
    My environment is Windows 2003, EPM 11.1.1.2, SQL Server 2000.
    I have the following two issues which may be related.
    1. The EPM System Diagnostic tool says that Hyperion Foundation cannot connect to the SQL database.
    Error:
    Failed: Connection to database
    Error: java.net.UnknownHostException: <server name: <server name>
    Recommended Action:
    Every other EPM application is able to connect to the database. I have tried re-configuring Foundation Services and checking the config files and nothing looks wrong. I would appreciate advice on how to fix this.
    2 In Essbase Studio, I was able to connect to the database where the source data is, build the minischema and create dimensions and measures. But when I run the cube deployment wizard I get the error:
    Message: Failed to deploy Essbase cube
    Caused By: Failed to build Essbase cube dimension: (Time)
    Caused By: Cannot incremental build. Essbase Error(1021001): Failed to Establish Connection With SQL Database Server. See log for more information
    …ODBC Layer Error: [08001] ==> [[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied.]
    I have checked the DSN as well as the connections set up within Studio, and they are all able to connect to the database. I am using the admin user for the Essbase server and have created a different user for the databases where the data resides and the shared services database. I tried using the same user all the way through and this didn’t help.
    Can you please advise what else I can check or change to resolve this issue.
    Also, can you work in EAS with cubes that are created in Studio? I tried looking at it and I got an error that the rule file couldn’t be accessed because it was created in Studio.
    After the above failures, I tried creating a cube in EIS, with mixed success. I have been able to load the members and data without errors. But when I try to view the data in the cube, I am seeing field names for the measures instead of the data itself.
    ...Definitely more questions than answers at this stage of my learning.
    Regards
    Michelle

    Michelle,
    I don't know if you found an answer to you question after so many months but I was hoping I could be helpful.
    The issue you are experience happens often when the dimension that you are getting an error on, in this case TIME, is built from a snowflake lineage and there is a bad foreign key reference. This dimension is most like high-up in your outline build process for Essbase Studio and this prevents the build from happening usually early on.
    Check your logs also. They are in Hyperion > Products > logs > essbase > essbasestudio.
    You can also make your logs more verbose by setting a configuration variable in the essbase studio server.properties file but that should only be used for debugging as it really saps performance.
    And, yes, you can of course edit an Essbase Studio deployed cube in EAS. However, any changes you make to the cube in EAS are subject to being wiped-out upon the next Essbase Studio deployment of that Applicaion/Database combo.
    If you want to provide more detail, screenshots, etc. I would be glad to help where I can.
    Cheers,
    Christian
    http://www.artofbi.com

  • Connection with SQL Server using DBCO

    Hi,
    I want to connect to Misrosoft SQL Server using DBCO transaction. I have given the following fields.
    DB Connection = test
    DBMS = MSS
    User Name = user02
    password = test
    Conn. info = MSSQL_SERVER=tcp:10.100.50.36 MSSQL_DBNAME=New_Wisdom
    permanent selected
    Connection Limit = 5
    Optimum Conns = 2
    while executing through the statement as follows,
    EXEC SQL.
    CONNECT :'TEST'
    ENDEXEC.
    I am getting the dump ' An SQL error occurred when executing Native SQL.
    The error 900 occurred in the current database connection "DEFAULT".' Please suggest me what needs to be added or corrected.

    Hi Benito.
    I'm not very familiar with MSS but maybe the following will help a little bit.
    Depending on the version of your SAP system you can use the transaction DBACOCKPIT to add connections to non-SAP databases. There is an test connection button in that transaction, too. You will find some information about that transaction in some whitepapers here in the SDN. For example have a look at this one: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1062428c-f1df-2910-b08f-c322feddcd10
    ADBC error 16 is just "something went wrong". Is your SAP system using MSS, too? If not you will need the matching DBSL for it on your SAP system.
    If you have set up an connection you can use program ADBC_TEST_CONNECTION to check if everything is ok. If I remember it correctly in case of errors it allows you to jump into the trace file. There you should find some usefull information.
    Perhaps asking in the Database&OS forum area (there is a MSS forum) might help, too.
    Best regards,
    Jan

  • Failed to Establish Connection With SQL Database Server in Essbase studio

    I am using Essbase Studio Release 11.1.2.1.00 for developing XOLAP cubes and deploying them on to Essbase server .
    I am getting the below Error while deploying the cube onto Essbase server.
    error : Failed to deploy Essbase cube.
    Caused by: Failed to build Essbase cube dimension: (TimeHierarchy) .
    Caused by: Cannot get async process state. Essbase Error(1021001): Failed to Establish Connection With SQL Database Server.
    From Essbase Studio -> Datasources tab, I could able to connect to SQL Database server..Please let me know how to resolve this issue.
    Thanks,
    Swathi

    Thanks for the reply.
    There was a problem with my Essbase Server..so now i m pointing to other server.
    now I am getting the below Error:
    Failed to deploy Essbase cube.
    Caused by: Cannot end incremental build. Essbase Error(1025008): Join Specification near [[TIMEID]] is invalid. Please verify the Xolap Schema file.
    Please let me know how can I validate my cube and what changes might require in my Cube definitions?

  • Error: 1021001 Failed to Establish Connection With SQL Database Server

    Hello,
    Someone you already MEETS it the following error during an essbase retrieve DLR.
    My client oracle essbase on my server is 64bit, Essbase 11.1.2.2 x64
    I run the odbc located in% windir% \ system32 \ odbcad32.exe
    "Error: 1021001 Failed to ESTABLISH Connection With SQL Database Server. See log for more information"
    Here is the log:
    Received Command [SQLListDsn] from user [admin]
    [2:50:33 p.m. Fri 28 September 2012] Local / CAS_TEST / / / 8168/Info (1042059)
    Connected from [10.100.50.2]
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1013091)
    Received Command [SQLRetrieve] from user [admin]
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021004)
    Connection String is generated
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021041)
    Connection String is [DSN = TEST_ORACLE; UID = ...; PWD = ...]
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021006)
    SELECT Statement [SELECT from dual;] is generated
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021013)
    ODBC Layer Error: [IM004] ==> [[Microsoft] [ODBC Driver Manager] Driver's SQLAllocHandle we failed SQL_HANDLE_ENV]
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021014)
    ODBC Layer Error: Native Error code [0]
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Error (1021001)
    Failed to ESTABLISH Connection With SQL Database Server. See log for more information
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Warning (1080014)
    Transaction [0x780001 (0x50659d19.0xc9e78)] aborted due to status [1021001].
    When I try to go through OCI service name:
    dbServerName: port / service_name
    I have the following error message:
    Solutions2: List of members 1423.CAS_TEST.CAS_TEST September 28, 2012 2:50:15 PM CEST Succeeded
    Read SQL record September 28, 2012 2:50:35 PM CEST Failed
    thank you in advance
    Edited by: 851398 on 28 sept. 2012 06:31

    In essbase logs there is nothing special, same for windows log.
    Everything I like is log in log view eas
    [Fri Sep 28 17:52:11 2012]Local/CAS_TEST///4020/Info(1013205)
    Received Command [Get Database Info]
    [Fri Sep 28 17:52:11 2012]Local/CAS_TEST///4020/Info(1013205)
    Received Command [Get Database State]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7580/Info(1013210)
    User [admin] set active on database [CAS_TEST]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///6720/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/6720/Info(1013091)
    Received Command [GetAttributeNameSpecs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7304/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7304/Info(1013091)
    Received Command [GetOtlInfo] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7572/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7572/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///8116/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/8116/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7384/Info(1013210)
    User [admin] set active on database [CAS_TEST]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///6592/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/6592/Info(1013091)
    Received Command [GetAttributeNameSpecs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7972/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7972/Info(1013091)
    Received Command [GetOtlInfo] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///216/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/216/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///3104/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/3104/Info(1013091)
    Received Command [GetAttributeNameSpecs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///3472/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/3472/Info(1013091)
    Received Command [GetOtlInfo] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///8112/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/8112/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///4020/Info(1013205)
    Received Command [Get Database Info]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///3840/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/3840/Info(1013091)
    Received Command [GetAttributeNameSpecs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7760/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7760/Info(1013091)
    Received Command [GetOtlInfo] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7300/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7300/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7904/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7904/Info(1013091)
    Received Command [OtlQuerySmartLists] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///3612/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/3612/Info(1013091)
    Received Command [GetAttributeNameSpecs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///6732/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/6732/Info(1013091)
    Received Command [GetOtlInfo] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7576/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7576/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7268/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7268/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:27 2012]Local/CAS_TEST///7556/Info(1013210)
    User [admin] set active on database [CAS_TEST]
    [Fri Sep 28 17:52:29 2012]Local/CAS_TEST///8168/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:29 2012]Local/CAS_TEST/CAS_TEST/admin/8168/Info(1013091)
    Received Command [SQLListDsn] from user [admin]
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST///7564/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1013091)
    Received Command [SQLRetrieve] from user [admin]
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021004)
    Connection String is generated
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021041)
    Connection String is [DSN=TEST_ORACLE;UID=...;PWD=...;]
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021006)
    SELECT Statement [SELECT * from dual ] is generated
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021013)
    ODBC Layer Error: [IM004] ==> [[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed]
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021014)
    ODBC Layer Error: Native Error code [0]
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Error(1021001)
    Failed to Establish Connection With SQL Database Server. See log for more information
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Warning(1080014)
    Transaction [ 0xb50001( 0x5065c7d7.0x31ce0 ) ] aborted due to status [1021001].
    Have you an idea about the Merant driver to essbase?
    Thank

  • Oracle Discoverer 4i (portal db - oracle 8i) connectivity issue with 11g database

    Hi All
    We have oracle discoverer 4i with portal db (oracle 8i).
    We connect to the external databases using db links in the portal db and the reports will use the db link to retrieve the data from views in the external databases.
    External databases we were connecting is oracle 10g version and now we have upgraded these databases to 11g version.
    Now i have a created a new db link to this 11g database and i have created a new EUL in portal to connect to this 11g database.
    But when i try to create a report using the discoverer from this new EUL after login to the discoverer we get a "cannot connect to database" error.
    We have all the necesscary privilege to the user and the new database link works perfectly fine. (when we try to query directly using SQL plus from portal database using this db link the query works perfectly fine).
    Im not sure if this is a compatibility issue in connecting from oracle disc 4i to a 11g database.
    Can any one advise if this is the case and if there is any workaround for this?
    Regards,
    Raj

    Are you saying you are having issues with a database link between 8i and 11g (pl post exact versions to 4 digits) ? If so, it should be expected as database links between these two versions are not supported. Is there a reason you cannot upgrade the portal database to at least 10gR2 ?
    See MOS Doc 207303.1
    HTH
    Srini

  • Connection pooling with SQL Server 2008 and Tomcat 6.0

    Hello Everybody,
    I'm creating a web application using struts 2.0 , tomcat 6.0 and sql server 2008.
    Everything works fine but i'm unable to create connection pooling with sql server 2008.Please help me to solve this issue.
    Code for this is as foolows:
    in my META-INF/context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/spas" docBase="spas"
    debug="5" reloadable="true" crossContext="true">
    <Resource
    name="jdbc/spas_new"
    auth="Container"
    type="javax.sql.DataSource"
    maxActive="20"
    maxIdle="10"
    maxWait="-1"
    user="spas_user"
    password="spas123"
    driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
    url="jdbc:sqlserver://HGL-0053\dbo:1433;databaseName=spas_new;responseBuffering=adaptive;"/>
    </Context>
    in my web.xml
    <resource-ref>
    <description>SQL Server Datasource</description>
    <res-ref-name>jdbc/spas_new</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    and in my ConnectionThread.java file i've used:
    Context ctx = new InitialContext();
    if(ctx == null )
    throw new Exception("Sorry! No Context Exception");
    DataSource ds = (DataSource)ctx.lookup("java:/comp/env/jdbc/spas_new");
    System.out.println("ds:"+ds);
    conn=ds.getConnection();
    Following is the exception:
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user ''.)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
    at login.V_SPAS_ConnectionThread.getConnection(V_SPAS_ConnectionThread.java:87)
    at org.apache.jsp.login.v_005fspas_005flogin_005fpage_jsp._jspService(v_005fspas_005flogin_005fpage_jsp.java:95)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
    at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
    at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1023)
    at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:345)
    at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at login.V_SPAS_SecurityCheckFilter.doFilter(V_SPAS_SecurityCheckFilter.java:108)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user ''.

    Hi Karthikeyan,
    This is not the issue at all. I can open the management studio by the same login id and password and also i can make the database jdbc connection from plain java file.
    It does not give me any problem by them.
    I'm unable to find the actual problem. May be i'm missing something in connection pooling.
    Please help.
    Regards
    Mina

  • DbSl Trace: CONNECT failed with sql error '12154'

    Hi
    I am trying to install DB instance , platform -> IBM AIX 5.3 , Database - Oracle 9i, sap version -> 4.7. I am getting error at  Database load phase. The listener is started successfully, TNS ping is ok. Host file edited with proper ip address and the hostname, Still the error is same.
    DbSl Trace: CONNECT failed with sql error '12154'
    I am able to connect to oracle idle instance .
    Please help me in solving this issue
    Regards
    Prasanna.B.S

    Hi,
    Good evening and greetings,
    Please go through the following OSS Note
    Note 324714 - DB connect error in TMS after Oracle upgrade/change
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Connecting to a SQL database on my website.

    Hello,
    I'm trying to create a login form that connects to a SQL database that's placed on my website. My problem is that I don't know how to connect to the database. Let's take these for an example:
    Server the database is on: 10.246.16.159:3306
    Database name: rhythmcheaters_
    Database section: phpbb_users
    Database password : 1A2b3C4d

    Following Example will May  help You..
    Try to design userinterface as like this..
    Double on Login button a new method will be generated write the following code under that method..
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using System.Configuration;
    using System.Security.Cryptography;
    namespace windowsloginapp
        public partial class login : Form
            public string userName, Password;
            public int usercount;
            public login()
                InitializeComponent();
            private void button1_Click(object sender, EventArgs e)
                userName = textBox1.Text;
                Password = textBox2.Text;
                if (userName == "" && Password == "")
                    MessageBox.Show("Please Enter User Name and Password");
                else
                    string scn = ConfigurationManager.ConnectionStrings["Myconn"].ConnectionString.ToString();
                    SqlConnection cn = new SqlConnection(scn);
                     cn.Open();
                     SqlCommand cmd = new SqlCommand("SP_logapp", cn);
                        cmd.CommandType = CommandType.StoredProcedure;
                        cmd.Parameters.AddWithValue("@Username", userName);
                        cmd.Parameters.AddWithValue("@Password", Password);
                        int usercount =(Int32) cmd.ExecuteScalar();
                            if (usercount == 1)
                                this.Hide();
                                Welcome w1 = new Welcome(userName);
                                w1.Show();
                            else
                                //login lg = new login();
                                //lg.Show();
                                MessageBox.Show("Not a Valid UserName and Password");
                            cn.Close();
    APP.Config 
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <connectionStrings>
        <add name="Myconn" connectionString="Data Source=10.246.16.159:3306;Initial
    Catalog=rhythmcheaters_; user ID=phpbb_users;Password=1A2b3C4d;Integrated
    security=sspi" providerName="system.data.sqlclient" />
      </connectionStrings>
    </configuration>
    Create database with the same name of(rhythmcheaters_) and declare 2 variables as username and password....
    Insert some into that table...Do the same web application also..........It
    will work...
    Thanks & Regards RAJENDRAN M

  • What's a better connection to an SQL database? ODBC or OLE DB

    NEw user here, but what would be a preferred way of connecting to my SQL database?  So far I have option of using ODBC (RDO) connection or OLE DB(ADO) connection. I'm not sure what the differences or when to use one or the other.
    Thanks

    I like OLE DB for the simply because it's "portable". With OLE DB the connection info is stored in the report. With ODBC, the report is using a system dsn connection. It means that if you want to send it to another user / computer, you also have to make sure the other computer has the same ODBC connection.
    In terms of performance... I've used both and have never seen a difference.
    Jason

  • Phpmyadmin connection issue with mysql database on local computer

    Got mysql and phpmyadmin installed on my iMac. I open phpmyadmin site in safari and try to login to the database and I get the following error:
    "Safari can’t open the page “http://imac.local/phpMyAdmin/index.php?lang=en-utf-8&token=872752b265e4d375dddae b18d06bd85b” because the server unexpectedly dropped the connection, which sometimes occurs when the server is busy. You might be able to open the page later."
    I can connect to the sql database okay from the mysql manager gui just fine. Any suggestions?

    Hi David-
    Thank you for your QUICK and CORRECT reply!  Yes, creating the _mmServerScripts folder in my SSL folder on my remote server did the trick!!
    I did try to setup a testing server using one of your tutorials, but I received FTP errors.  Since I have a working website with remote and testing flagged on the same server and for my ease of understanding, I copied the setup as closely as I could (less the SSL add-on).  Mind you, I originally setup that website 3 years ago, so I'm a bit rusty.  I'm not a web developer and don't do this for a living, thus I get by with instructions from the books I own, web tutorials, Adobe forums, etc., but I have not taken any classes.  It's not my choice to work with PHP, but I have to in order to pull data from database tables into my web pages.  Since I don't do this for paying customers, I don't have to setup anything too fancy (thank goodness).  I would like to know how to debug and write java script code, but I lack the time and patience (mostly patience).
    Besides...Adobe does such a good job with their products, that I can get by pretty well without having to know everything.
    Again, THANK YOU!!!
    PS- Would you mind replacing my root site info above with the following:  www.sitename.com/ssl/

  • *** ERROR = CONNECT failed with SQL error '12154' after Oracle Upgrade

    Hello Experts,
    Recently I upgraded my oracle database from 11.2.0.3 to 11.2.0.4.The upgrade completed successfully but I am unable to start the instance.
    R3trans -d failing with the error--
    OCIServerAttach(OCI_DEFAULT) failed with -1=OCI_ERROR
    OCIServerAttach(OCI_DEFAULT) failed with SQL error 12154:    
    ORA-12154: TNS:could not resolve the connect identifier specified
    OCIServerAttach(con=0, svc=069C1630): Error 12154 attaching new srv=069C17D0
    OCIHandleFree(con=0): Server handle srv=069C17D0 freed.          
    server_detach(con=0, svc=069C1630; srv=NULL, stale=2)            
    OCIHandleFree(con=0): Service svc=069C1630 freed (i=1).          
    *** ERROR => CONNECT failed with SQL error '12154'              
    -->oci_get_errmsg (con=0, rc=12154)                              
      OCIErrorGet() -> SQL error code: 12154; buflen=66            
    OCIErrorGet(): error text ->                                    
    ORA-12154: TNS:could not resolve the connect identifier specified
    ocica() -> SQL error code 12154,12154                          
      DbSlConnect(con=0) -> orc=12154, rc=99=DBSL_ERR_DB            
    ***LOG BY2=>sql error 12154  performing CON                      
    ***LOG BY0=>ORA-12154: TNS:could not resolve the connect identifier specified
    I have checked listener is up and running properly.Entry is maintained in tnsnames.ora.
    Also kernel is upgraded with latest path.Curent kernel version--742
    Please suggest on the mentioned error.I am attaching the logs here.Thanks in advance.
    Best Regards,
    Debaditya

    Hi Debadiya
    Kindly check this SAP Notes
    1204916 - Error: "ORA-12154" when connecting to Oracle from a Windows 64-bit platform
    2153975 - Database connectivity fails with ORA-12154
    556232 - Environment settings for R/3/Oracle on Windows
    443867 - ORA-12154 Collective SAP note
    BR
    SS

Maybe you are looking for